Cronoforms 2.5
I have a field that takes a dollar amount.
It is stored in the 'saved data' table correctly.
However it does not come out correctly in the email template.
ie,
$50000 comes out as 000
$50,000 comes out as ,000
$50000.00 comes out as ,000.00
Can anyone tell me where in the code to look to fix this?
Hi wizdum,
you are using the template or the elements titles ? you should find both at chronocontact.php but I want to know more about the issue!
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max. I am using the email template.
outputting the field in html eg <td>{ReqBaseSalary}</td>
I checked the html source and the dollarsign and first two digits are missing if a dollarsign is included.
ok, try to add the field value as \$50000, backslash before it, what happens ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
great, thanks for letting me know this!😉
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Wizdum,
could you please expand on how you fixed this or post the source code for chronoform.php?
I tried changing "preg" to "str" and it broke it.
Thanks, I'm very new at this..
Hi, try mine:
[attachment=0]chronocontact.zip[/attachment]
Cheers
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?