We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add form elements inside the tabs

Thread ID:

Created:

Updated:

Platform:

Replies:

145481 Jun 25,2019 03:17 AM UTC Jun 25,2019 06:11 AM UTC Blazor 2
loading
Tags: Tabs
vm
Asked On June 25, 2019 03:17 AM UTC

Hi,

How to place forms elements inside the tabs.  each tab should have separate forms.

Regards
Vijay 

Hareesh Balasubramanian [Syncfusion]
Replied On June 25, 2019 06:07 AM UTC

Dear Customer, 

Greetings from Syncfusion support. 

We have prepared the sample to render HTML form elements in one tab item and Syncfusion Query builder component  in another item for your reference. 

<EjsTab ID="defaultTab"> 
    <TabItems> 
        <TabItem Header="@header1" Content="#content1"></TabItem> 
        <TabItem Header="@header2" Content="#content2"></TabItem> 
    </TabItems> 
</EjsTab> 
 
<div id="content2" style="display: none"> 
    <EjsQueryBuilder ID="querybuilder" Width="70%" Rule="@rule"> 
        <QueryBuilderColumns> 
            <QueryBuilderColumn Field="EmployeeID" Label="Employee ID" Type="number"></QueryBuilderColumn> 
            <QueryBuilderColumn Field="FirstName" Label="First Name" Type="string"></QueryBuilderColumn> 
            <QueryBuilderColumn Field="TitleOfCourtesy" Label="Title Of Courtesy" Type="boolean" Values=@values></QueryBuilderColumn> 
            <QueryBuilderColumn field="Title" label="Title" type="string"></QueryBuilderColumn> 
            <QueryBuilderColumn field="HireDate" label="Hire Date" type="date" format="dd/MM/yyyy"></QueryBuilderColumn> 
            <QueryBuilderColumn field="Country" label="Country" type="string"></QueryBuilderColumn> 
            <QueryBuilderColumn field="City" label="City" type="string"></QueryBuilderColumn> 
        </QueryBuilderColumns> 
    </EjsQueryBuilder> 
</div> 
 
<div id="content1" style="display: none"> 
    <form> 
        <div class="container"> 
            <p>Please fill in this form to create an account.</p> 
            <hr> 
            <label for="email"><b>Email</b></label> 
            <input type="text" placeholder="Enter Email" name="email" required> 
 
            <label for="psw"><b>Password</b></label> 
            <input type="password" placeholder="Enter Password" name="psw" required> 
 
            <label for="psw-repeat"><b>Repeat Password</b></label> 
            <input type="password" placeholder="Repeat Password" name="psw-repeat" required> 
            <hr> 
            <button type="submit" class="registerbtn">Register</button> 
        </div> 
    </form> 
</div> 

Please check and revert for further assistance. 


Regards, 
Hareesh B 


vm
Replied On June 25, 2019 06:11 AM UTC

Great Thank you


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon