on 06-29-2012 9:32 AM
Hi all,
I have 2 pags in myh Adobe form.Based on a condition (FLAG input) i need to display the page.
If Flaginput = 1.
Display page 1.
else.
Display Page 2.
endif.
How to write a Java script code for this.
else.
Is there any other way to do this without java script code.
Hi Ramya,
Is your flag input a field on the form or a form variable?
If it's a field you will need the full path to the field, and use the .rawValue property.
If it's a form variable then you can refer to the variable directly and use the .value property.
On the initialize event of the two pages, add:
if ( flaginput.value == 1)
{
this.presence = "hidden"
}
else
{
this.presence = "visible"
}
If you are using FLM then you can control this in the 'Subform and Field Control' user-exit, and add the same logic in ABAP instead of JavaScript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.