troubleshooting Question

ASP conditional forms using dreamweaver?

Avatar of stevemarsh99
stevemarsh99 asked on
ASP
5 Comments1 Solution317 ViewsLast Modified:
Hello all,

I have a page with a radio buttons on with options of yes or no. There is a submit button under it all in a form. This is what I would like to do:

IF Yes (radio button selected) then
update 3 fields in the database to 'No'
and update another in the same record to 'Yes'

IF No (radio button selected) then
update 3 fields in the database to 'N/A'
and update another in the same record to 'No'

Is this possible and I have brought over the recordID from the previous page to ensure we are talking about the same record...otherwise I suppose we would be ammending random records!!

(Also please note that the Yes/No radio button group is conditional based on the field in the database...meaning, if it says Yes, then the radio button will be yes.

Hope you can help/know what I am babbling on about!!
ASKER CERTIFIED SOLUTION
babuno5

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros