Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Compare Date in ConfiForms

Hello everyone,

I created two forms in ConfiForms. In one there are three fields: Place, Time and Date. In the other form I have a SmartClassifier field which accesses the fields.

Now on another page I have a ListView in which I display the date using SmartClassifierField.Date. On the same page there is an Edit Control with which I can change the values.

Now I want to hide the edit control via "Hide controls when stored data (for given record) matches this criteria" if the date is 72h away from today. I have done this with:

 SmartClassifierField.Date:>([entry._today]-3)

but the "-3" is ignored even if I change the value.


I also tried with

SmartClassifierField.Date:>([today]-3) 

but that didn't work at all.

 

Can someone tell me what I am doing wrong?

Thanks in advance
Martin

1 answer

Hi

Looking at 

SmartClassifierField.Date:>([today]-3)

I have to say that it should work.. but may be the issue is that it is accessed through the smart field and not directly available in the current form

I suggest to work on timestamps in this case

 SmartClassifierField.Date.timestamp:>([entry._today.add(-259200000)])

What is "259 200 000"? It is 3* milliseconds per day (86400000)

Alex

Suggest an answer

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

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

205 views 0 7
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