Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,262
Community Members
 
Community Events
168
Community Groups

Confiforms date validation with another date field

I have a wierd behavior in my form  (CONFIFORMS)

I am working with a field that represents the date of the request (filled automatically to today), requestdate.

I have another field which is an interval date to reservation purposes. 

I want to validate that the interval starts after the requestdate. 

In my Confiforms Rules for field Definition I set a validation rule like this:

- FIeld name: theinterval

- Condition: requestdate:>interval.startDate

When we create the entry the validation rule does not work, whereas when I edit the entry it correctly detects the incorrect date.

What am I missing?

1 answer

1 accepted

0 votes
Answer accepted

You should reference the value, not the "text" for "interval.startDate", as you check the field agains the value in the conditions... 

Meaning that the correct one would be

requestdate:>[entry.interval.startDate]

I did what you suggested and set a point '.' in the Validation rule.

 

It worked !! Thank you so much

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

117 views 0 9
Read article

Atlassian Community Events