• Resolved chiragvora

    (@chiragvora)


    Hi,

    I checked out the your other notes section.. In that I have created this code for myself

    [gform form='https://docs.google.com/forms/d/1pOVu6kdNcj2JQwDHY1Vq-AKKrcjbR0CBujR1eJ9veKo' confirm='http://getcsr.com/index.php/174/' class='mygform' legal='off' br='off' email='off' style='redirect' unitethemehack='on']

    Now what happens is, first the survey page comes and after Submit a blank page comes and then it is redirected to the URL, The graph is in the confirm URL, what I thought is confirm URL is the page which will come directly after hitting submit button.

    I wanted to add graph as soon as the user hits submit button. How to put that?

    I saw your other notes section where you have talked about Thank you for your submission.. Will that be coming up directly after hitting submit or first one blank page will come and then that will come?

    Thanks in Advance

    https://wordpress.org/plugins/wpgform/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    You shouldn’t be using the “gform” shortcode, it has been deprecated. Use the “wpgform” shortcode instead. There have not been any enhancements to the “gform” shortcode in a long time.

    As I mentioned in the other thread, you cannot do what you want. There is no way to avoid the intermediate page load upon submission. This is because from a form submission, there is no difference (technically) between the “submit” action and the “continue” or “previous” action from a multi-page Google Form.

    Thread Starter chiragvora

    (@chiragvora)

    Can I put an image on the page which comes after hitting submit button?

    I am talking about the page of form submission, as since I can’t bypass that page then instead i put an image there itself.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If you are using a redirect to another page on your site then yes, you can add whatever content you want to that page. If you are using the standard Google confirmation page then you’re limited to whatever you can add to the custom confirmation page within Google Docs.

    Thread Starter chiragvora

    (@chiragvora)

    Okay. Thanks for your response. Slightly off-topic.

    Is there any way to detect and store country name for each survey received, just like we get time stamp for each response. I want is automatic.
    currently its manual like i have to ask the user to select the country from a drop down list.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I don’t want to say it isn’t possible but it certainly wouldn’t be easy. You would need some custom code which did an IP lookup for the user and then uses that value as the seed for a hidden field.

    Technically possible? Probably. Easy to do? Definitely not.

    Thread Starter chiragvora

    (@chiragvora)

    Well I can track ip address for those who visit the website.(There are plugins available for that) but i want only those ip address which actually submits the survey in a way that it automatically displays in my google spreadsheets like it is for timestamp..

    Plugin Author Mike Walsh

    (@mpwalsh8)

    The Google Forms plugin supports “Hidden Fields” which allow you to define a field which will receive a preset value. You can choose your own preset value or you can specify to use one of eight preset values based on some information the plugin can get from WordPress or PHP.

    The values you can use are:

    1. Value (user defined)
    2. URL
    3. Time Stamp
    4. Remote Address
    5. Remote Host
    6. HTTP Referer
    7. HTTP User Agent
    8. User Email (user must be logged into WordPress)
    9. User Login (user must be logged into WordPress)

    Hidden fields are ONLY supported when using the wpgform short code and the Google Forms Post Type to define a form.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not able to add graph in confirmation page’ is closed to new replies.