|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dynamic Form Elements
Okay, if I sound like I don't know what I'm talking about, it's because I don't. I'm usually a back-end processing kind of guy but I'm the only programmer here so now I get both jobs.
Anyway, I've seen with greater frequency, forms which update based on a given choice from a drop down menu or other choice based form element. For example, a selection is made from a single drop down menu, and based on that choice another drop down menu appears. Go back to the first menu and choose another option, and a different second menu appears. What language is this kind of thing most often and easily done it? Any input is appreciated.
__________________
- dsb - ![]() Perl Guy |
|
#2
|
|||
|
|||
|
you can im me greg85374 on yahoo to get into this
We need to know what type of drop down element you using. A menu would be easiest. Below the word View on the top of your Vb application there is a menu Icon Click on the form you want your menu on then on the menu icon. Now lets say your first menu item is "file" under caption put &File Under name put MnuFile(this is how you refer to it in code) now youll hit next Youll see 4 arrows to the right of the cmdbutton next use the -> arror(this indicates a bubitem of file) Now type in "Open" under Caption and MnuOpen under Name Now youve a subitem called Open under the "File"option now to get a sub item of a subitem your press the -> arrow 2x. Ill attach a very basic example wihtou any real code to speak of What program language though..I use vb |
|
#3
|
||||
|
||||
|
Is this not for a website, not a vb application?
|
|
#4
|
|||
|
|||
|
Yes it is for a website...I'm not sure why that happened.
|
|
#5
|
|||
|
|||
|
I think what you're talking about are "Dependent Lists", and there are two ways you can do them:
1) You can have them automatically submit a form every time they choose something on your list, causing a page refresh to get the dependent data based on the submission. 2) You can dynamically generate javascript code using PHP, JSP, Coldfusion and the like that will make all the content of the lists client-side. You can find a good tutorial on how to do this in Coldfusion here: http://tutorial95.easycfm.com/ Hope that helps! |
|
#6
|
|||
|
|||
|
It does...thanks a lot.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Dynamic Form Elements |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|