Thanks for the responses. I'm afraid that somewhere along the line, I either miscommunicated or was misunderstood.
Addressing the fields in the HTML block via jQuery is no problem.
My question is: is there an easier way to address the GF inputs via javascript, than my previous solution which was to add the form to a page, view the page, and copy/paste the resulting IDs into wordpress custom fields?
In other words, I need a way to control the resulting HTML IDs, or some other non-variable alternative that won't change.
I need this:
<li id='field_3_19' class='gfield gform_hidden' style='display:none;'><input name='input_19' id='input_3_19' type='hidden' class='gform_hidden' value='TEST' /></li>
To be this, or similar:
<li id='field_3_19' class='gfield gform_hidden' style='display:none;'><input name='input_19' id='SET-BY-ME' type='hidden' class='gform_hidden' value='TEST' /></li>
Does this help to clarify my question? Thanks.
- tollie
PS. My first hope was that the inputs inside the HTML block would be auto-detected by GF and available for use in the notifications. The hidden inputs are merely a work around to that, since the HTML block inputs, effectively, don't work.
Posted 14 years ago on Thursday July 29, 2010 |
Permalink