Bug or feature? No formula combination that I have found in the new Forms Designer will allow me to concatenate more than one leading zero to a string.
I have an lookup to an external table that requires an 8-digit number. If the number entered is less than 8 digits, I have to zero-pad it. I have tried various combinations of RIGHT and REPT with CONCATENATE, I have tried using "TEXT()", I have tried formulas that do all the combining in one field and formulas that combine two different fields. So far none of my attempts have succeeded.
I am able to get the correct number of leading zeroes in a stand-alone field. For example, either "REPT(0, 8-LEN(Number))" or "RIGHT("00000000", 8-LEN(Number))" will both return the string of zeroes that I need. However, as soon as I try to concatenate that string with the number (even using "TEXT()"), it will only add a single zero.
With the old Designer, I could overcome this issue with javascript, but cannot do so in the new one. Is this a known bug that has perhaps been addressed in a newer version? Any other ideas for my dilemma?
Using Laserfiche Forms Professional Version 11.0.2201.20436