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
BedrockMission!

Learn More

View all

Sign in to view all badges

Clear Form Button - Only Non Pre-Populated Data

Avatar

Avatar
Validate 1
Level 1
lewiso69254278
Level 1

Likes

2 likes

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
lewiso69254278
Level 1

Likes

2 likes

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lewiso69254278
Level 1

29-03-2020

I require a method for clearing ONLY non pre-populated fields which are visible on the form through hide / show.

I have set the mandatory conditions for required fields only when the container [sub-form] is visible.

Therefore, the code would need to loop through the form, check whether visible, check whether mandatory is set to error, and, only clear those fields that meet the conditions whereby the initialize event is null for those not pre-populated.

 

Any help is appreciated, which goes without saying.

 

Thank you in advance for your comments.

Accepted Solutions (0)

Answers (0)