PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom radio don't send value

  1. zagriyen
    Member

    Hi,
    i wrote a custom radio list with the code of this thread, gform_pre_render upon previous dropdown condition?.
    I use a multi-page form, but in $entry don't contain the radio value, but all of the other input value.
    In my form render, in the html I get the good label and the correct value for the radio input.

    in my $form i get my new populated choice

    'choices' =>
        array (size=1)
          0 =>
            array (size=2)
              'text' => string 'custom title' (length=40)
              'value' => int 253



    Ok, i found my error,
    in my pre render i put this condition, and my value could not go to the next page
    $current_page = GFFormDisplay::get_current_page($form["id"]);
     if ($current_page == 2)
    {
     // my custom radio
    }
    Posted 11 years ago on Wednesday March 27, 2013 | Permalink
  2. Thank you for the update.

    Posted 11 years ago on Sunday March 31, 2013 | Permalink

This topic has been resolved and has been closed to new replies.