• Resolved ranasaur

    (@ranasaur)


    Hi guys,

    I’d like to simultaneously fire a submit button for a different plugin on the same page as my FEUP edit-profil form, however in order to do this i need to write a function that runs only when the particular validation function for the FEUP form has been validated. Can somebody please tell me what function that would be?

    For example, I would like to have something like:

    if(FEUPfunction == false) {
    	jQuery('.auto_responder .submit').click();
    }

    Alternatively, a better solution would be to ask if there is any functionality which would enable a basic auto-responder email to be sent to users to confirm that their submission has been successful?

    https://www.ads-software.com/plugins/front-end-only-users/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rustaurius

    (@rustaurius)

    Hi Rana,

    There’s not currently any validation going on, other than the default validation for the data types included by modern browsers. You’d just want to fire the second submit when the FEUP submit button is clicked on the profile page.

    Thread Starter ranasaur

    (@ranasaur)

    Ahhh, i see. I’ve not worked with validation via this method before. I’ll have to do some reading into it then.

    See my issue would be, if the button is fired when the FEUP submit button is clicked – what if the user doesn’t complete a couple of fields and then decides not to bother completing the actual form….the ‘other’ email form would still get submitted and the user would receive a ‘thank you’ auto responder without having actually signed up…

    Hmm…

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Rana,

    You could potentially check that all of the form fields are filled in when the form is submitted, before triggering the second form sending.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Submit form function integration’ is closed to new replies.