This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi there,
i have the contact plugin und the user plugin installed and want a Form that creates a User and sends a Message. Is that possible with two data-requests?
<form role="form" data-request="onRegister" data-request="onContactSent" data-request-update="'confirm': '.confirm-container'" data-request-success="$('#form-contact').slideUp(1000)" id="form-contact">
Thanks for your answers.
Tschallacka said:
data-request-success="$(this).request('onContactSent')"
This solution calls my method infinite times. How can we call just once?
Override the success handler like so:
data-request-success="$this.request('onContactSent',{success:function(){}});"
Last updated
1-6 of 6