1
zorro87
“user profile” Module: How to make a mandatory date field?
  • 2010/1/4 21:46

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


Hi!

In “user profile” module (1.56)
You can add a date field very easily for a birthday for example.

When you register or edit your profile
The date can be selected by using a calendar.
(The calendar is very nice!)

We can set a date field as mandatory
But we must set a default date.

The default date will be saved if you don’t change it!
It seems that we cannot set an empty date as default to make it really mandatory.

How to make a mandatory date field ?


Thank you for your help…

@+
Z

This question was ask in this post (2009/3/27)

Trabis answer was:
Quote:
I understand the problem, there should be check to see if date was changed or not, maybe in JS validation code.

Login

Who's Online

166 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits