Hi,
I'm having an odd issue with custom dropdowns.
What I want to achieve is a dropdown of items - lets call them territories. I was users to pick a territory (europe, amiercas, asia) and so I want the field to be 'required'. However, i don't want it to default to any of the items. So ideally, when creating the record, the field is blank but the user needs to pick one of the three values for the system to be able to save the record.
Now, if I create the dropdown with the three values (europe, americas, asia) and mark the field as required - then when creating the record, it defaults to europe (the first item in the list). If I add an empty item to the top of the dropdown (so it displays as "-blank- [-blank-]" - then the list looks empty when the record is created -but the system lets the blank value be saved.
Is the the standard behaviour? It's a custom module with a custom field - but I've retrospectively set it as required via the custom vardefs.
Any thoughts welcome.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks