on 07-13-2011 2:57 PM
Hi All,
I am using a subform as a table item in my adobe form.
I have two levels of item level data.
I want to hide the whole subform containing the second level of data based on the value of afield.
Scenario is for a particulare item level data i have some sub items.
The subitems is nothing but material details corresponding to a operation(a work order can have multiple operations,work order is header).
So I want to stop/hide the whole subform of material details if Material is initial.
To be more clear i want check the value of a particular field and if its intial i should not display the subform.
Please help me with what to write in the script editor of the adobe form.
Thank you very much in advance.
Regards,
Kishore.
[Change Events - Show/Hide Subforms|http://forums.adobe.com/thread/417811]
Regards,
Nikhil Bose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is an example checking a field named Textfield2 and a subform named subform2. The subform is inserted in row1 of table2.
if(TextField2.rawValue == null)
{
Table2.Row1.Subform2.presence = "hidden";
}
else
{
Table2.Row1.Subform2.presence = "visible";
}
Best regards, Aldo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for the help.
However this is not working,I think I have not explained you myproblem clearly.
I have 'Table Item' subform below this I have one more sub form 'Material' Subform.
Table Item Sub form displays the Operation Detaild of a Work Order,and Material subform displays the Components of a Operations.
So I want stop the presence of Material Subform when varaible Material is absent.
Please let me know if its still not clear.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.