Hello,

I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both buttons.

Thanks.

Recommended Answers

To help others help you read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question then update your post with code and questions. As is, you've told what you will be doing but not what the issue that stopped you.

Jump to Post

All 2 Replies

Hi, are you struggling for an example to this problem or are you stuck at some point which you need help with?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.