Forums

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

Trigger custom validation before save in ConfiForms (since IFTTT runs only after record creation)

Fathima Naushin A R October 15, 2025

Hi everyone,

 I’m trying to run a custom validation before saving a ConfiForms record — but since IFTTT rules trigger only after the record is created, I need a way to validate at the submission stage itself.

Scenario:

My form uses conditional visibility — some fields appear only based on earlier selections. I want to ensure that all visible fields are filled in before the form is saved. These fields can’t be marked as required, because they aren’t always shown.

What I tried:

  • Created a “required” checkbox field to act as a JavaScript trigger 
  • Added custom JavaScript to check all visible fields and then submit the form using: find(':submit').click(); 
  • However, this doesn’t record field values properly.
  • The ConfiForms source code doesn’t define a direct field name or selector for the submit button

Looking for a reliable way to:

  1. Run a custom JavaScript validation before save, and
  2. Still ensure all field values are correctly recorded when the form is submitted.

Has anyone implemented something similar or found a workaround to hook into ConfiForms’ form submission event for custom validation?

 

Thanks in advance for any suggestions or examples!

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
October 15, 2025

You can see how one can access field values from the form using the "Run custom JavaScript" action of the ConfiForms Field Definition Rule macro

But I strongly suggest trying to implement validation rules with a "Validate rule" action of the ConfiForms Field Definition Rule macro 

(multiple rules to target specific fields and cases)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events