Hi Shobit,
I fount out a different method to view the confidential form in my mgmt report, and not in basic reports. And i am getting the desired result now, as this portion is not currently related to the process so currently i am not implementing the status part.
In future if there is any demand of implementing this part in the process then i will definitely implement the status part the way you have said.
currently as i told i am using a switch so i added a filter in my basic reports which is (this form is confidential != true) . As a result the forms which are confidential does not appear in basic reports.
Thanks for your help and suggestion.
Now i only require a little help from you, as i said i am using a switch for confidential i want this part to be mandatory when it appears in front of the user,
so i am using the following script
var r = "[[accident_incident_category]]";
var s = "[[accident_incident_type]]";
if (r=="health related" && s=="Occupational Health") {
id_this_form_is_confidential.setActive(true);
id_this_form_is_confidential.setVisible(true);
id_this_form_is_confidential.setRequired(true);
}
else {
id_this_form_is_confidential.setActive(false);
id_this_form_is_confidential.setVisible(false);
id_this_form_is_confidential.setRequired(false);
}
where listen to variables are accident_incident_category,accident_incident_type here everything is working fine but when i am trying for the required part for my switch at that time it is not coming. could you tell me what to do to make it required?????
Thanks and Regards
Somjit Banerjee