Adding hidden field value to notification email
-
Hi there!
I am generating a hidden field with the following:
add_filter( 'hf_form_markup', function( $markup ) { $markup .= '<input name="hiddenFieldUrl" type="hidden" id="hiddenFieldUrl" />'; return $markup; });
This produces:
<input name=”hiddenFieldUrl” type=”hidden” id=”hiddenFieldUrl” />
I am then adding markup
value="<-- the-form-URL -->"
via javascript.I cannot seem to add this hidden field to my notification emails. How would I go about doing this? I have tried adding [hiddenFieldUrl] but no luck!
Many thanks,
DL
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding hidden field value to notification email’ is closed to new replies.