on 06-03-2008 4:04 PM
Hi,
In my adobe form i have some static text and and two isr text display fields, in isr scenario totally we have four steps create, edit, approve and complete. I need java script for the follwoing condition.
IF FORM_SCENARIO_STAGE equals CREATE or if it equals EDIT
Based on the above condition i need to hide the static text and isr text display fields. If the above condition is not satisfied then the static text and isr text display fields should display.
Regards,
Venkat
Hi Venkat,
not sure if I fully understood your requirement, but if you only need javascript for the your requirement then you should be able to use the following:
if (FORM_SCENARIO_STAGE == 'CREATE' || FORM_SCENARIO_STAGE == 'EDIT')
{
Text1.presence = "invisible"
}
else
{
Text1.presence = "visible"
}
hope this helps...
regards,
harman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arafat
you have to insert your script in the following place:
1. Open your interactive form template (e.g by clicking on <Corresponding-Web-Dynpro-View>Right Click on layout element Interactive Form->"edit" )
2. Select the field in the "Data View" which should be "scripted"
3. Go to the Selector "Show: Events with Scripts" in the menu panel and select the event (e.g. initialize, exit, change, depending when the script should be executed)
4. Insert the script,
Hope it'll help
Kind regards
Bettina
Reward points if helpful
User | Count |
---|---|
85 | |
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.