[SOLVED] Â Autofill to hidden field |
3/24/2020 12:25:06 PM |
PHPRunner General questions | |
J
jacktonghk authorDevClub member
Does the autofill function work with hidden fields? For a table that I do not show all the fields in the add/edit page. Can I use autofill for the hidden fields? In autofill I can set value for the hidden field, but it does not work unless I show the field on the page. I know I can assign value to the hidden fields in the before update event. Thanks. |
|
![]() |
woodey2002 3/25/2020 |
.............. |
![]() |
woodey2002 3/25/2020 |
If your project uses tabs, have you tried to place the field itself (not hidden) in tab and hide the tab rather than the field itself. |
![]() |
Sergey Kornilov admin 3/25/2020 |
How do you hide those fields? If you hide them through the code they still should be auto-filled and saved in the database. |
J
|
jacktonghk authorDevClub member 3/26/2020 |
How do you hide those fields? If you hide them through the code they still should be auto-filled and saved in the database.
|
![]() |
Sergey Kornilov admin 3/27/2020 |
Do not uncheck those fields via 'Choose fields'. Hide them using the code: |
J
|
jacktonghk authorDevClub member 3/27/2020 |
Do not uncheck those fields via 'Choose fields'. Hide them using the code: https://xlinesoft.com/phprunner/docs/hidefield.htm There is a difference between the field that is on the page but is hidden and the field that doesn't even appear on the page.
|