Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

ANOTHER VALIDATION QUESTION

Avatar

Level 2

I have a form that has 12 fields, 2 radio buttons, and a field for bank routing numbers.  These need to be validated.  Here's the catch.  Can't use "Submit by email" button.  I was thinking of using a "Save" button that would validate those fields.  But, I don't know how to get there.  As for the fields, the only requirement is that if it's empty, it must be filled. 

The next part is that 2 of the 12 fields, their inputs must be verified to ensure they are the same.  For example, the SSN field requires you to input your SSN.  On the next adjacent field, it requires you to input your SSN again.  The inputs of those two fields must be validated to ensure they match. 

Any assistance would be greatly appreciated.  Please, keep this in mind: I only know enough JS to be dangerous:-)

1 Accepted Solution

Avatar

Correct answer by
Employee

Regarding all fields, set them as User entered - Required

Kosta_Prokopiu1_2-1621019971373.png

 

And the 2 SSN fields add a validate script which compares them

Kosta_Prokopiu1_1-1621019897887.png

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Regarding all fields, set them as User entered - Required

Kosta_Prokopiu1_2-1621019971373.png

 

And the 2 SSN fields add a validate script which compares them

Kosta_Prokopiu1_1-1621019897887.png