0

I am trying to call two functions on onSubmit but it is calling only the first function.

following is the code:

<form name="reg_indi_form" method="post" onSubmit="return (validate() && req());" enctype="multipart/form-data"> 
1

1 Answer 1

0

In this case validate() must return true so that req() gets executed

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.