Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Design/code Help

Status
Not open for further replies.

njb

Programmer
Mar 17, 2000
38
US
I need help and I am not even sure where to start. We have an existing asp web page that reads a DB2 database to display information about how a specific parcel (property) is effected by our General Plan. This very long page (they call it a checklist) has a section for individual General Plan sections with a lot of verbiage that is tailored (inline asp If/Else) to that property based on the database values. The page has a touch of javascript for some calculations and some radio buttons but they are not tied to the database. The entire form is printed and submitted with the client's application to our Planning Dept. Got that so far? It's fill-in and print basically. I also need to point out that we have not converted the site over to CSS yet so it uses tables.

I am now being asked to add a series of questions to one of the sections that will add more text based on the answers. These questions are not based on the database so I am guessing I need to do this with javascript. The questions are such that if an answer is yes, there may be more questions. The text to display on the page would depend on the answers. I sure hope this makes sense because I don't know how to fit this into the current page. I started out trying to do use a radio button calling a function with onclick. But I don't know how to test that function and dynamically insert the appropriate text in the page (would that mean a reload?) and go on with the next question. I was thinking of asking the all the questions in pop-up boxes using Confirm (they are all yes and no questions), setting values that could be queried in the code and then reload the page for printing (hope that makes sense) but again, don't know the syntax to do this.

I think part of my confusion is that with the current setup, ASP runs first and the html tailoring is all done onload. But these questions are done after the initial load with the text to be inserted in the middle. How the heck do I do that??? Can you tell I am confused? LOL Any suggestions? Of course, I have to have this working by Tuesday and I just got it today. Thanks in advance for any help you can give me. My brain is tired from thinking about this today. :eek:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top