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

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
Posts: 1
Joined: Thu Feb 20, 2020 4:50 pm

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

Post by JPausch » Thu Feb 20, 2020 4:58 pm

Maybe it is possible to add a new Form-Format-Value of the Category "Special" with Format of IBAN.

User avatar
Site Admin
Posts: 3420
Joined: Wed Jan 03, 2018 6:52 pm

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

Post by TrackerSupp-Daniel » Thu Feb 20, 2020 10:15 pm

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,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Support: <>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Posts: 6
Joined: Tue Feb 18, 2020 8:07 pm

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

Post by TCJCM » Mon Mar 09, 2020 9:33 am

(139.21 KiB) Downloaded 10 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 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"

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14020
Joined: Mon Jan 12, 2009 8:07 am
Location: London

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

Post by Tracker Supp-Stefan » Mon Mar 09, 2020 12:49 pm

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,

Post Reply