• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Datepicker only months and year
PostPosted: Fri Jan 10, 2020 3:33 pm 
Offline
Forum Members
Forum Members

Joined: Fri Oct 19, 2012 8:58 pm
Posts: 90
Formbuilder 1.0.2 is working fine, except in the datepicker. If I remove day in dateformat and the day in the date component, the required field is not working. Even if customers have filled a month and year, they get a message that the datefield is not filled. So the question is how can I get a working datefield with only months and year?
I'm using cms ms 2.2.12


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Datepicker only months and year
PostPosted: Fri Jan 10, 2020 5:59 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 904
Location: Victoria, BC
When I've done this I just hide the day field with css/js. Give it a default value so it passes validation, but the visitor doesn't see it.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Datepicker only months and year
PostPosted: Fri Jan 10, 2020 7:23 pm 
Offline
Forum Members
Forum Members

Joined: Fri Oct 19, 2012 8:58 pm
Posts: 90
Thanks Digi3. Your solution works.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting