Deactivate DatePicker

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
Zeurk+
Posts: 2
Joined: 2015-05-27 03:53

Deactivate DatePicker

Post by Zeurk+ » 2015-05-27 03:57

How can I deactivate datepicker?
I would use a single date field.

User avatar
shasta59
AppGini Super Hero
AppGini Super Hero
Posts: 231
Joined: 2013-01-08 19:40
Location: Calgary, Alberta, Canada

Re: Deactivate DatePicker

Post by shasta59 » 2015-05-31 13:26

A bit more info please.

When making a post it is very helpful if you post what version you are using such as 5.31, 5.40 etc.

Do you want to deactivate the calendar that comes up?

More info please.

Thanks

Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -

Zeurk+
Posts: 2
Joined: 2015-05-27 03:53

Re: Deactivate DatePicker

Post by Zeurk+ » 2015-05-31 20:41

Hi Alan.
I use AppGini 5.40 (very goog product) .
By choosing a field date or time, AppGini imposes DatePicker or TimePicker, damage not there is a choice !
Yes I want to desactivate the calendar that comes up, it's not beautiful with mobile devices.
I have 2 fields: Date Age
If I put date VarChar, Age does not work .

function updateAge($where = ''){
$sql = "update `table` set `age` = round(datediff('".date('y-m-d')."', `dpi`) / 365.25)";
if($where) $sql .= "where $where";
sql($sql, $eo)

Have you a solution ?

Thanks

jay007
Posts: 17
Joined: 2015-04-29 18:28

Re: Deactivate DatePicker

Post by jay007 » 2015-06-02 14:40

What is your table name? and what name is your date and age fields called.

Post Reply