[SOLVED] Dropdown menu options |
2/28/2012 10:28:29 AM |
PHPRunner General questions | |
F
Francesco_5000 author
Hi, |
|
![]() |
Admin 2/28/2012 |
Sorry, it's not clear if you are talking about the Edit page or about adding dropdown to the list page as per this example: http://xlinesoft.com/phprunner/docs/add_dropdown_list_box_with_values_for_search.htm |
F
|
Francesco_5000 author 2/28/2012 |
Sorry, it's not clear if you are talking about the Edit page or about adding dropdown to the list page as per this example: http://xlinesoft.com/phprunner/docs/add_dropdown_list_box_with_values_for_search.htm Please elaborate.
|
![]() |
Admin 2/28/2012 |
When you setup a dropdown box in PHPRunner add a WHERE clause to filter options i.e. fieldname = 'Off' or fieldname = 'Partially'
|
F
|
Francesco_5000 author 2/29/2012 |
When you setup a dropdown box in PHPRunner add a WHERE clause to filter options i.e. fieldname = 'Off' or fieldname = 'Partially'
|
F
|
Francesco_5000 author 2/29/2012 |
When you setup a dropdown box in PHPRunner add a WHERE clause to filter options i.e. fieldname = 'Off' or fieldname = 'Partially'
|
C
|
cgphp 2/29/2012 |
You can create a custom field: http://xlinesoft.com/phprunner/docs/add_custom_field_to_form.htm {$dropdown_lighting_state}
$str = "<select name='lighting_state' id='lighting_state'>";
this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){
|
F
|
Francesco_5000 author 3/6/2012 |
i've a question... if I create a custom field for the edit page then I find the same field also in the add page? You can create a custom field: http://xlinesoft.com/phprunner/docs/add_custom_field_to_form.htm In the visual editor enter a template variable like this: {$dropdown_lighting_state}
$str = "<select name='lighting_state' id='lighting_state'>";
this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){
|
C
|
cgphp 3/6/2012 |
No, you have to manually create the field for the add page. |