Back Button shows up at end of form after submit button

  • advantech
    Asked on July 19, 2016 at 1:21 PM

    On my form, for some reason a BACK button shows up on the last page after the submit button. Not sure why as I do not have it in my form.

  • Kiran Support Team Lead
    Replied on July 19, 2016 at 2:23 PM

    Please be noted that the Back button is displayed always when a Page break is inserted in the form. However, when the Back button on the first page break is hidden the back button on the last page will not be displayed. I think it is still displaying on your form since you have other Submit buttons that are hidden by using CSS.

    Please try injecting the following CSS to your form to hide the last back button on the form.

    #form-pagebreak-back_30 {

        display: none;

    }

    Hope this information helps! 

  • advantech
    Replied on July 19, 2016 at 2:28 PM

    It did NOT work. Additionally there is also a BACK button on page 2 even though I am hiding that one too via the control panel. I simply do not want any back buttons.

  • Kiran Support Team Lead
    Replied on July 19, 2016 at 2:40 PM

    If you do not want to display any back button on the form, please remove the previously provided CSS code and inject the following CSS code.

    .form-pagebreak-back-container {

        display: none !important;

    }

    Also, the existing comment style in the CSS section is not allowing to process the CSS code injected. Please change the comment style to /* YOUR COMMENT HERE */ so that it should be working fine.

    Thank you! 

  • advantech
    Replied on July 19, 2016 at 5:20 PM

    Works great. HOWEVER, now the first few submit buttons I hid are showing up. There should only be a submit button on the last page.

  • advantech
    Replied on July 19, 2016 at 5:39 PM

    I deleted the submit field and hide code. I added instead a text box with this code: <button type="reset">Clear Form</button>

    Works fine now.

     

  • liyam
    Replied on July 19, 2016 at 10:00 PM

    On behalf of Kiran, you are welcome, advantech. 

    Feel free to let us know if you have other questions or concerns.

    Thanks. :)