Skip to Content
V B

How to set default value to input field dynamically

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 24, 2011 at 06:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2011 at 08:15 AM

    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

    Add comment
    10|10000 characters needed characters exceeded