0 votes

We're needing to add some input masking for values. One such value is a date that must be in the format "YYYY-MM-DD HH:MM:SS" and a phone number that must be "(000) 000-0000". I was really hoping there was a date picker option but didn't find one. Any ideas?

I appologize if this is already somewhere but I couldn't find it.

by (110 points)
0

I had a similar question. Thanks for sharing

1 Answer

0 votes
by (270k points)
selected by
Best answer

Hello Jordan,

Unfortunately, there is no possibility to specify a format constraint for date properties. The thing is that in Adaxes Administration console dates are displayed according to the local settings. For information on how dates are displayed in the Web interface, have a look at the following FAQ article: https://www.adaxes.com/questions/10438/how-are-web-interface-language-and-date-format-selected.

As for the phone number property, you can specify its format using a property pattern. For details, have a look at the following tutorial: https://www.adaxes.com/tutorials_SimplifyingDataEntry_MakePropertyRequiredAndSpecifyFormat.htm. In your case, the regular expression should be as follows:

^\([0-9]{3}\)[0-9]{3}\-[0-9]{4}$
0

Thanks for the quick response!

I'll apply that regex and see if I can work around the date formatting.

Related questions

0 votes
1 answer

This is what I need to accomplish. Day one, I perform an export of the following four attributes for all Users in AD - DN, employeeID, telephoneNumber, location. Day 2, ... in which one of them has changed. It possible to achieve this using a scheduled task?

asked Mar 23, 2015 by sbanks (270 points)
0 votes
1 answer

Hi: I am trying to create a business rule that will stop a value change based on the existing value. For example, if the telephonenumber is 1234 for a group and has to ... the value it uses is the incoming value of the change, not the existing value. Thanks!

asked Jun 3, 2022 by crobitaille (80 points)
0 votes
1 answer

Hi, I try to make a report for our SAM to show all users with a specific license. But I fail to even find anything. I tried, among many ... .DirectorySearcher.AppendFilter("(adm-O365AccountLicenses=POWER_BI_STANDARD)") But I get nothing. Please advice.

asked May 20, 2021 by KristofferJ (80 points)
0 votes
0 answers

How do I rename an AD Object? When I try Rename-ADObject or use the ADAxes equivilent I get the follow error. It then references the CSV Import line for some ... run the script outside ADAxes, it completes without error and makes the expected changes. Thanks

asked Aug 24, 2020 by Fixxer (40 points)
0 votes
1 answer

Is there a way to set this setting to show then end user multiple OUs?

asked May 4, 2023 by mightycabal (1.0k points)
3,326 questions
3,025 answers
7,724 comments
544,676 users