First let me say this program is awesome. It has saved me hours and hours.
I dont think this program offers the feature I am looking for, but thats ok, because it will atleast get me started.
What I am looking to be able to do is offer a series of drop down menus. However, subsiquent menus are based on what was selected in the previous drop down menu.
For example.
Drop down menu 1 offers 2 options Trucks or Cars
Based on what choice was selected in menu1, the appropriate drop down menu2 will be displayed.
menu2 will either be a list of truck types, or a list of car types.
Any help is greatly appreciated. Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Of course anything is possible but you have to realize that adding functionality to accomodate every request is impossible. You have the basic form as generated by this program and you are free to use it, modify it, and copy it as much as you want. The feature you are requesting will require that you regenerate the form.html code each time a selection is made that changes a sub-option. For this reason it would be better to have the form.html file be either php or some other web scripting language. The form.htl file type does not allow the kind of recoding (modify as selections are made) you are asking for.
Again this is certainly possible but it is outside the scope of the phpFormGenerator program.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the quick reply. So these types of dynamic forms are generally php type files that are created on the fly based. I was not aware of that. It makes sense though, I jst was not aware that, thats how those types of forms are generated.
Thank you. Now that I have the base form created, I will do some further research to see about modifying the form.html file or converting to a php file so that I can work on generating a dynamic form. Any suggestions or websites that might help me to code something like this?
Thank you again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There quite a few PHP scripting sites available. I use the php.net site most often but on more difficult tasks I usually reference more than one site for information and examples.
The simplest method would be to refresh a php file with option parameters. You display a page without options like this; http://myphppage.pgp
and then as you make additional selections you refresh the page like this; http://myphppage.pgp?option1=newpulldown
Take a look at this sites URL for example: https://sourceforge.net/forum/message.php?msg_id=4674010
Note the "?msg_id=4674010" option for specifically displaying this thread. Click on a different post on this thread and you will note the page refresh with different options and displayed text. You will see the same base "https://sourceforge.net/forum/message.php" with many different "msg_id=" parameters passed to do many different things.
Of course most often you see this method used with long alphanumeric coding to obscure the intentions but the concept is the same.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First let me say this program is awesome. It has saved me hours and hours.
I dont think this program offers the feature I am looking for, but thats ok, because it will atleast get me started.
What I am looking to be able to do is offer a series of drop down menus. However, subsiquent menus are based on what was selected in the previous drop down menu.
For example.
Drop down menu 1 offers 2 options Trucks or Cars
Based on what choice was selected in menu1, the appropriate drop down menu2 will be displayed.
menu2 will either be a list of truck types, or a list of car types.
Any help is greatly appreciated. Thank you!
Of course anything is possible but you have to realize that adding functionality to accomodate every request is impossible. You have the basic form as generated by this program and you are free to use it, modify it, and copy it as much as you want. The feature you are requesting will require that you regenerate the form.html code each time a selection is made that changes a sub-option. For this reason it would be better to have the form.html file be either php or some other web scripting language. The form.htl file type does not allow the kind of recoding (modify as selections are made) you are asking for.
Again this is certainly possible but it is outside the scope of the phpFormGenerator program.
Thank you for the quick reply. So these types of dynamic forms are generally php type files that are created on the fly based. I was not aware of that. It makes sense though, I jst was not aware that, thats how those types of forms are generated.
Thank you. Now that I have the base form created, I will do some further research to see about modifying the form.html file or converting to a php file so that I can work on generating a dynamic form. Any suggestions or websites that might help me to code something like this?
Thank you again.
There quite a few PHP scripting sites available. I use the php.net site most often but on more difficult tasks I usually reference more than one site for information and examples.
The simplest method would be to refresh a php file with option parameters. You display a page without options like this;
http://myphppage.pgp
and then as you make additional selections you refresh the page like this;
http://myphppage.pgp?option1=newpulldown
Take a look at this sites URL for example:
https://sourceforge.net/forum/message.php?msg_id=4674010
Note the "?msg_id=4674010" option for specifically displaying this thread. Click on a different post on this thread and you will note the page refresh with different options and displayed text. You will see the same base "https://sourceforge.net/forum/message.php" with many different "msg_id=" parameters passed to do many different things.
Of course most often you see this method used with long alphanumeric coding to obscure the intentions but the concept is the same.
Iam having the same problem here, did you get any help?
Can you giva us some example?
My chosen method is different (more complex for larger sets of options) but this one is a very simple example.
http://www.weberdev.com/get_example-4398.html