Hi,

I am developing a simple job search site in CakePHP 1.2 and I have a
problem with the text form helper. When editing a job I have a text
box to enter a salary e.g. "£24,000-£30,000 a year" so I have used the
form helper in my edit view like this:

[code]

<?php echo $form->text('Job.salary', array('value' => $job['Job']
['salary']))?>

[/code]

This gives me an empty text box if $job['Job']['salary'] contains a £
sign, if I enter anything without a £ sign it's fine. Does anyone know
a good way of correcting this? I tried using the clean function but it
doesn't strip £ signs out. Also I don't think this happened in 1.1.

Any help would be appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to