Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A Smarter Question?

    Ok, it turns out I didn't really have a Position Table problem, just a thinking problem. But here's a smarter question:

    Can I get empty document variables to appear on a page without displaying that annoying:

    "Error! No document variable supplied." ?
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: A Smarter Question?

    Yes, you can, but it requires an { IF } field. Here's what it looks like for the (equally annoying) message for an empty document property.

    { IF { DOCPROPERTY xxx } = "Error! Unknown document property name." "Custom Document Property xxx not set." "{ DOCPROPERTY xxx }" }

    You could simply have a blank string "" instead of my more friendly error message.

    Hope this helps,
    Charles Kyle Kenyon
    Madison, Wisconsin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •