Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to give a field a default value
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: How to give a field a default value
Okay, so you want a Blank Replacement Value, not a Default Value.
In which case, you place the code there.

As for your PHP, you need to globalise your $sub and $build variables, otherwise nothing outside the template can actually access them.
You may wish to review your code though.  There's certainly stuff in there that you probably aren't intending, and the logic seems unnecessarily complicated.

My Blog
02-27-2013 09:31 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
How to give a field a default value - JimR - 02-26-2013, 05:11 AM
RE: How to give a field a default value - ZiNgA BuRgA - 02-27-2013 09:31 AM

 Standard Tools
Forum Jump: