Hey Team,
I was also trying to hide some fields based on the user inputs from step one.
By using the below code, it was only hiding the field input box, and the label was visible.
$("#af_colk").hide();
So I used this code.
$("#af_colk").hide(); $("#af_colk_label").hide();
And it hides both label and the input box by leaving some blank spaces in the form.
I have a lot of cases to check and hide/show a lot of columns, so my code exceeds 15000 characters. And the custom JavaScript box only accepts till 10000 characters. To handle this situation, I am now trying to use CSS class.
So I created step Metadata record, and under control style -> CSS class, I added the class name.

JQuery I used:
$('#aircurtain').hide();
This code was not working for me.
Can you help me to figure out what I am doing wrong here?
@Fubar @Lgallair @Dhruvin