Modifying form fields
To create the form fields, go to “Tourmaster plugin option > General > Payment Page > Contact Detail Fields” section
- Each form field is wrapped by the curly braces {}
- Define the form attribute using “name=value” format (without quotes)
- Separate each attributes using comma
- “slug” and “type” are required attributes
- “slug=email”, “slug=first_name”, “slug=last_name” is required contact detail fields
- “type” can be “text/textarea/email/password/datepicker/combobox”
- Use “options=Name1/Name2/Name3” to define options for “combobox” (selectbox)
- *** slug has to be “English” characters without spaces or special characters.
Example
{slug=first_name,title=First Name,type=text,required=true} {slug=last_name,title=Last Name,type=text,required=true} {slug=email,title=Email,type=email,required=true} {slug=phone,title=Phone,type=text,required=true} {slug=country,title=Country,type=country,required=true} {slug=contact_address,title=Address,type=textarea}
Modifying Invoice Address
1.) Go to “Tourmaster plugin option > General > Invoice Settings > Invoice Customer Address” section
2.) use {slug} to replace the word you want with the data user’re filling.
Example
{first_name} {last_name} {contact_address} {phone}