From: Shaun M. <sh...@ae...> - 2004-04-06 04:16:10
|
On 6 Apr 2004, at 05:08, Don Seiler wrote: > On Tue, Apr 06, 2004 at 05:04:27AM +0100, Shaun Murray wrote: >> I noticed it in a form where you filled in your email address. eg. a >> contact page. The user entered in an address which was getting saved >> in >> the database as a mailto: link. Not terribly useful if you actually >> wanted the email address for processing later but easily avoided by >> not >> using parseOutput. > > I don't think you want to be using parseOutput() to prefill form fields > anyway. It's my opinion that parseOutput() is used for displaying of > that entered data. In a form edit field you'd want to see the raw data > unparsed. > Yep. Almost certainly true else you get weird things like html entities turning back into their characters so the reason you put them in in the first place gets lost. > Where are you seeing this? One of my mods? > Nah, it was in the mailto mod announced on the phpwebsite site a few days ago that I noticed it but thought I'd mention it just in case other people came across it in their modules. Shaun aegis design - http://www.aegisdesign.co.uk |