I have a business process flow that has 4 stages all from the same table. And i have 3 forms all showing the same BPF. I am using javascript to hide them when the form is on load. It works when the form is loaded and nothing is filled in yet. but when i fill in some of the fields in the form and hit save, if I refresh the form or if I go back into the record, the field is visible again. Here is the code :
if(formContext.getControl("header_process_da_vpstatus") != null)
{
formContext.getControl("header_process_da_vpstatus").setVisible(false);
}
I tried putting this on the form save event, but it still doesnt work.