Date Field, ho to use only a textbox and calendar field?

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
User avatar
wemersonrv
Posts: 12
Joined: 2015-09-08 13:43

Date Field, ho to use only a textbox and calendar field?

Post by wemersonrv » 2015-09-25 16:31

Hi, how can change the date field to use only a textfield and the calendar instead comboboxes for Month, day and Year ?

See the image below:

Image

I need to remove month, day and year... and show only calendar and the date in a textfield

dragon
Veteran Member
Posts: 44
Joined: 2015-09-29 00:06

Re: Date Field, ho to use only a textbox and calendar field?

Post by dragon » 2015-10-15 01:25

In your templateDV file, why don't you do something like this?

Code: Select all

// replace the following or whatever your date

<%%COMBO(date)%%>

Code: Select all

// with the following

<input type="date" class="form-control">
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.

Post Reply