cancel
Showing results for 
Search instead for 
Did you mean: 

to change the value of textfield on click of button

Former Member
0 Kudos

Hi Experts,

I am working on a project where i need to chang the value of Textfield on click of a button from 'X' to 'Y'.

Also i need to know how to change the value of Textfield on click of an option in Radio Buttons.

Points would be awarded to helpful answers!!!

Regards,

Sanjyoti.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

for the text I recommend to use a plain text which refers to a data store. When your button is clicked an action is fired, which changes the value from 'X' to 'Y' a simple formula should do this in the transition.

For the radio buttons, you have to define a formula in the plain text refers to your radio buttons like if option1=true then 'X' else 'Y' endif.

An Alternative could be to use an rfc function module or a webservice, which returns you 'X' and 'Y', but this would be like breaking a butterfly on a wheel.

Best Regards,

Marcel

Former Member
0 Kudos

hi Marcel,

Thank you for your help.

Regards.

Sanjyoti

Answers (0)