Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

don't show the calcendar

Questions related to using nuBuilder Forte.
Post Reply
Martin
Posts: 30
Joined: Fri Nov 09, 2018 5:42 pm

don't show the calcendar

Unread post by Martin »

Hi, wow do I prevent the calendar of a date field from being displayed? This makes little sense when entering a date of birth. Thank you.
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: don't show the calcendar

Unread post by admin »

Martin,

In the Javascript section of the Form put this...

Code: Select all

$('#act_dob').attr('onclick', null)

Steven
Martin
Posts: 30
Joined: Fri Nov 09, 2018 5:42 pm

Re: don't show the calcendar

Unread post by Martin »

Works like a charm!
Lala
Posts: 43
Joined: Thu Nov 07, 2024 11:46 pm
Has thanked: 10 times
Been thanked: 4 times

Re: don't show the calcendar

Unread post by Lala »

How can you stop the calendar showing in a subform grid?
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: don't show the calcendar

Unread post by kev1n »

Hi,

Add the attribute "nu-disable-calendar" to the objects you'd like to disable the calendar.

nu-disable-calendar_attribute.png
In nuforms.js, add this line:

nuform.js.jpg

(This is already included in the latest on Github)
You do not have the required permissions to view the files attached to this post.
Lala
Posts: 43
Joined: Thu Nov 07, 2024 11:46 pm
Has thanked: 10 times
Been thanked: 4 times

Re: don't show the calcendar

Unread post by Lala »

Thank you!
Post Reply