Show and validate fields on checkbox selection
Posted: Mon Jan 03, 2022 4:55 pm
Hi,
I have a requirement for showing and hiding some text input objects depending on checkbox selection (checked or uncheck).
Once the user ticks a checkbox, these objects, initially hidden, are displayed and when the checkbox is unticked, they are set to hidden.
Also, when the form is saved, there should be a check if all those fields are filled in.
I guess I could use some nuShow(), nuHide() calls etc. but was wondering if there was a more elegant way?
I have a requirement for showing and hiding some text input objects depending on checkbox selection (checked or uncheck).
Once the user ticks a checkbox, these objects, initially hidden, are displayed and when the checkbox is unticked, they are set to hidden.
Also, when the form is saved, there should be a check if all those fields are filled in.
I guess I could use some nuShow(), nuHide() calls etc. but was wondering if there was a more elegant way?