Hi Awfulcool,
Try pasting this in your themes functions.php file: http://pastie.org/1376398
This little snippet will output a small bit of javascript when the form is loaded. When the form is submitted, this javascript is triggered and populates the hidden field with the combined values of the brand and size fields. Now when you're mapping the fields on your Freshbooks field, you can map the hidden field to the description field as you desired.
Let me know if you need any clarification on this! :)
Note: this snippet assumes that jQuery is already being loaded on the front end.
Posted 13 years ago on Tuesday December 14, 2010 |
Permalink