
Originally Posted by
navaldesign
Quite possible using BV forms and Javascript. It is simply a dependent dropdowns system: have a look at
http://www.dbtechnosystems.com/dependent_drop_downs.php
If you wish, i will email you the necessary steps.
In the example, i have only provided 3rd level values for SALES (1st in the first dropdown) the other two only have second level choices.
If, instead you need online, realtime calculations, have a look at
http://www.dbtechnosystems.com/formaexcel1.html
I found the original script in javascript.internet.com by Vladimir Geshanov and i modified it from two levels to three levels. Another version i use retrieves the array values (and consequently, the values of the dropdowns) directly from the database combining Javascript with php/MySQL and autocreates the arrays based on the number of values found in the database table..
Thanks Naval but what i won't to do is the same as the first "post" ( two boxs on right ) but using the blue voda web builder tools, not html . i can set the event to onChange action i set to javascript function then in the new box that appears i typed fillText() but it won't work not sure if the values should be in the dropdown.
This is the script for the two box's ( i do not want to build the form in dreamweaver this is why i was wondering if i could get bv to do it.)
Code:
<Script Language="JavaScript">
function fillText()
{
document.testForm.DetailText.value=document.testForm.OperationDropDown.value;
}
</Script>
<body>
<form name="testForm" id="testForm" action="">
Make Selection<br><br>
<select name="OperationDropDown" onChange="fillText()">
<option value="" selected="true">Select an operation</option>
<option value="300">Membership</option>
<option value="400">Registration</option>
<option value="50">Something else</option>
</select><br>
<input type="text" name="DetailText" id="DetailText" size="10">
</form>