I used a custom dynamic select option alogn with "Webform validation" module to validate it. I did the validations by including "dynamicselect" in the code wherever it checks for component types to validate.

By editing this code I was able to get it almost working. However there is still one small issue, which I would like to discuss with you. In a conventional select field, the default select box displays a test "- Select -" in the select box below which all the other options for selection are present.

In a dynamic select option, I noticed that the 1st value below the (" - Select - ") default option does not get validated. All the other values in the drop down box EXCEPT this 1st value gets validated.

Is there a way by which the 1st option can be validated too ?
Any pointers as to where to change the code to make this work would be highly useful so that i shall try to fix it.

Comments

svendecabooter’s picture

Category: support » bug
svendecabooter’s picture

Issue summary: View changes

Edited to make the question more understandable

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Drupal 6 is no longer supported. If this issue exists in a later version of webform_validation, please re-open and update the version number.

liam morland’s picture

Status: Closed (won't fix) » Closed (outdated)