howto change the Activeselect to a dropdown

francescosoft - August 23, 2007 - 12:04
Project:Fixed Data Dropdown
Version:5.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

Hello,

First thanx for thi great module.
I am new to drupal and also to PHP. I will use the Fixed Data Dropdown in my project, but i dont know how to change the Activeselect to a dropdown, because i need to dependent dropdowns (Country->Cityes). Please help me. I have tried to change the type of the form element into "select" but it didn't work.

#1

markfoodyburton - August 23, 2007 - 13:12

Hi

I'm not sure exactly what you have got working, and which bits are not working.
Basically, you will need a database of Countrys, Citys, which you will load into the fixed data dropdown field type configuration. The, the user will get an active select area where they type a name (like France), - they may type F, in which case they will get a select array for France, Finland,.... When the user selects France, they will then be able to select the actual city they wanted in the dependent drop-down (which will be a normal "select") (i.e. Paris, Bordeaux, Lyon, Nice, ...)

I hope this is what you want?

If not - please get in touch via the contact form, and I can try and help you :-)

#2

markfoodyburton - August 28, 2007 - 07:40
Category:support request» feature request
Priority:critical» normal
Status:active» postponed
 
 

Drupal is a registered trademark of Dries Buytaert.