Forum Post: Re: Form Submit Handler And Field Validation - 4.0.4

Status
Not open for further replies.
M

Mohammed Siraj

Guest
Iram, can you please state how you are attaching a form submit handler. Request you to try one of these two approaches: 1. Page -> Properties -> onSubmit 2. Add a script component to the page with the following snippet: rb.newui.util.addEventListener(rb.newui.util.customEvents.rbs_pageRender, function () { //Get formContext instance for Edit Form in page var formContext = rbf_getObjectRecordForm(); if (formContext) { formContext.addSubmitHandler(onFormSubmit); } }); Also please refer this article for additional details: community.progress.com/.../22020

Continue reading...
 
Status
Not open for further replies.
Top