Passing url values between form gives 404 page not found

Home Forums Quform WordPress Passing url values between form gives 404 page not found

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8714
    drewman1970
    Participant

    I have successfully implemented two forms passing values in the url up until the second form page will not display because the permalink structure prevents anything other than the page name from displaying.

    How can we use this great feature if we cannot pass url data in wordpress.

    Is there another step we need to do in the functions.php file?

    I was trying this:


    add_filter('query_vars', 'parameter_queryvars' );

    function parameter_queryvars( $qvars )
    {
    $qvars[] = 'name';
    $qvars[] = 'email';
    $qvars[] = 'phone';
    $qvars[] = 'income';
    return $qvars;
    }

    Am I on the right track? Can you provide a more detailed explanation of what we need to do here?

    Thanks,

    #8745
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #8784
    drewman1970
    Participant

    Yes, I ended up re-naming all the values ( adding baron_)


    $data = array(
    'baron_name' => $form->getValue('iphorm_1_1'),
    'baron_email' => $form->getValue('iphorm_1_3'),
    'baron_phone' => $form->getValue('iphorm_1_2'),
    'baron_income' => $form->getValue('iphorm_1_4'),
    );

    I did not have to use any other filter code – everything worked out great.

    Thanks

    You can close this issue…

Viewing 3 posts - 1 through 3 (of 3 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