Page 1 of 1

Maybe new Format of Form-Format-Value "Special"

Posted: Thu Feb 20, 2020 4:58 pm
by JPausch
Maybe it is possible to add a new Form-Format-Value of the Category "Special" with Format of IBAN.

Re: Maybe new Format of Form-Format-Value "Special"

Posted: Thu Feb 20, 2020 10:15 pm
by TrackerSupp-Daniel
Hi, JPausch

It may be possible, but I cannot say for certain at this time, or put forth a feature request without an example of how it could benefit our clients. Could you please describe why you are looking for this special method, and what exactly you would be using it for?

Kind regards,

Re: Maybe new Format of Form-Format-Value "Special"

Posted: Mon Mar 09, 2020 9:33 am
by TCJCM
IBAN.pdf
(139.21 KiB) Downloaded 43 times
I think one can do a simple IBAN format by java script.

Code: Select all

var IBANin = this.getField("IBANin").value;
var IBANout = "";
var kompakt = IBANin.replace(/\s/g,"").toUpperCase();
for (i = 0; i < kompakt.length; i += 4) { IBANout += kompakt.substr(i, 4) + " " }
event.value = IBANout.replace(/\s$/,"").toUpperCase() ;
this.getField("IBANout").value=IBANout;
this is just the simple "input-everything-you-want-2-capital-letter-four-digit-output"
in this case you can further use an IBAN number check on the variable "kompakt"

Re: Maybe new Format of Form-Format-Value "Special"

Posted: Mon Mar 09, 2020 12:49 pm
by Tracker Supp-Stefan
Hello TCJCM,

Many thanks for the help with the JS code!

JPausch - please do let us know if this helps you resolve your issue?

Kind regards,
Stefan