I have done the same in this form[0]. I have used data connection in Designer to call the WSDL which adds the input A and B. JavaScript used:form1::preSubmit:form - (JavaScript, client)
validation=true;
if(form1.MainForm.Fields.Body.Add.intA.isNull || form1.MainForm.Fields.Body.Add.intB.isNull) // ...
In AEM Forms Designer, you have the master page that governs the orientation.In your case, apparently you need 2 master pages. 1 which is portrait and other which is landscape.Both the master pages will have a content area defined in them, which refers to the region within which content can be place...
It's because there are still two issues in your form:1. You are executing the validation script in calculate event instead of Validate event of the form.2. execValidate() returns empty[0]. Why you are checking its return value as below? if ( MainForm.execValidate() == true )[0]: https://help.adobe.c...
@RaviMRam , As we observed in the meeting, it is not working for you because you are using multiple submit buttons in your form. A form should only have one submit button. Also, you should put all the validation logics in the validate event.
1. When a form design does not contain a submit button, Workspace disables the Complete button, and users cannot submit the form. When a form design contains a submit button, Workspace hides the submit button and enables the Workspace Complete button[0]. You can use the complete button in place of a...
@manu-gupta I guess you are expecting the following outputs, right? 135,235,234.250885 >> 135,235,234.250885001,132,235,234.25024 >> 1,132,235,234.25024000 are you able to achieve it now? If yes, what pattern did you use?