Read Only Date Field

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
davidc
Posts: 4
Joined: 2015-07-13 13:13

Read Only Date Field

Post by davidc » 2015-08-04 11:11

If you have a read only date field, then when the table is updated the date gets reset to the default date or zero date if none.
This is because, despite being set as read only, the date field is appearing in the update sql statement in the <table>_dml.php file.
I am using AppGini 5.41

Ola Yakout
AppGini Intern
Posts: 19
Joined: 2016-02-07 13:24

Re: Read Only Date Field

Post by Ola Yakout » 2016-02-15 11:22

useful link for you : http://bigprof.com/appgini/tips-and-tut ... -in-fields

take care you should set default date in form 2009-2-1 (or any other date in the format yyyy-m-d) as shown in tutorial without using this tags <% %>

example :
in field date in AppGini
Default 2009-2-1
and make read only checked

Post Reply