I have an input section in my form, and once the input was done, I'd like it to dissapear.
However in the properties, I can only indicate a css class, not put in some formula that would hide it.
Would that have to be done in some onItemChange event ? And how ?
Chris, I believe you would like to hide the input field as soon as some value is entered into it.
You will have to use JS code something like below on the "onItemBlur" event of the field. Here "F_Test1" is the input field.
if(page.F_Test1.getValue!==""){
page.F_Test1.setVisible(false);
}
And further if you want to keep it hidden whenever any one opens the Form while field is non-empty then you would need to write same formula on the "onShow" event of the Form.
I hope this helps.