This topic is locked

fields in add and list view

11/9/2008 10:27:05 AM
PHPRunner General questions
S
szjunior author

Hello,
For instance I have the following tables.

J
Jane 11/10/2008

Hi,
you can set up cod1 field as lookup wizard on the "Edit as" settings dialog on the Visual Editor tab and select custom expression as display field on this dialog.

Here is a sample custom expression:

concat(FieldName1,' ',FieldName2)

S
szjunior author 11/10/2008

Hi Jane,
Right !.. but if I want to put the value in a field for future calculation, How to do that ???
For example, I choose FieldName1 (cod01) from the popup and the FieldName2 go to the field qt01.
cod1 |FieldName1| <- popup
qt01 |FieldName2 that was concat| .
thanks

Hi,

you can set up cod1 field as lookup wizard on the "Edit as" settings dialog on the Visual Editor tab and select custom expression as display field on this dialog.

Here is a sample custom expression:

J
Jane 11/11/2008

Hi,
I suppose you need dependent dropdowns for this purpose.

Check "How to setup dependent dropdown boxes on Edit/Add pages" tutorial here:

http://www.xlinesoft.com/phprunner/php-database.htm