dokuwiki-plugin-bureaucracy icon indicating copy to clipboard operation
dokuwiki-plugin-bureaucracy copied to clipboard

$0 substitutes for field label when form submits

Open ali-of-cia opened this issue 10 years ago • 1 comments

Hi,

I have a description field label called description. Whenever someone submits a description with $ followed by a number it is substituted for the label name.

Example: if a user types:

The amount was $0.00

It appears as

The amount was @[email protected]

I have tried some escape characters with no luck. Any suggestions?

Thanks!

ali-of-cia avatar Jan 06 '15 18:01 ali-of-cia

I recently had a similar issue using this with pagemod.

If a user submitted the data "$100" via a textarea box, pagemod would output the result as "0". It seems the first 2 numbers after a dollar sign always truncate, or result in a field label. The same thing does not happen to letters.

Escaping the dollar sign with a "" (Ex. "$100") achieved the desired result for me.

iamedd avatar Jul 03 '15 19:07 iamedd