Is it possible to save a mail-form?

Joacim Dahlblom
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 28, 2013

We have this mail-form where users fill in data and when they press submit the form is mailed to different adresses. See script below.
I wonder if it is possible to save the form as a wikipage at the same time. So the form is both mailed and saved when the user klicks Submit.

{mail-form:destination=xxx@crosskey.fi} {mail-input:type=hidden|name=subject|vtlValue=Visitor #if($user) for $!user.fullName $!VisitorName#end}
{info:title=Visitor Registration}
Please enter the visitor information below

Visitor Name {mail-input:type=text|name=Visitor Name|cssStyle=width: 500px|required=true}

Visitor Company {mail-input:type=text|name=Visitor Company|cssStyle=width: 500px|required=true}

Visitor Known? (Identity Verification) {mail-select:name=Visitor Identity}
{mail-option:value=Yes|selected=false}Yes{mail-option}
{mail-option:value=No|selected=true}No, visitor identity needs to be verified before granting access to Crosskey facilities{mail-option}
{mail-select}


Visit start date {mail-input:type=text|name=Visit Start|cssStyle=width: 50px|required=false}
Visit end date {mail-input:type=text|name=Visit End|cssStyle=width: 50px|required=false}

Visitor Reason {mail-textarea:name=Visit reason|cssStyle=width: 500px; height: 100px|required=true}

Visit Location / Office {mail-select:name=Visit Location}
{mail-option:value=Mariehamn|selected=true}Mariehamn{mail-option}
{mail-option:value=ITC1|selected=false}ITC1 - iTiden{mail-option}
{mail-option:value=ITC2|selected=false}ITC2 - Bergsskyddet{mail-option}
{mail-option:value=Stockholm|selected=false}Stockholm{mail-option}
{mail-option:value=ITC3|selected=false}ITC3 - Globen{mail-option}
{mail-option:value=Vanda|selected=false}Vanda{mail-option}
{mail-option:value=Åbo|selected=false}Åbo{mail-option}{mail-select}

Your Name ( Responsible for the visitor during the visit) {mail-input:type=text|name=Requestor Name|cssStyle=width: 200px|vtlValue=$!user.fullName}
Your Email {mail-input:type=text|name=from|cssStyle=width: 200px|vtlValue=$!user.email}
{mail-submit:Send request!}{info}

{mail-form}

/Jocke D

1 answer

1 vote
Monika Turska [Adaptavist] February 19, 2015

@Joacim Dahlblom, if you are still looking for a solution to save submitted data in a form on a Confluence page - check the latest version of our Form Mail for Confluence add-on, where our Product Development Team added "Form Mail Inbox - save and view mail sent directly in Confluence" feature! 

Form Mail documentation: http://www.adaptavist.com/doco/display/FMCP/1.+The+New+Form+Mail+for+Confluence

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events