Home Forums Plugin Support WP User Frontend (Free Version) Populate hidden field from another input field.

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Tareq Hasan 5 years, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9789

    Kristopher
    Participant
    Post count: 5

    Oz friends,

    I have a question to ask. I have a input text field for price with the metatag _price. This works great. However, I would like to also put the same input for the price field(above) into the metatag _regular_price without having another input field.

    For example user puts the price of the product to 50 and this is populated in both the _price and _regualr_price metatags.

    What would I need to do to get this working.

    #9795

    Mahi
    Member
    Post count: 1555

    You have to use hidden field with same meta_key ๐Ÿ™‚

    #9797

    Kristopher
    Participant
    Post count: 5

    That does not make sense. I need it to store in two different metakeys.

    So what you recommend does not work.

    I want to capture price as one text field but store to two metakeys – _price and _regular_price

    #9799

    Kristopher
    Participant
    Post count: 5

    Ps thanks for the quick reply

    #9804

    Tareq Hasan
    Keymaster
    Post count: 2831

    Take a look at here, you'll have the solution for this.

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

The topic ‘Populate hidden field from another input field.’ is closed to new replies.