• Using CF7 I have a simple contact form consisting of input fields of name, email and a date.

    I’d like the name and email fields to be hidden and populated by a GET parameter on a url.

    Because of, I believe, the nonce field I cannot just take the html of the form and recreate it.

    So my question,
    is there a way to hide and populate fields from GET parameters on an incoming url?
    is it possible to disable the nonce in CF7, is it even advisable to do so?

    OR is there a way in php I can create a form to post params to PayPal without showing the form on screen, make the form code inside the $_SERVER[‘REQUEST_METHOD’] == ‘POST’ like
    <form name=’fr’ action=’redirect(.)php’ method=’POST’>
    <include type=’hidden’ name=’var1′ value=’val1′>
    <include type=’hidden’ name=’var2′ value=’val2′>
    </form>
    <script type=’text/javascript’>
    document.fr.submit();
    </script>

  • The topic ‘CF7 nonce and insertion of GET variables’ is closed to new replies.