I am trying to set up a custom form that pops up when a user click a ‘Reply’ menu action, I have followed the information in the “DWA 7 Customization” redpaper.
I have the action and it opens the custom form when the action is clicked.
I can pass the values from the custom form to the new mail memo.
I have created Custom_InfoFields and Custom_InfoFieldsHTML subforms which pass the info to the new Memo in and tags as per the redpaper.
What I would like to do is populate the Select input option in the Custom Form with a value from the underlying email, rather than hard coding it as per the redpaper.
REDPAPER CODE:
MY CODE:
document.s_NamesInfo.DOC_NAMES.options.length =0; document.s_NamesInfo.DOC_NAMES.options[0]=new Option(“AN Other”);// Hardcoded name
document.s_NamesInfo.DOC_NAMES.options[1]=new Option(DOC_ORIGINATOR); //dynamic value
Where DOC_ORIGINATOR is the value from the underlying email
Anybody have any ideas
Thanks.
David