Question:
Can I put multiple JavaScript functions in onSubmit of a form the same as onLoad of a form? How will catalog will evaluate the Boolean here?
Environment:
Service Catalog 12.8, 12.9,14.1
Answer:
1) onSubmit expects only a single function and it can only be one or none in this attribute for each form. However, while submitting the request, it will aggregate onSubmit values of all forms inside that request. In this process, it will not allow to submit, even if there is failure of Onsubmit in one form. So you should NOT put more than one javascript functions in onSubmit attribute of a form.
2) You can have multiple javascript functions in 'onLoad' attribute of a form seperated by ';'. But this is not the case with 'onSubmit'.