Hello,
We have a customer who uses Laserfiche to integrate with an ERP system. Part of this involves filling out metadata in Laserfiche and at a certain point in the process, we take that metadata, generate an XML file, and the ERP system consumes that data. One of these pieces of info we want to send is a GL code.
The ERP system is expecting the GL code to follow a certain format: 01-2222-33-44-55. It's always that \d{2}-\d{4}-\d{2}-\d{2}-\d{2} format. Additionally, this field is part of a field group, and is dynamic - we display the corresponding GL description when a user enters the GL code. The source data contains the dashes, so we need those if we're going to display the GL description.
In my tests, the constraint works just fine if this field isn't dynamic. The user can just type in the 12 digit GL code and the dashes are placed in the appropriate spot. However, it does not work if the field is dynamic - the dashes just get pushed to the end as the user inputs the GL code. Is there a way around this?
Thanks!
Question
Question
Can we make a field constraint work with dynamic fields?
asked on September 8, 2021
•
Show version history
0
0
Replies
You are not allowed to reply in this post.
You are not allowed to follow up in this post.