Lookup wizard Home

Introduction
Welcome
System requirements
Licensing details
What is the registration
Using PHPRunner
Working with projects
Templates
What are templates
Cars
Classified ads
Events
Jobs
Knowledge base
News
Paypal
Real estate
Sporting
Vacation houses
Connecting to the database
Datasource tables
SQL query page
About SQL query designer
Query Designer
SQL
Results
Charts
Creating chart and setting parameters
Chart appearance
Using SQL to shape chart data
Reports
Creating report and setting parameters
Report totals and layout
Choose pages
Login page
User login settings
Advanced security settings
User group permissions
Fields order and totals
Miscellaneous settings
Choose theme
Visual Editor
About
Toolbars
Page Elements
"View as" settings
"Edit as" settings
Validation types
Lookup wizard
Events
Output directory settings
After you are done
FTP upload
FrontPage Publishing
Advanced topics
Events
More info about events
Global events
Table events
Page life cycle overview
Predefined actions
Send a simple email
Send an email with new data
Save new data in another table
Insert a record into another table
Check to see if a specific record exists
Display a message on the Web page
Redirect to another page
Custom code
Sample events
Show list of customer orders
Check if start date is ealier than end date
Before deleting a record check for related records
Speed up data entry using events
Publishing PHP application to the remote Web server
Using FTP client to publish PHP pages to the remote Web server
Using FrontPage to publish PHP pages to the remote Web server
Demo Account
What is the Demo Account?
Terms and Conditions
Connect using PHP
Master-details relationships
Using JOIN SQL queries
AJAX-based Functionality
PHPRunner session variables
Debugging tips
Template files processing rules (Files.txt)
Multilanguage support
Useful functions and links
Smarty templates
Stylesheets
Template language
How to control Inline Add/Edit functionality from script
Rich Text Editor plugins
Upgrade Guide from PHPRunner 3.0 and older
PDF view settings
Order PHPRunner online

 
  PHPRunner manual


Visual Editor - Lookup wizard

 

Lookup wizard - dropdown box with list of values. List of values can be entered manually or retrieved from database table (Lookup table).

Custom Display field

Also you can use Custom Expression for Display field to display in dropdown box several values from different fields with custom design.

How it looks in browser:

WHERE expression

The WHERE expression allows to sort dropdown box content. In our example if you put "phone like '%555%'" into WHERE box only Contacts with 555 in phone number will be displayed.

Add new items on the fly

This option puts Add new link next to dropdown box allowing to add new items right on Edit/Add page. Add new item popup is a fully-featured add page.

Lookup wizard as Edit box with AJAX popup

This feature is explained in the following article

 

List of values

Multiline

If you set Multiline to any value greater then one this field will appear as a listbox on Add/Edit pages. To select multiple entries hold Ctrl key while choosing values.

Linked dropdown boxes

You can use dependent dropdown boxes, where values shown in the second dropdown box depend on the value you’ve chosen in the first one.

To do it, check in the dependent dropdown box This dropdown is dependent on ...

Choose Category control - field, defining list of categories and Category field – field from dependent table, containing category value.

After setup press Test it button, to check how it will work.

Edit page with dependent dropdown boxes:

You can also use chain of dependent dropdown boxes. For example, Supplier field content can depends on Products field, which in its turn depend on Products category field.

Also you can have more than one dependent dropdown box tied to the same master dropdown control.

The CHM file was converted to HTML by chm2web software.