Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we set confiform rules for field definition while on modified and not on created

Dhiraj Kr_ Gupta
Contributor
December 7, 2024

I have a confiform which have field 1 and field 2.

When a user submits a new entry then these fields are not mandatory. 

But when a user click on edit of these submitted records then both field 1 and field 2 are required during modification.

Can it be possible 

1 answer

1 accepted

3 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
December 7, 2024

The easiest way is to check for id

id:[empty] - for new records -> create

!id:[empty] - for existing -> edit

 

Alex

Dhiraj Kr_ Gupta
Contributor
December 7, 2024

OMG, this was tricky.

Thanks Alex💫💫

Dhiraj Kr_ Gupta
Contributor
December 7, 2024

But this is not working 

Field name( or regular expression): id

Condition: !id:[empty] AND Name:[empty]

Action to execute: Validation Rule

Message: Name Required 

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events