How do you manage dynamic SECTIONs of a form?
I have a form that is pretty basic...
However, it also has a section that is pulled by a DB depending on the answer to a selection statement...
Select drop-down which when selected reloads the page with a url variable, which is then slapped against the DB to recall the rest of the fields...
I know its broad strokes but the code isn't my issue, its the tools at my disposal. Is there a way outside of 2.0 technology to hit a database and populate fields on an already loaded page?
I sucked it up and did it in AJAX. I just have a feeling there is something I'm missing here though that would have solved this. Feel free to still offer suggestions, I'm not in love with my solution.
This will probably give faster response when the user selects a sponsor, but if there are a lot of sponsor it may have a noticeable effect on the original page load time if the resulting array is really large.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)