Email: support@realestatephp.com
Phone: +1 224 548 8594

To improve the display of the page enable cookies please!

Section 6. Manage fields

Overview

You can customize a set of fields using the Create new property form. This section discusses various actions you can perform in the context of field management. It contains the following topics:

  • Accessing the field management tasks
  • Add a new language for the current language
  • View the list of existing fields for the current language
  • Edit the existing field for the current language
  • Manage elements in the Select and Multiple type fields
  • Delete the existing field for the current language
  • Checkbox groups
  • Add a new checkbox group to the current language
  • View the list of existing checkbox groups for the current language
  • Edit the existing checkbox group for the current language
  • Manage checkboxes within a group
  • Delete the existing checkbox group of the current language

Accessing the field management tasks

Managing a set of fields for a property is one of the main tasks in phpRealestate. It allows you to manage information displayed about a property, and make the property add form easy to work with. You can also control the appearance of property's details in the front-end interface, because some fields have their own templates. You can also create a variety of different field sets for every language.

This section discusses how to use various HTML input controls to create a set of fields for a property, as well as peculiarities of their appearance in the front-end interface.

Use the Fields and Check groups' menus to manage a set of fields for a property (see picture 20).


Picture 20

Add a new field to the current language

Choose Fields > Add to see the Add new field form (see picture 21).


Picture 21

This form has the following fields:

  • The Type drop-down list allows you to select the type of HTML input control for the form, as well as check the format of integer and float numbers.
  • The Name field contains a title of the field which is used in the forms for creating and editing properties. This field is mandatory.
  • The Description field contains field description. This field is used for your notes, it is optional.
  • The Code field contains a short name of the field (a code). It is used in the front-end templates to display this field. The code of the field must be unique within a language. This field is mandatory.

If all of the values are set correctly, then after clicking the Add new button a message is displayed notifying that new field has been added.

Let's look at the types of HTML input control in more detail. The Type drop-down menu contains the following options:

  • Text

This type is used to control the input of one-line text. This is probably the most commonly used input control type, it can be used for the Address or ZIP code fields. Data format is not checked.

  • Textarea

This type allows you to input multi-line text. It is ideally suited for such fields, as Description, if the length of the input text is quite large and it's not convenient to enter it as a single-line text. Data format is not checked.

  • Select

This is a drop-down list of pre-defined options. It is ideally suited for such fields, as Country or State, when it is much easier to form a list of fixed options than to manually fill in this field every time. Data form is not checked.

  • Multiple

This is also a drop-down list of pre-defined options, but unlike the Select type it allows you to select several elements at once. This field can be used to enumerate details that are present (or not present) in a particular property. Data format is not checked. Special templates are required to display this field type in the front-end interface. Details for this field type are displayed in a column (discussed in Section 12 - Templates and internal tags).

  • Integer

This field type is used to control the input of single-line text containing integer numbers. It allows you to avoid accidental mistakes during data input. It can be used for such fields, as the number of rooms, floors etc.

  • Float

This field type is used to control the input of single-line text containing float numbers. It allows you to avoid accidental mistakes during data input. It can be used for such fields, as floor space etc.

View the list of existing fields for the current language

Choose Fields > View / Modify to see the list of existing fields for the current language. Fields are displayed in a table (see picture 22).


Picture 22

The first column of the table contains the name of the field. The second column contains the type of HTML control set for this field. The third column displays the code of the field which is used for the front-end template. The last column of the table lists the action buttons used to edit and delete any field in the list.

Edit the existing field for the current language

After clicking the Edit action button next to any field in the list, the field edit form is displayed. It contains the same fields as the field add form, except for the HTML control type. If all of the values are set correctly, then after you click the Save button you will receive a message notifying that changes have been saved.

Manage elements in the Select and Multiple type fields

To manage elements in the Select and Multiple type fields, click the Edit action button next to the appropriate field in the list of existing fields. Under the field edit form you will see a form to add new elements, as well as the list of existing elements (see picture 23).


Picture 23

The Add new element form only contains the Item name field. This field is mandatory. If this field is filled in correctly, then after you click the Add new button you will see a message notifying that new element has been added. The name of this element will then appear in the appropriate control field in the property add and edit forms, and possibly on the property details page in the front-end interface (if you select this element in the form).

Existing elements are displayed in a table. The first column of the table contains the name of the element. The second column lists the action buttons used to edit and delete elements in the list.

After clicking the Edit action button next to any element in the list a new window is displayed, where you can enter a new name of the element. Click OK to change the name, or Cancel to discard the changes.

After clicking the Delete action button next to any element in the list, a delete confirmation window is opened (see picture 24).


Picture 24

If you click OK, you will see a message notifying that the selected element has been deleted. You cannot delete an element, if it is selected in the property detailed information. Click Cancel to cancel this operation.

Delete the existing field for the current language

After clicking the Delete action button next to any field in the list, a delete confirmation window is displayed (see picture 25).


Picture 25

Click OK to delete the selected field, or Cancel to keep the field. Be careful while deleting fields, because this operation also deletes field data from all the properties for the current language.

Checkbox groups

Using the checkbox groups is another way to add information about a property. Checkbox groups are very similar to the Multiple type fields discussed above, but they differ in their representation of the property add and edit forms, as well as their appearance in the front-end interface. Checkbox groups are also language-dependent.

Checkbox groups can be used to enumerate details, when it is necessary to specify which of them are present in a particular property, and which are not. A checkbox group can be thought of as a set of toggles of Yes/No type (see picture 26).


Picture 26

The front-end interface displays only those toggle titles which are set to Yes.

Special templates are required to display the fields of this type in the front-end interface (see Section 12 - Templates and internal tags). Details for this field type are displayed in several columns, the number of columns is set when you create a group and can be changed in the edit mode.

Add a new checkbox group to the current language

Choose Check Groups > Add to add a checkbox group (see picture 27).


Picture 27

This form contains the following fields:

  • Group name

This name is used as a title of the group in the property details create and edit forms. Besides, this name is displayed as a title of the group in the front-end interface. This field is mandatory.

  • Columns

The number of columns to display group elements in the front-end interface. This field is mandatory. The value of this field must be an integer number.

  • Group code

Short name of the group (a code). This code is then used in the front-end templates to display this group. A code name must be unique for a language. This field is mandatory.

If all of the values are set correctly, then after you click the Add new button you will see a message notifying that new group has been added.

View the list of existing checkbox groups for the current language

Choose Check groups > View / Modify to see the list of existing checkbox groups for the current language. Checkbox groups are displayed in a table (see picture 28).


Picture 28

The first column of the table contains the name of the group. The second column displays the code of the group, which is used in the front-end template. The third column lists the action buttons used to edit or delete groups in the list.

Edit the existing checkbox group for the current language

After clicking the Edit action button next to any group in the list, the Edit group form is displayed. This form contains the same fields, as the Add new group form. If all of the values are set correctly, then after you click the Save button you will see a message notifying that the changes have been saved.

Manage checkboxes within a group

Click on the Edit action button next to any group in the list to manage its checkboxes. Under the edit form you will see a form to add new checkboxes, as well as the list of existing checkboxes (see picture 29).


Picture 29

The Add new checkbox form only contains the Checkbox name field. This field is mandatory. If this field is filled in correctly, then after you click the Add new button you will see a message notifying that new checkbox has been added. Its name will then appear in the property add and edit forms, as well as in the property details page in the front-end interface (if its toggle is set to Yes).

Checkboxes are displayed in a table. The first column of the table contains the name of the checkbox, the second column lists the action buttons, which are used to edit or delete checkboxes in the list.

After clicking the Edit action button next to any checkbox in the list a new window is displayed, where you can enter a new name of this checkbox. Click OK to change the name, or Cancel to discard the changes.

By clicking the Delete action button next to a checkbox in the list you open a delete confirmation window (see picture 30).


Picture 30

Click OK to permanently delete the selected checkbox, or Cancel to keep it.

Delete the existing group for the current language

A click on the Delete action button next to any group in the list opens a delete confirmation window (see picture 31).


Picture 31

Click OK to permanently delete the selected group, or Cancel to keep it. Be careful deleting groups, because this operation also deletes data of this group from all the properties for the current language.



04.12.2010

The experience and high qualifications of our developers and IT professionals of our company have allowed us to develop a unique offer for our new clients. more>>

10.26.2009

Frequent requests for assistance in mobile applications development moved us to establish a new department at Conkurent LLC... more>>

10.26.2009

Ständig zunehmendes Interesse an Weiterentwicklung der Mobile-Anwendungen beförderte die Gründung neuer Abteilung in Conkurent GmbH. more>>

10.23.2009 - Zdenko, Kroatien

Wozu hastiges Surfen im Internet nach einer guten Anwendung, falls man genau wisse, wo sie zu finden ist? Ich bin schon lange der Nutzer von PHPForms, ein wirklich schönes Programmchen more>>

10.23.2009 - Zdenko, Croatia

Why surf the internet looking for good scripts, when you know where to find them. Already user of PhpForms, really nice script, easy to use and to configure, easy more>>

08.21.2009 - Gabriele Ervin

I want to take the opportunity to thank you and all who helped with the Real Estate Manager. I have purchased it last week and really like the program. It more>>
About Features Online Demo Free trial Order Now FAQ Documentation Services Learning Center Support Contact