TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohana R
NA
36
5.5k
how to pass textbox value to multiple formaction in view
Dec 22 2017 7:19 AM
in my view
7 textboxes( name,fnamee,lname,dept,addres,phno.courses)
2 formaction (save,update)
when save action perform need to save all the details in main table but while updating i need dept and address value
view code
<input type="submit" formaction="save" formmethod="save" name="save" value="save"/>
<label>NAME</label> <input type="text" id="name" name="Name" /><br /><br />
<label>fNAME</label> <input type="text" name="fname" /><br /><br />
<label>lNAME</label> <input type="text" name="Lname" /><br /><br />
<label>dept</label> <input type="text" name="dept" /><br /><br />
<label>addres</label> <input type="text" name="addres" /><br /><br />
<input type="submit" formaction="update" formmethod="save" name="save" value="save"/>
<label>phno</label> <input type="text" name="phno" /><br /><br />
<label>courses</label> <input type="text" name="courses" /><br /><br />
while updating the values of phno and courses i need the dept and address to update but its not passing the values because i am using two form action
Reply
Answers (
7
)
Multiple Where Conditions In Linq
linking c++ project in .net