Echo variable inside of textbox

14 posts by 4 authors in: Forums > CMS Builder
Last Post: November 18, 2011   (RSS)

Re: [Jason] Echo variable inside of textbox

By gkornbluth - November 17, 2011 - edited: November 18, 2011

See, that's the difference between us tinkerers and someone who really knows how to write elegant code.

Thank you Jason.

The solution you suggested worked perfectly.

It may not be possible, but do you have any ideas for how to eliminate the blank line that's left in the viewer when there's no information in the $special locations variable?

Again, thanks...

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Jason - November 18, 2011

Hi Jerry,

Good catch, I removed the extra ; in the previous post.

One thing you could do is remove the blank space between *var6* and the next line. Then, in the $special string, you can add an extra "\n" to put a blank line after *var6* if a value is there.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Echo variable inside of textbox

Great idea.

And I've learned a bit about arrays as well.

We are lucky to have you around.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php