asp.netvalidationwebformsrequiredfieldvalidator

Required field validator Submit issue


I have a web form (say form 1) created for a small dine-in with a submit button. The fields to be validated are Name (textbox) gender(radio button) and so on. below this form on the same page is a feedback form (say form 2) having two fields: name(textbox) and feedback(text area). The feedback form has a submit button.

PROBLEM: When submit button of feedback form is clicked feedback is not submitted due to the required fields in form 1 are not filled in.

I want the feedback to be submitted. Please help.

image of the problem: https://www.dropbox.com/s/97tuva03bl33xur/form.PNG?dl=0


Solution

  • Use same ValidationGroup for each form.