How can i get value of input?

I am going to change the value of an input when i clicked a buttun. How can i do that?

Like 0

Like

3 comments

Hello,

 

Could you please elaborate on the task you want to achieve?

Which button are you referring to? 

 

Thank you,

Artem.

Artem,

Artem thanks for your reply.

 

I am going to change Inputs` value on ContactPageV2 page when I click costum button. Like I when I clicked button Age's value should change to 24.

Hello, 

 

You could use the next method:

Insert the code below into the click handler function of your button:

 

this.set("Age", 24);

 

Thank you,

Artem.

Show all comments