I have some CCK select list fields which I do not define allowed values for.
I need to set the options available using information available to me when the form is being loaded.
I tried setting the values in the node-form.tpl file but I get:
"An illegal choice has been detected. Please contact the site administrator."
for each field I set the allowed values for in this way.
What's the proper way to do this?