Multiple forms on same page create required validation issue

Kaushik Patel asked on April 23, 2019 14:11

I have 2 different forms on page.

When i click one form, it ask me the required field of other forms.

Forms layout like following:

<div class="field">  
<cms:FormErrorLabel runat="server" ID="eNewsletterEmail" Field="NewsletterEmail" />    
<cms:FormControl runat="server" ID="iNewsletterEmail" Field="NewsletterEmail" FormControlName="emailinput" CssClass="" />      
<cms:FormSubmit runat="server" ID="fSubmit"></cms:FormSubmit>

second form

<div class="field">  
<cms:FormErrorLabel runat="server" ID="eEmail" Field="Email" />    
<cms:FormControl runat="server" ID="iEmail" Field="Email" FormControlName="emailinput" CssClass="" />      
<cms:FormSubmit runat="server" ID="fSubmit"></cms:FormSubmit>

When i check the HTML for forms , found Required tag in field. and due to this required tag the form is not submitted. Please let me know what i can do? can we add validation group anywhere?

   Please, sign in to be able to submit a new answer.