How to show Submit button only on the last tab
Last Post 06-12-2013 07:26 AM by Jessica van Diepen. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
Jessica van DiepenUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
06-12-2013 06:52 AM
    I have a 3-tab form. Ideally there would be "next" and "back" buttons at the bottom of tabs one and two, and "back" and "submit" buttons at the bottom of tab 3 so users would be prompted to advance to the next tab after completing the current one.

    But for now, I'm just trying to hide the submit button until the "I Agree" box is checked.

    Under Module Configuration>Links>Submit Link/Button, I've checked "Initially hide form submission button"

    Under Module Configuration>Advanced Coding Options>Custom Javascript File>Submit/Save Javascript I've added

    if ( $(Agree) == 'Yes' ) {
    showhtml('SubmitForm');
    }
    else
    {
    hidehtml('SubmitForm');
    }

    I've also added that script to Client side event in the "Agree" question's Advanced Field Options.

    The submit button does not appear. Please advise.
    Jessica van DiepenUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    06-12-2013 07:26 AM
    I figured out the errors in my javascipt and not the submit button is appearing when the I Agree box is checked. It should be
    if ( $(Agree) = 'Yes' ) {
    showhtml('SaveForm');
    }
    else
    {
    hidehtml('SaveForm');
    }


    Now I just have to study up how to add a "Next" button to the bottom of tabs one and two. If someone can point me exactly to where those instructions are, I would be grateful.


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi