cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts in InteractiveForm of Webdynpro doesnt work

Former Member
0 Kudos

Dear all,

I am using InteractiveFrom UI element in my Webdynpro Project.

I am able to give the inputs in Inputfields and call the button Actions etc.

But I have a scenario where there is a Drop down list and on select of a particular value in the dropdown list I need to make some fields visible or invisible.

I wrote Script for this but it doesnt work.

I heard from my colleague that the Adobe form should be having Dynamice property set but I have no clue how to set its property.

Could you please help me out in this.

the code I am using in the script is as below :

if ( LoanPurpose.rawValue == 'Auto' )

{

VehicleName.presence = "visible";

YearModel.presence = "visible";

}

else

{

VehicleName.presence = "invisible";

YearModel.presence = "invisible";

}

Where LoanPurpose is the dropdown and If its value is Auto I need to set some Input fields to Visible else invisible.

the same code works with a noram Adobe form but it doesnt work when i create a Interactive Form in Webdynpro Project.

So Can you please suggest any way how to proceed?

Thanks & Regards,

Sirisha.RS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

<b>Hi Sirisha

Check This URL

Adobe Forms

http://www.adobe.com/devnet/livecycle/designer_scripting_samples.html

Regards

Chandran</b>

Former Member
0 Kudos

Hi Chandran,

I have written the code for eventing (Scripts) and the scripts are working fine as i get alerts when i debug but depending on the value of the drop down selected i need to set some fields to Visible. This action is not being performed.

I feel that the form is acting as a Static form .

May be there is a way where i can set it to DynamicForm.

This has to be done in webdynpro Context i guess.

Anyways thanks for ur url.

Regards,

Sirisha.RS

Former Member
0 Kudos

Hi Sirisha,

U are using this code:

else

{

VehicleName.presence = "invisible";

YearModel.presence = "invisible";

}

instead of using "invisible" use "hidden"

e.g

VehicleName.presence = "hidden";

regards

Sumit

Message was edited by:

Sumit Malhotra