You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Trigger a JS function after a form is submitted

Received Response
12
Views
2
Comments
edited Sep 7, 2018 3:32PM in Customer Portal 2 comments

Content

Hi,

Using the code below - how would I then trigger an event to trigger after a successful submission?

No custom widget being used - do I have to use one to achieve what I want?

Thanks,

JJ

Code Snippet

             <form id="rn_QuestionSubmitSkills" method="post" action="/ci/ajaxRequest/sendForm">
				<div id="rn_ErrorLocation"></div>
				<br>
				<div style="display : none">
					<rn:widget path="input/ProductCategoryInput" name="Incident.Product"  default_value="8"/>
					<rn:widget path="input/ProductCategoryInput" name="Incident.Category"  default_value="360"/>
					<rn:widget path="input/FormInput" name="Incident.Subject" default_value = "My Details - My Skills"/>
				</div> 		
				<div class="form-group">
					<rn:widget path="input/FormInput" required="true" name="Incident.CustomFields.c.type_of_enquiry" label_input="#rn:msg:CUSTOM_MSG_TITLE_REQUEST#" />
				</div>
				<div class="form-group">
					<rn:widget path="input/FormInput" name="Incident.CustomFields.c.details_of_enquiry" required="true" label_input="#rn:msg:CUSTOM_MSG_DETAIL_ENQUIRY#"  />
				</div>
				<rn:widget path="input/FormSubmit" label_button="#rn:msg:CONTINUE_ELLIPSIS_CMD#" on_success_url="none" label_on_success_banner="Request successfully submitted" error_location="rn_ErrorLocation"/>	
			</form> 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!