on 11-06-2007 8:39 AM
Hi ,
I wanted to make a subform visible or invisible on selecting a radiobutton.
I tried using
<subformname>.presence = "invisible";
in the click event of radiobutton , but its not working.
Please suggest a solution.
Points will be rewarded.
Thanks.
I tried using the above given solutions ..
even giving the entitre path to the field ...
but it didnt wrk ...
Finally i got all fields in a single subform ... and there it wrked perfectly ....
Can anyone plss help or tell me why this happenned
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
If subform and radio button are in a single form,then just by referrring single form.subform.presence = "INVISIBLE" in click event of the radio button it should work.
But if radio button and subform are in completely diffent form then you have add FORM name too i.e formname.subform.presence = "INVISIBLE"
Regards,
Prakash
Hi Thomas,
Use the following piece of code in the script (select language as FormCalc) Area for the particular field which has to be made visible or Invisible :-
<Top most Subform Name>.<Subform Name>.<field name>.presence = "hidden / visible / Invisible";
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Thomas,
You can use the following pattern of the Scripting to hide subforms.
<formName>.<Subform Name>.presence = "hidden";
few important points to remember :
1. use scripting language as 'Java Script'
2. write the script under 'initialize' mode and the Run at option should be set to 'client'.
Hope, this helps in resolving your issue.
Regards,
Debasish
Hi Thomas,
Use the following piece of code in the script (select language as FormCalc) Area for the particular field which has to be made visible or Invisible :-
<b><Value Node Name>.<Subform Name>.<field name>.presence = "hidden / visble / Invisible";</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I condition a new subform and text to print when no components found for a production order. My question is general as i want to know best practice.
I tried to use field HEADER-KTEXT that I filled with text when I read no valid components but it never printed the new value for KTEXT even though when in debug I saw the new text was there when the function gv_fm_name was called to pass data to form.
I would have preferred to condition text in form alone using formcalc but I got nowhere.
Sorry but I could not make sense of posting "Make visible an element of Interactive Form".
Hi Thomas,
In the click event of your radiobutton, you can use the following script:
<subform1>.presence = "invisible";
OR
<subform1>.presence = "hidden";
Make sure that you have given the correct subformname.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
Refer this http://www.adobe.com/devnet/livecycle/articles/AddingRemovingSubforms.pdf
Hope it helps.
Thanks and Regards,
Amit
You use the right event ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.