For whom the code did'nt work try putting the codes mentioned(for Javascript) this.rawValue = this.formattedValue.toUpperCase(); in Initialize event. This has been verified to work only when we just bind the data, not talking about changing or inputing in interactive adobe forms.