Hi all,
I have a page where users can select a car for example, and this will bring up the next screen where they can edit that specific cars details. Problem is, I have drop downs for some of the criteria such as Auto/Manual, Petrol/Diesel. If I have static values in these menus then when you first get to the page, it will be incorrect if the car was a Diesel, not Petrol.
If I dynamically link a drop down to the db, and bring up the actual value for that car, then I cannot select anything else in the drop down unless I put static values in there again. This causes repeated data, such as Petrol/Diesel/Petrol.
Is there any way that I can dynamically get the value into the dropdown, and get values that are possible for that category but not repeating the data in anyway, so if the car is Petrol, it gets this from the db, and also puts in Diesel as another option?
Thanks!
I have a page where users can select a car for example, and this will bring up the next screen where they can edit that specific cars details. Problem is, I have drop downs for some of the criteria such as Auto/Manual, Petrol/Diesel. If I have static values in these menus then when you first get to the page, it will be incorrect if the car was a Diesel, not Petrol.
If I dynamically link a drop down to the db, and bring up the actual value for that car, then I cannot select anything else in the drop down unless I put static values in there again. This causes repeated data, such as Petrol/Diesel/Petrol.
Is there any way that I can dynamically get the value into the dropdown, and get values that are possible for that category but not repeating the data in anyway, so if the car is Petrol, it gets this from the db, and also puts in Diesel as another option?
Thanks!