cancel
Showing results for 
Search instead for 
Did you mean: 

How to set default value to input field dynamically

former_member225041
Participant
0 Kudos

Hello Experts,

I am using adobe forms inside Webdynpro Java.

Adobe form is having few input fields where at run time i want to assign default value to those fields.

How can i do it ?

Thanks in advance,

Vinay

Edited by: VINAY on Feb 24, 2011 6:39 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vinay,

Are you talking about populating default values at form load? If so, bind the field to WebDynpro context attributes and pass value to this attribute in the wddoinit method.

Thanks & Regards,

Sanoosh

Former Member
0 Kudos

Hi Mate,

Just set the value to the webdynpro context fields on view init.

if its like that will override the values entered by use on the form.

just check if the default value is equall to the field value if yes leave it, if not dont touch that field.

does this make sense...?

Cheers,

Sai