Four year old ConfiForms form is now displaying an error in a field when it should be blank.

Cynthia York January 4, 2022

Hello,

I have a Confluence ConfiForms form that one of the fields have an error in it even though it is a read only and should be blank that point.

This field is supposed to display the total of four other fields (dropdowns of numbers), then depending on what the total is (1-10) a different field is supposed to display one of three messages.

It is not affecting the collection of data after a user hits the submit button and it is also not affection the forms ability to calculate, it just looks like an error to the user of the form. I developed this form four years ago and it has never done this before.

It is showing this error: com.udojava.evalex.Expression$ExpressionException: Unknown operator '+++' at position 2. The position number changes in the error depending on which one of the four fields you use.

It also occasionally shows this error: com.udojava.evalex.Expression$ExpressionException: Too many operators or functions at: +.

Once all four fields are populated with a number, the field that is displaying the error, stops showing he error, then calculates and shows the number correctly.  

When searching to see if I could figure this out myself, I was looking through the TEST Space and noticed a couple of the forms are throwing the same type of error.

This one: https://wiki.vertuna.com/display/TEST/Page+to+demo+score+calculation+using+2+methods and this one https://wiki.vertuna.com/display/TEST/Simple+calculation+with+formula+field.

Thanks for any help!

Cynthia

2 answers

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2022

Hi

It looks like you have a formula field that attempts to calculate a value when no values provided for fields it is using

You should probably use ZEROIFEMPTY("[entry.field_name]") for the fields that may be EMPTY

https://wiki.vertuna.com/display/CONFIFORMS/Supported+math+operators%2C+formulas+and+functions

Alex

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2022

Hi @Cynthia York

Feel free to contact confiforms support directly and provide all the detials.  Copying @Alex Medved _ConfiForms_ 

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events