Dropdown Field select text vs value
-
I have a dropdown menu where a pricing category is selected. The category is text which then relates to a cost. I’ve been using ‘–‘ as a separator between select text and select value. CF7 documentation now refers to using ‘|’ as a pipe.
Everything works up to CF7 version 5.8.7, but not the latest V5.9 or 5.9.3.
Category [select* price-category default:1 “5 to 499 plants @$2.20 each–2.20” “500 to 999 plants @$1.80 each–1.80” “1000 plus plants @$1.50 each–1.50” “Community group fundraising discount @$1.50 each–1.50”]
Sub-total cost$[calculator sub-cost Precision:2 “qty-total * price-category”]
With CF7 version 5.9 & 5.9.3, the forms works as expected before it’s submitted. The cost value from the dropbox correctly updates the sub-total-cost. All as expected. However, it fails on form submission with ‘Undefined value was submitted through this field’.
I tried using ‘|’ pipe, but that also doesn’t work.
So I’ve had to revert back to CF7 V5.8.7 for now.
Using these form plugins:
‘Conditional Fields for CF7’ V2.4.10,
‘Contact Form 7 – Submission id’ V2.4.0,
‘Contact Form CFDB7’ V1.2.6.8,
‘Cost Calculator Contact Form 7 Pro’ V1.0,Thanks, Rod
The page I need help with: [log in to see the link]
- The topic ‘Dropdown Field select text vs value’ is closed to new replies.