Ready to get started?Download WordPress


Contact Form 7
Add httpvars module to pass variables from other forms (1 post)

  1. wprunner
    Posted 3 years ago #

    Sometimes you want to make multiple page forms because they are too long, such as a questionnaire. CF7 does not allow to make multiple pages, it would have been nice if it allowed to send action of a form to another page that contains another CF7 and have the variables passed to it... and then send email containing all variables.

    Anyway, there is a module called httpvars which I got from here:

    It allows to pass variables from a regular html form to CF7. This module is working fine, but there are several things that makes its usage not perfect.

    - Every time I upgrade CF7, the module gets deleted and I will have to upload it again.
    - it doesn't seem to be very well coded. When I pass checkboxes to email, it may pass the httpvars tag if a checkbox is not selected. However, it always passes the value correctly for checked checkboxes.
    For Example:
    if you have ch1, ch2, ch3, ch4 as the variables of the choices, and ch2, ch3 were selected. what would appear in your email is this:


    Sometimes is just leaves them as Blank


    - the other problem is that the variables show up as blank in the contact form 7 page (one line for each variable). They should be hidden completely. A workaround is to contain the variables in a CSS Class, and set the class to display:none.

    I just hoped that this module be developed by CF7. (or make some sort of paging the forms).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic