- Posts: 117
- Thank you received: 1
List option value
- Paul
-
- Offline
Less
More
2 years 7 months ago #1612
by Paul
Paul replied the topic: List option value
Hello,
In regards to this:Those values are the ID of the item, not the real values.
So, if you set up your item lable= 20x20 and item value=20x20. You will still get the same as before but it will be created an input hidden with your real values too.Your real values will be stored in the [json code]
So there are not problems with text values.
Let me know if this solves your problem
Best Regards,
Paul
In regards to this:
<select name="aws_price_calc_22">
<option value="1">20x20</option>
<option value="2">100x50</option>
<option value="3">50x90</option></select>
So, if you set up your item lable= 20x20 and item value=20x20. You will still get the same as before but it will be created an input hidden with your real values too.
<input type="hidden" id="aws_price_calc_[id_field]_options" value={[json code]}/>
So there are not problems with text values.
Let me know if this solves your problem
Best Regards,
Paul
Please Log in or Create an account to join the conversation.
- Andrey Gorlov
-
Topic Author
- Offline
Less
More
- Posts: 1
- Thank you received: 0
2 years 7 months ago #1608
by Andrey Gorlov
Andrey Gorlov created the topic: List option value
Hello
I am trying to make an integration with another app
And the option value must match the option text
Now what i get is
What i'm trying to make it generate is:
Any ideas?
Thank you!
I am trying to make an integration with another app
And the option value must match the option text
Now what i get is
<select name="aws_price_calc_22">
<option value="1">20x20</option>
<option value="2">100x50</option>
<option value="3">50x90</option></select>
What i'm trying to make it generate is:
<select name="aws_price_calc_22">
<option value="20x20">20x20</option>
<option value="100x50">100x50</option>
<option value="50x90">50x90</option></select>
Any ideas?
Thank you!
Please Log in or Create an account to join the conversation.
Moderators: david
Time to create page: 0.133 seconds