I'm creating a Request Offering, and one of the required fields is the user's Email Address.
Here at Cambridge, we have several aliases/domains in use. For example I am
I would like to restrict the Email Address field in the Request Offering, so that users can only enter their Cambridge email address - ie only addresses that end in cam.ac.uk
Is there a way to achieve this in a Request Offering?
I've contacted customer support who have said the following;
"There really isn't an easy way to do this. You may have to just resort to a dialog that advises the users the value entered is not correct.
You could also just tell the user to enter the first part and you can use expressions to build that into a valid email address.
You can use a function like isRegExMatch() to check values.
This works, as a note flashes up saying 'The email address must end in cam.ac.uk' but it is not enforced, as I can still change the address to something else like [email protected]
Does anyone have any advice on how I can enforce a field to contain cam.ac.uk and not permit me to move onto other field in the Request Offering until I have entered a valid address?
Many thanks for reading this.