Dear Team , Pls i sincerely need help here..

I have a webform that have two fields. Select option field and a textfield . is it possible to make the textfied default value displayed dependant on the option selected on the select option field . For instance if i have a select option field having options a, b and c. I want a situation if i pick 'a' in the select option field, the textfied displayed value is set to Axe, if i select b the textfield value is set to Ball, and lastly if i select c the textefied value is automaticatly set to Car as so on. Instead of creating several textfieds and then make them visible based on the option picked, its posible to have just one textfield with will change its displayed value based on the option picked.

Please i will really be grateful to get help in this regards.
Many thanks and much appreciation in anticipation.

Comments

tedbow’s picture

Status: Active » Closed (works as designed)

No this module doesn't do what you describe. It is only for showing and hiding components.

chytech’s picture

tedbow, please how can i implement this in drupal. Kindly give me a wayout

tedbow’s picture

chytech sorry I don't know how to do this without custom programming.

You could try the alpha 4.x version of webform. I know it has changes for conditional components but I don't know if it does what you are trying to do. Probalby not.