Hidden Input Field Value Blank Empty

Home Forums Quform WordPress Hidden Input Field Value Blank Empty

This topic is: resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14792
    TerrenceLP
    Participant

    Can’t figure out why this isn’t working;

    Setting Values either way – Default or Dynamic spits out the the code below.

    <input type="hidden" name="iphorm_2_55" value="" class="font-primary">

    Where can I fix this or troubleshoot?

    #14793
    TerrenceLP
    Participant

    I found the issue – The form that was not working is a copy of the 1st form. This 2nd form is loaded via a pre-process filter – that is where my issue was. I ended up pre-loading the hidden field in my filter.


    // start of filter
    function my_load_data($form)
    {
    global $wpdb;

    $id = isset($_GET['evalid']) ? $_GET['evalid'] : '';

    if (!$id) {
    return;
    }

    // a little bit further down
    'iphorm_2_54' => $id, // Form Entry ID Hidden

    So we populate the hidden field with the $id that is set from the GET – done!

    • This reply was modified 9 years ago by TerrenceLP.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy