Home Forums Plugin Support WP User Frontend Pro Assign hidden input the mixed value of two text inputs

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sekander Badsha 4 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25376

    karlos
    Member
    Post count: 30

    Hello,

    I have 2 text inputs “A” & “B” and 1 hidden input “C”. I need to have the hidden input “C” to get the values from input “A” and input “B” and be sent when form is submitted. Something like:

    value=”valueFromA&valueFromB” <-- value of hidden input "C" How could I accomplish that? I don't want you to solve the problem but just guide me what files to modify or adding a hook? Thank you!

    #25591

    Sekander Badsha
    Member
    Post count: 2067

    Hi Karlos,
    You'll have to use action hook to achieve this.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Assign hidden input the mixed value of two text inputs’ is closed to new replies.