Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Validate table fields

Avatar

Level 2

I have a form that has a table with multiple rows that very depending on a value selected in a dropdown.  I have each field in a row marked as a required field.  If all the columns of a row are left blank than I don't want any validation to happen.  I'm assuming I will have to do this in Javascript.  Anybody have any suggestions or an example of the code to do this?

1 Reply

Avatar

Level 2

If any body has some sample code to iterate through a table that would be useful.