Skip to main content

I have hidden columns based on values in one column but the form is not being saved as it gives "cannot leave blank" error

I have a column which has 4 values in the drop-down list, based on each value I have hidden other columns.

Out of these hidden columns some columns are mandatory, and I am not able to save the form as it gives "Cannot leave blank" for those columns.

But since these are hidden ideally it should not pop up.

Can any one please help me out?