Field editor is the addon that can be used to create the new custom fields in your default forms like inquiry forms. This addon contains features regarding the forms that any user will demand. Trip inquiry field, billing field, and traveler info field are the fields you can either enable or disable as per your wish. Hence, you can make an edit on these fields as well as add some extra fields as WP Travel field editor focuses on the advance custom field.
You can also reset the details of the field on one click. Adding new fields and moving/dragging the fields is possible with this addon. If you are not wanting any field to display, you can delete the field immediately.
Here, Field Editor addon has come up with another option after its new release. You will see new “use traveller info field” which after checking the box will make every field required. And unchecking the box will make itself to fill every field not required or you can skip the fields of the traveller except the lead traveller that we made required earlier while setting each field.
The option “Action” will let you revise what you had made changes in each field and any edit can be made from there too. You can drag the fields which are set by default. The newly added field will have options to create a new name, label, type, ID, class, placeholder and required button. This required button will ultimately decide the form needs to be filled or not required.
Forms provided by field editor option:
From field editor addon we can get three forms among which, trip enquiry field is located at the front page of the trip detail. Basically, to put queries related to trips, this field is used. You can edit with the options available in the fields. You can add text area, checkbox, country dropdown, numbers, email, date, heading and many other options to enhance the trip form that might attract the user. By default, some fields like name, email and enquiry message which we cannot delete.
Another field is billing field which is shown after you fill the booking details and proceed to the checkout page. Billing field also has options to choose to enhance the form. This is the form where you fill the details of billing the trip.
Travellers info field is the field which you will see while you fill the billing form, there you put the information of travellers.
The one thing common in all three fields is, you can either enable or disable the form’s field you wish for. And, adding the advanced custom field is possible in each form field.
The available fields are :
- country dropdown
- text area
You can refer to the documentation for the reference by the link which contains the installation, license, and other helpful content too for the custom field editor.
About the custom field:
In the new field, you add you can also place the information the user fills during the travel like ‘height‘ or ‘food preference‘. It could be any information from simplest to other information. Rather you can make the field required or not utilize advanced custom fields function. So, you can go to the screenshot to clarify the confusion,
For example: If you want the record of food preference of travellers then you can add a field in the Travellers Info field. Using the field editor option in which you can give the options as follows,
Then you can add the option by choosing a checkbox. The added option will be available in the traveller info form field.
You may also be interested in
How to include a new field added through field editor in the email template?