You are viewing limited content. For full access, please sign in.

Question

Question

Specifying Range in Laserfiche Forms?

asked on June 25, 2014

I have a Laserfiche Forms field set as a number field but need to restrict it to a range from 1900 to 2050. I believe that is what the "Range" parameter is used for when editing the field but nothing I enter seems to make a difference. If I set it to the range I want (1900 thru 2050), the form still allows any numeric number to be entered and submitted. Example: It will allow the value: 123.

 

Am I missing something here or not understanding the "range" parameter?

 

Thanks,

Eric

 

0 0

Answer

SELECTED ANSWER
replied on June 25, 2014 Show version history

The issue is that you have two forms associated with your business process: Starting Form and Application Start. In the Business Process Modeler, your message start event is configured to use the Starting Form and not Application Start.

 

When looking at Starting Form, the Year field is just a single line field and not a number field with a configured range. You need to edit the properties of the message start event to use the Application Start form. Or if the intent is to actually use the Starting Form, then you need to remove the current "Year" field and instead use a number field and rename that to "Year" while also specifying the range to be 1900-2050.

 

Regards

0 0

Replies

replied on June 25, 2014

Hi Eric,

 

What version of Forms are you using? What web browser is being used to fill out the form and submit it? I performed a generic test and wasn't able to recreate the issue. However, I'd like to take a look at your specific form to see if something else may be a factor. Please download the business process containing the form as an .xml file. Then rename the extension to .txt and attach it to this thread. Or if you prefer, you can contact your Laserfiche reseller to open a support case and provide the business process .xml file that way.

 

Regards

0 0
replied on June 25, 2014 Show version history

Hi Alexander,

We are using Laserfiche Forms Version 9.1.1.1517. The browser for making the edits is IE 11.0.9600.16518.

Have tried submitting the form with IE11 and Firefox 30.0 with same results. Values less than range are accepted.

 

Attached is the exported xml with txt extension.

 

Thanks for looking into this.

 

Eric

0 0
replied on June 25, 2014

The field in question on the uploaded xml file is the "Year" field.

0 0
SELECTED ANSWER
replied on June 25, 2014 Show version history

The issue is that you have two forms associated with your business process: Starting Form and Application Start. In the Business Process Modeler, your message start event is configured to use the Starting Form and not Application Start.

 

When looking at Starting Form, the Year field is just a single line field and not a number field with a configured range. You need to edit the properties of the message start event to use the Application Start form. Or if the intent is to actually use the Starting Form, then you need to remove the current "Year" field and instead use a number field and rename that to "Year" while also specifying the range to be 1900-2050.

 

Regards

0 0
replied on June 26, 2014

Thanks Alexander. Indeed, that did fix the issue. I have no idea how we got two separate forms associated with that particular business process. I didn't originally set this form up but it is working now that I updated the process to use the correct form.

 

Thanks,

Eric

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.