view/change their answers/cancel buttons/action

  • Profile Image
    bbgarnett
    Asked on November 04, 2013 at 11:15 AM

    Hello, I was wondering if there was any way that I can add buttons to my survey, one would be a Cancel button as there is just a submit button. We recently got a survey response and it was just blank and so I am assuming someone was just checking out the survey and instead of closing out the tab or window they just hit submit to go back to our home website, So is there a way to add a canecel button just like there is Submit. Also after someone submits there answers is there a way I can allow them to go back and review and or change there answers.

     

    Thanks,

  • Profile Image
    bbgarnett
    Answered on November 04, 2013 at 11:36 AM

    OK well i was able to add a Cancel button the only thing I don't like is it just opens up a new tab to our website but still leaves the form open in another tab. so is there a way to get it to cancel and not open up a new tab.

     

    this is the code I am using 

     

     

    <div style="margin-top:-3px"><a target="_blank" href="http://www.stcroixvalleyumc.org" rel="nofollow noopener" rel="nofollow" rel="nofollow" style="text-decoration:none"><input class="form-submit-button" type="button" value="Cancel"/></a></div>

     

  • Profile Image
    guilledutra
    Answered on November 04, 2013 at 11:43 AM

    Hi,

    Cancel button:

    Please replace your actual cancel button code with  this one:

    http://pastebin.com/nRvigcdw

    you can avoid empty submission by setting up one of your form's question as "requiered" ,so if the user clicks on submit button without filling out any field, will recieve a form alert instead of submitting the form empty.

    According to your second question about editing form submission, could you please create a new forum thread regarding this request

     

    Thanks

  • Profile Image
    bbgarnett
    Answered on November 04, 2013 at 12:00 PM

    ok thank you very much I noticed the required fields button and now  have that set up. Also instead of Cancel I just did a simple back button as that worked easier. this is what I used. I also added a clear form button along with submit and made them blue. So while the back button is a smaller and not perfectly aligned in size and color etc it will do as it just takes them back to wher they were before. 

     

     

     


  • Profile Image
    guilledutra
    Answered on November 04, 2013 at 12:07 PM

    Hi,

    please replace your cancel button code with this one:

    http://pastebin.com/ySdbBEP6

    and inject this custom css to your form in order to align the cancel button:

    #cid_11 { margin-top: 7px; margin-left: -59px; }

     

    Hope it helps

    please let us know if you need further assistance

    Thanks

  • Profile Image
    bbgarnett
    Answered on November 04, 2013 at 12:24 PM

    Yes thank you very much you have helped me greatly and I am much appreciative of it. The buttion is now aligned and looks exactly like the others and it no longer annoys me and it looks awesome.

     

    Thanks again and I can considered this question solved.

  • Profile Image
    guilledutra
    Answered on November 04, 2013 at 12:34 PM

    Hi,

    glad to know that your form looks like as you need it.

    thank you for using JotForm

    let us know if you need further assistance

    Thanks