Form only demo Archives | phpGrid - PHP Datagrid Create PHP grids in minutes, not hours. Mon, 22 Feb 2021 18:48:05 +0000 en-US hourly 1 CodeProjecthttps://wordpress.org/?v=7.0.3 129966043 Form-Only Edit Mode https://phpgrid.com/example/form-only-mode/ Fri, 14 Oct 2016 00:33:58 +0000 http://phpgrid.com/?p=9044

* Please note this feature is only available in commercial licenses (7.0+) phpGrid now supports form only mode – displaying theĀ form without showing the grids. It is extremely useful for order entry purpose to collect data from users without giving them access to all your data. Luckily, you can do this with a single line […]

The post Form-Only Edit Mode appeared first on phpGrid - PHP Datagrid.

]]>

* Please note this feature is only available in commercial licenses (7.0+)

phpGrid now supports form only mode – displaying theĀ form without showing the grids. It is extremely useful for order entry purpose to collect data from users without giving them access to all your data. Luckily, you can do this with a single line of code.

The form will remain on the screen after each submit. It also clears the form for the next order entry. You can even enhance the edit form to include group header caption and tooltips.

Note that you must enable edit and set edit mode to FORM. The form_only method is ignored in INLINE mode.

1
$dg -> form_only();

Live demo!

The post Form-Only Edit Mode appeared first on phpGrid - PHP Datagrid.

]]>
9044
Enhance Edit Form https://phpgrid.com/example/enhance-form-group-header-tooltips/ Fri, 14 Oct 2016 00:33:58 +0000 http://phpgrid.com/?p=9045

There are many ways to enhance the edit form in regular datagrid + form, or just in form-only mode. In version 7.0, there are two new functions at your disposal, add_form_group_header() and add_form_tooltip(). Each provides a simple way to include additional text to annotate the form. In form only mode, the form will remain on […]

The post Enhance Edit Form appeared first on phpGrid - PHP Datagrid.

]]>

There are many ways to enhance the edit form in regular datagrid + form, or just in form-only mode. In version 7.0, there are two new functions at your disposal, add_form_group_header() and add_form_tooltip(). Each provides a simple way to include additional text to annotate the form.

In form only mode, the form will remain on the screen after each submit.

1
2
3
4
$dg->enable_edit('FORM')->form_only()
  ->add_form_group_header('employeeNumber', 'Employee Details')
  ->add_form_group_header('email', 'Other Info')
  ->add_form_tooltip('email', 'Got mail?');

Live demo!

The post Enhance Edit Form appeared first on phpGrid - PHP Datagrid.

]]>
9045
Load Existing Record into Form (Form-Only Mode) https://phpgrid.com/example/load-existing-record-form-form-mode/ Fri, 14 Oct 2016 00:33:58 +0000 http://phpgrid.com/?p=9048

* Please note this feature is only available in paid versions.   You can load existing record data from database table into the edit form. This feature is only supported in form-only mode. In form only mode, the form will remain on the screen after each submit. If you would like the form to redirect […]

The post Load Existing Record into Form (Form-Only Mode) appeared first on phpGrid - PHP Datagrid.

]]>

* Please note this feature is only available in paid versions.

 

You can load existing record data from database table into the edit form. This feature is only supported in form-only mode.

In form only mode, the form will remain on the screen after each submit. If you would like the form to redirect after submit, please see redirect_after_submit() method.

1
$dg->enable_edit('FORM')->form_only()->load_form(8888);

Live demo!

The post Load Existing Record into Form (Form-Only Mode) appeared first on phpGrid - PHP Datagrid.

]]>
9048