Published the Calculated Fields Form v1.0.22 (Pro v5.0.24, and Dev v5.0.26)

The current update of the plugin includes new and very important features:

  • Allows selecting multiple eMail fields in the form for sending the confirmation eMails to the users. The previous versions of the plugin allow selecting only one eMail field in the form.
  • Modifies the File fields, including the “multiple” attribute to allow uploading multiple fields, through a same file field.
  • Allows the use of attributes in the fields tags inserted in the Thank You page, and in the notification email, giving to the user more controls over the submitted information.

The tags to be used in the notification emails to display the forms information are:

<%INFO%>, the tag <%INFO%> is replaced by the labels and values of fields that are submitted from the form.

To insert only specific fields, use the format <%fieldname#%>, for example, if you want include the fieldname1 and fieldname3 in the notification email, use the tags <%fieldname1%>, and <%fieldname3%>, the tag will be replace by the pair: label-value of field.

To insert only the field’s label, use the format <%fieldname#_label%>, for example <%fieldname1_label%>

To insert only the shortlabel (that is used too in the CSV files), use the format <%fieldname#_shortlabel%>, for example <%fieldname1_shortlabel%>

To insert only the field’s value, use the format <%fieldname#_value%>, for example <%fieldname3_value%>

To display all previous tags only if the fields have been filled by the users, you should use the attribute if_not_empty in the tags:

<%INFO if_not_empty%>
<%fieldname# if_not_empty%>
<%fieldname#_label if_not_empty%>
<%fieldname#_value if_not_empty%>

There are other special attributes to use in the tags. The values of the attributes are closed between the symbols {{…}}:

before: The attribute allows to define a symbol, or a HTML tag, to display before the field in the notification email <%fieldname# before={{<strong>}} after={{</strong>}}%>

after: The attribute allows to define a symbol, or a HTML tag, to display after the field in the notification email <%fieldname# after={{<br />}}%>

These attributes give a big control over the information included in the notification emails. For example, inserting a tag like:

<p><%fieldname1 if_not_empty%></p>

Inserts in the notification email, the pair of tags: <p></p>, if the value of the “fieldname1″ field is empty. But if you inserts the previous tag with the attributes: before and after, like follow:

<%fieldname1 if_not_empty before={{<p>}} after={{</p>}} %>

The pair of tags <p></p> won’t be inserted in the notification email, if the value of the fieldname1 field is empty.

separator: Allows to define a separator symbol to insert between the field’s label, and its value. For example, if you insert the tag like: <%fieldname1 separator={{:}}%>, it would be replaced by field label : field value

To display the final price, after apply the discount if was defined, use the tag <%final_price%>

To display the coupon/discount applied, if was applied a discount, uses the tag <%coupon%>

To display the payment option selected, in case that PayPal has been set as optional, use the tag<%payment_option%>

http://wordpress.dwbooster.com/forms/calculated-fields-form

Comments are closed, but trackbacks and pingbacks are open.