Show/Hide Toolbars

Navigation: Using PHPRunner > Visual Editor > "View as" settings

PHPrunner32x32     PHPRunner manual


Visual Editor - "View as" settings

Scroll Prev Next More

 

 

 

 

 

You can customize your data appearance on the List/View/Print/Export pages using formatting options on the "View as" settings dialog. You can define your field settings for all pages at once or separately for each page.

To control the filed appearance on the page click right button over the field and choose Properties.

visual_editor_3

To set different field formats for different pages enable the Use different settings for all pages check box. Depending on selected format you will see different box-dialogs.

visual_editor_view_as

Copy settings option allows you to copy field settings from another field.

copy_field_settings

Field events option allows to perform an action when cursor enters edit field or leaves it or mouse is over a field. Perform any sort of validation, make other fields hidden or required etc. Designed to work on Add, Edit, View and Register pages.
For example, the mouseover event is fired when a pointing device is moved onto the element.

See also How to access fields in the field events

visual_editor_view_as_field_ev

Short Date

Dates will be displayed in short format ( 02/17/2003 ).

Long Date

Dates will be displayed in long format ( 17 February 2003 ).

Datetime

Datetime values will be displayed as date and time ( 02/17/2003 14:22:03 ).

Time

Datetime values will be displayed as time ( 14:22:03 ).

Currency

Numeric values like 14000 will be displayed as $14 000.00 ( actual format depends on your system regional settings like currency symbol, decimal symbol etc.).

Percent

Example: 0.38 will be displayed as 38%.

Hyperlink

Choose this format if you store hyperlinks in this database field. Those hyperlinks will be made clickable automatically.

Email Hyperlink

Choose this format if you store email addresses in this database field. It will be converted into mailto HTML code automatically.

File

Choose this format if you store files in this field. For more information, see "View as" settings: File.

Image

Choose this format if you store images in this field. For more information, see "View as" settings: Image.

Phone number

Formats number as a US phone number. Supports 7-digit or 10-digit numbers (123) 456-7890 or 123-4567.

Number

Choose this format if you like to format this field as a number. You can set the default number of digits after the comma for all numeric fields.

view_as_number

HTML

Use this view type when you store formatted HTML code in database field and wish to display this HTML code on the list page.

Checkbox

Use this view format to present field value as a check box. Works best with the following data types:

MS Access: Yes/No field

SQL Server: TINYINT or BIT field

MySQL: TINYINT

Oracle: NUMBER(1)

Map

Allows adding maps to your web pages. For more information, see "View as" settings: Map.

Custom

Allows formatting field values by adding php code. For more information, see "View as" setting: Custom.

Audio

Choose this format if you store audio files in this field. For more information, see "View as" settings: Audio.

Video

Choose this format if you store video files in this field. For more information, see "View as" settings: Video.

QRCode

The QRCode control allows you to add QR Codes to your pages. For more information, see "Edit as" settings: QRCode.