Form shortcode attributes

Attribute Description Example
1 If set trys to load a form template with the name; must come as first attribute [easy_form templatetitle]
resource ID of standard resource; get added as hidden field if no [resources] and no [hidden resource] field is avaiable; get selected in [resources] field if it has no value attribute resource=”213″
price If value is 1 it displays the price after submit of form price=”1″
multiple “full”,”popup” – enable multiple reservations in a row and define the appeareance multiple=”full”
multiple=”popup”
resourcename Title for resources for reservations table in multiple mode resourcename=”room”
cancel Value of cancel button cancel=”Back”
credit Title after submit of credit card form credit=”‘Your reservation is complete”
submit Title after submit of or multiple reservations submit=”Your reservation was sent”
validate Title after submit of single reservation in multiple mode validate=”Reservation was validated succesfully”
subcredit Message after submit of credit card form subcredit=”We\’ll contact you soon”
subsubmit Message after submit of or multiple reservations subsubmit=”Please continue by selecting a payment gateay”
subvalidate Message after submit of single reservation in multiple mode subvalidate=”Either make another reservations or continue to the payment procedure”
style Style of form; “none”, “blue” or “premium” style=”premium”
width To set the width of the form in percent width=”90″
bg Background of overlay and popup in multiple reservations mode bg=”#fff”
pers If value is 1 it displays the persons in reservations list in multiple mode pers=”1″
discount number: to set a default discount for payments without or before the discount form; must be 1-99 discount=”50″
payment 0: disable payments; 1: normally button after submit (default); 2: automatically redirect to payment gateways form – only works if just one getway is enabled payment=”1″
datefield To add the datepicker to more fields in the form; best to use with a text custom field datefield=”custom-field-req-date”

to top

Form template tags

Tag Description Standard Attributes Example
date-from Text field with datepicker for day of arrival;
value can be a date or a number with a + plus before for today plus number days
Required value, title, style,disabled [date-from value=”+14″]
date-from-hour Select field 00-23 for the arrival hour;
value can be a number from 0-23
12 value, title, style,disabled [date-from-hour value=”12″]
date-from-min Select field 00-59 for the arrival hour;
value can be a number from 0-59
0 value, title, style,disabled [date-from-min value=”30″]
date-to Same as date-from for the day of departure Arrival + 1 Billing unit value, title, style,disabled [date-to value=”+21″]
date-to-hour Same as date-from-hour for the day of departure 12 value, title, style,disabled [date-to-hour value=”18″]
date-to-min Same as date-from-min for the day of departure 0 value, title, style,disabled [date-to-min value=”30″]
units Select for billing times; alternative to date-to
value can be a integer number between min and max
1 1 – minimum amount
2 – maximum amount
value, title, style, disabled
[units 1 10 value=”4″ style=”width:100px”]
resources Select of all resources
value can be a resource’s ID
Required exclude – exclude resources by comma seperated IDs
value, title, style, disabled
[resources value=”236″ exclude=”234,534,67″]
adults Select for amount of adults
value can be a integer number between min and max
1 1 – minimum amount
2 – maximum amount
value, title, style, disabled
[adults 1 15 value=”4″]
childs Select for amount of children’s
value can be a integer number between min and max
0 1 – minimum amount
2 – maximum amount
value, title, style, disabled
[childs 1 10 value=”1″]
thename Text field for name of guest Required value, title, style,disabled [thename]
email Text field for email of guest Required value, title, style,disabled [email]
country Select of countries value, title, style,disabled [country value=”US”]
custom Form elements which selected or entered value get attached to the reservations
Can be made required
value can be used to pre-fill or pre-select the fields
1 – “text”, “textarea”, “checkbox”, “radio” or “select” – field element
2 – title of custom field without whitespace
3 – options for radio or select field
* – at the end of tag to make the field required
value, title, style, disabled
[custom text zipcode value=”00000″ *][custom select extra “yes,no,maybe”]
price Form elements field which selected  value can change the price and get attached to the reservations
Price can be multiplied by persons, billing units or both
value can be used to pre-select the fields
1 – “checkbox”, “radio” or “select” – field element
2 – title of price field without whitespace
3 – options with value and amounttitle, style, disabledend – “pp”: per person, “pn”: per billing unit or “pb”: per both at the end of the tag to multiplicate the selected price
[price checkbox cleanup “yes:20” pn][price select drink “luxury:50,normal:25,none:0”]
hidden To provide informations for the reservations without having the guests to select or enter them. 1 – “resource”, “from”, “to”, “units”, “adults”, “childs” or custom – type of hidden field; custom means you can technically make any field hidden by inserting its name
2 – value of the hidden field; must be same format as the related normal fields
[hidden resource 123][hidden from 22.10.2013][hidden country US]
infobox Show informations and/or image of the current selected resource. Changes on selection. Each part of it can be deactivated. img – “yes”: show thumbnail of resource
img_y – height of thumbnail
img_x – width of thumbnail
title – “yes”: show title of resource
content – number defines after how many signs of the content gets displayed
excerpt – number defines after how many signs of the excerpt gets displayed
theme – “big” | “medium”delete attribute to disable a featuretitle, style
[infobox title=”yes” content=”400″ img=”yes” img_x=”100″ img_y=”100″ theme=”big”]
captcha Simple captcha image and text field title, style [captcha]
show_price Display the price as of the current form inputs; refreshes after related form changes title, style [show_price style=”background:#fff”]
error Displays errors in the forms while filling out and summarize them on submit error_title – title of the error box
error_message – message of the error box
title, style
[error error_title=”Title of error” error_message=”Message of error”]
submit Submit button Required value, title, style,disabled [submit value=”Reserve!”]
lang To provide multilingual content default: default translation; language tags: for each translation [lang default=”Hello” de_DE=”Hallo” es_ES=”Ola”]
:lang_Code To translate whole parts of the content; unlimited length [:de_DE]Guten Tag[:es_ES]Buenas tardes[:else]Good day[:end]

to top

Email template tags

Tag Description Example
<br> Whitespace to force a new line in emails content Row1<br>Row 2
adminmessage Message of the text areas in dashboard; only works in mails to guest [adminmessage]
ID ID of reservation [ID]
thename Name of guest [thename]
email Email of guest [email]
arrival Arrival date; pattern by time reservations setting and date format [arrival]
departure Departure date; pattern by time reservations setting and date format [departure
units Amount of billing units [units]
reserved Days between reserveration and arrival [reserved]
adults Amount of adults [adults]
childs Amount of children’s [childs]
country English name of country [country]
resource Name of resource [resource]
resourcenumber Name of resource number; won’t work properly for reservations in a resource that’s available by persons [resourcenumber]
price Price of reservation [price]
paid Paid amount [paid]
customs All custom fields if no attribute1 – title of custom field to get its value [customs]
[customs title]
prices All price fields if no attribute1 – title of price field to get its value and amount (value:amount) [prices]
[prices title]
changlog Changelog of most changes; only works in mails after editing [changelog]
editlink Link to guest control panel [editlink]
paypal Link to paypal
1 – Discount in percentage 1-100
2 – “title” enter a name to make a link for html emails
[paypal]
[paypal 30]
[paypal x “Pay with PayPal”]
lang To enter multilingual content [lang default=”Hello” de_DE=”Hallo” es_ES=”Ola”]
:lang_Code, :else, :end To translate whole parts of the content; unlimited length [:de_DE]Guten Tag[:es_ES]Buenas tardes[:else]Good day[:end]

to top

Calendar attributes

Attribute Description Example
resource Standard resources ID resource=”234″
width Width of calendar as number, in pixel or percent width=”50%”
width=”300px”
price 0: Don’t display price in calendar (default);
1: Display price as integer and with currency sign
2: Display price as integer
3: Display price with money format and currency sign
4: Display price with money format
price=”3″
style 1: simple; 2: modern; 3: boxed; “custom”: custom style; “premium”: premium style for the calendar style=”2″
monthes Display months by flexible grid Columns * Rows monthes=”3×2″
header 1: Show header with months name over each calendar header=”1″
req 1: Requirements for start and end days influence the selectability of the calendar req=”1″
interval number: amount of monthes that skip on next/prev month function interval=”3″
select 0: Disable selection of calendar; 1: Enable one click for arrival field; 2: Enable two clicks for arrival and departure fields (default) select=”1″

to top