Hi Mark, [quote]Is it possible to have a conditional form... If I select entry one the mail should be submitted to [email protected], if entry two is selected then the mail should be submitted to [email protected].[/quote]
This is quite straightforward. Use Freemarker expression in the To form property to pull the submission address from a field on the same form. For instance, in the [url=http://demo.magnolia-cms.com/demo-project/service/contact.html]Contact form example[/url], the default value of the To field is [email protected]. This is where the form submission will be sent. Change that to something like ${sendTo}. This Freemarker expression pulls the value from the sendTo field on the same form. Now create a new radio button field on the form and allow two values: [code] Mail One:[email protected] Mail Two:[email protected] [/code] [img]http://i46.tinypic.com/nmclcg.png[/img] The part in your question that I'm not sure about is that you want to use a "popup button". You mean like a popup message box? --Antti -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=21faf54c-12fc-47aa-93ec-0c4a8f0e0748 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
