% Symbol as an field value

prettem

Member
Hello,
do you how to show a % in a form field? I tried something like this

$value = $params['Rabatt'];
//$value = money_format("%.2n", $value);
//$value = sprintf("%+01.2f", $value);
//$value = sprintf('%c', $value.'&37;');
//$value = $value.'&37;';
//$value = sprintf("%%",$value);
$value = $value.ord($value);
$value = $value.chr(37);

nothing happen, no % in my field

best regards
Manuel


About/upgrade​

DaDaBIK™ is a product conceived and developed by Eugenio Tacchini
Copyright © 2001-2022 Eugenio Tacchini
Proudly ❤️ made in Emilia
dadabik.com

Your current DaDaBIK version​

You are using DaDaBIK version 11.6-Elba enterprise, installed on 16.06.2022 (installation code: 1780462288396de6b1), the latest version of DaDaBIK is 11.6-Elba released on 14.06.2022

You are running the latest release of DaDaBIK

In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.

System info​

PHP Version: 7.3.27

mysql version: 5.7.33-0ubuntu0.16.04.1

Web server: Apache

Client: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36 OPR/88.0.4412.53
 
Top