Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HTMLB Forms and Events

Hi All,

I have an HTMLB form where I have a submit button with an onClientClick javascript check function.

When I hit submit, the javascript executes, finds an error and then allows the form to go on with processing which is what I do not want to do.

I want the HTMLB form to suspend execution in case the JavaScript function returns an error.

I trigger the error by adding

return false;

to the end of js function.

Is there another way to do this?

Thanks,

Roman

Tags:
Former Member replied

Hi Roman,

Use the statement "htmlbevent.cancelsubmit" in the javascript check function .

Regards,

Arun.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question