Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confiforms date field - Manual entry defaults to Dec 31 1969

Good morning,

Quick question regarding date fields in Confiforms. 

I have a date field and it appears that the user can enter in different date formats in the field (ie: 08/10/2019) whereas the date picker format is MMM dd, yyyy. When the record is saved, it doesn't throw an error and if I go in to "Edit" the record the date is displayed as "Dec 31, 1969" 

Might be a validation rule I need to set but was unable to find any literature online. let me know if there's a fix for this, thanks!

1 answer

1 accepted

If a value given by the user cannot be parsed then it is set to "initial value" of a timestamp, which is what you see.

The easiest way is either to use a regular expression validation on a date field or have a field definition rules macro that verifies the date's timestamp is bigger than 0 (if you allow dates after the Dec 31, 1969 only)

Alex

Are you able to elaborate a bit or provide an example of how this is done?  How would I phrase that in a field definition rule?

Could you actually tell me the version of ConfiForms you are using, as I was not able to really set anything else into a date field than the value that is accepted by the "date pattern"

 

Screenshot 2020-11-02 at 20.19.16.png

It's an older version of Confiforms 2.0.31

Could I not just code a validation rule to force the date format from the date picker? I tried MMM dd, yyyy but it kicks back dates from the date picker as well, am I missing something?

Please update your version. You are using something what is 1.5 years old and we have had so many updates during since.

The current version of ConfiForms app is so much better than the one you have...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

187 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you