Sunday 18 May 2003 6:09:44 pm
++ Overall Situation: I am developing a user feedback / information request form, similar to the one in the SDK documentation (ref: www.ez.no/sdk/tutorials/view/forms).
++Situation 1- Enum Datatype, drop box presentation, information collector:
In the definition of the form object, I have included an enum datatype to allow people to select the topic of their feedback/information request ("please send me information about...","website feedback...", etc) My aim was for people to select from these options in a drop-down box.
++Problem: I can't select the enum data element as an "information collector", so when it is displayed in the actual form in the user site, it just shows the default value as text, not the drop-down select box that I'd hoped for.
++Question: Does anybody know how to do this, or is there a convenient work-around? To get around the information collector issue, I'd thought of collecting the information from the object attribute definition, and then creating an html drop-box, and then write the result to the relevant attribute of the node attribute. Though then I'm not sure of how to write the result to the attribute. Any ideas?
++Situation 2 - EZ-Native handing of form submit events? Once a form is submitted, ez seems to reload a new blank version of the form by default.
++Question:
Is there an EZ-native method to handle form submission events, eg something that says "on submit, load node XX"? If not, are there any other good ways of achieving this outcome? Many thanks!
|