Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have two different forms, separate .cshtml files which have different fields.
If I place them on the same page, both form tags have an action (I've tried different actions), a method of post, and a class.
There are no other form tags, and none of them have runat="server"
When I fill out and submit one form, it seems to trigger and send the other (empty) form.
Is it possible to use two of these on one page, and if so, how should I be configuring my form tags please?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Configuration for two forms on the same page?
I have two different forms, separate .cshtml files which have different fields.
If I place them on the same page, both form tags have an action (I've tried different actions), a method of post, and a class.
There are no other form tags, and none of them have runat="server"
When I fill out and submit one form, it seems to trigger and send the other (empty) form.
Is it possible to use two of these on one page, and if so, how should I be configuring my form tags please?
is working on a reply...