Hi Everyone,

I have to create a dynamic HTML page that actually contains two separate HTML forms.Can anyone tell me how can I create two forms in a single HTML page.

Thanks.

Member Avatar for rajarajan2017

Use two form tags with in the same html

<form name="frm1" method="post" action="process.php">
<input type="text" name="txt1" />
<input type="submit" name="commit"/>
</form>

<form name="frm2" method="post" action="update.php">
<input type="text" name="txt2" />
<input type="submit" name="commit1"/>
</form>
Be a part of the DaniWeb community

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