• Greetings,

    I am trying to get the value of a hidden field.

    [hidden Geotargetedly_Country__c id:geocountry class:geotargetly_country_name class:test-contact default:geotargetly_country_code]
    

    Rendered HTML:
    <input type="hidden" name="Geotargetedly_Country__c" value="" class="wpcf7-form-control wpcf7-hidden geotargetly_country_name test-contact" id="geocountry">United States</input>

    The hidden input field value is generated by GeoTargetly.
    https://help.geotargetly.com/en/articles/1757814-javascript-integration using a Class.


    The Problem is that on email the [Geotargetedly_Country__c] is not getting the value ex. United States.

    Currently the fix I am using is using JS to get the value and injct to the attribute-value.

    I am confused with the default:get;
    https://contactform7.com/getting-default-values-from-the-context/

    • This topic was modified 4 years, 2 months ago by patwik.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Get Value from Hidden Input Field’ is closed to new replies.