RegEX for Dropdown select, RegEx for Password simulation
I am currently working on a prototype that includes various input fields such as Password, select dropdown, and check box, among others.
I am encountering a couple of issues that I am hoping you can help me with:
- I am struggling to create an error state for the dropdown field in case it is left unselected. I have attempted to apply RegEx similar to selecting the RegEx(Field x, "") method, but it did not yield any results. Can you guide me on how to simulate an error for the dropdown?
- I am attempting to implement RegEx on the password field to meet the following criteria: The password must be at least 8 characters long and must contain at least one uppercase letter, one lowercase letter, one number or symbol. Although I have successfully implemented the "no fill error" expression to the field, I am having trouble applying the same to the remaining criteria. Can you assist me in this regard?
- Finally, I would like to ensure that the user selects the T&C checkbox before proceeding to the next task. How can I prevent them from moving forward without ticking the checkbox?
Thank you for your assistance.
Let me know if I'll have to attach the file for your reference for this.