Leading space in text field types
4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 23, 2010 (RSS)
By Jim_P - September 22, 2010
Thanks,
Jim
Websites That Work
Re: [Mr Jim] Leading space in text field types
By Chris - September 22, 2010
I don't text fields are stored with a leading space. At least, not intentionally.
You can get rid of leading whitespace using the ltrim() function:
<?php echo ltrim($record['field']) ?>I hope this helps! Please let me know if you have any questions.
Chris
Re: [chris] Leading space in text field types
By Jim_P - September 23, 2010 - edited: September 23, 2010
Seems to be an issue with webkit enabled browsers. Not much I can do about that. Will try to figure another way around it.
Thanks.
Jim
Websites That Work
Re: [Mr Jim] Leading space in text field types
By Chris - September 23, 2010
What browsers, specifically, have this problem. I'd like to do some research and see if we can come up with a solution for this.
Chris