Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Validate Feilds

Avatar

Not applicable

Hi

I have script validating blank fields (Which are mandatory)

I'm using this script

I've attached this to click action of validate button

if(ApplicantForm.ApplicantInfoForm.companyName.rawValue== null){
             ApplicantForm.ApplicantInfoForm.companyName.mandatory="error";
        }

This works fine if user doesn't fill and click on validate I can see the text field with red border.

if the user go back and fill this field, and validate doesn't remove the red border.

Can somebody help me

thanks

0 Replies