Populate hidden field from another input field.

This topic contains 4 reply and 3 voices, and was last updated by Tareq Hasan 10 years, 5 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
November 6, 2013 at 2:45 am 9789
Tareq Hasan 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.
November 6, 2013 at 7:46 am 9795
Mahi Mahi

You have to use hidden field with same meta_key 🙂

November 6, 2013 at 9:22 am 9797
Kristopher Kristopher

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

November 6, 2013 at 9:28 am 9799
Kristopher Kristopher

Ps thanks for the quick reply

November 6, 2013 at 2:26 pm 9804
Tareq Hasan Tareq Hasan

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

Viewing 4 Posts - 1 through 4 (of 4 total)