Hi Ashley,

I don't think that your rule needs to be terribly complicated to get the
results you want.  In fact, I'm not sure that you even need a rule at
all.  Could you post what you have so far?  It's hard to determine
exactly what's wrong with the various combinations of settings you are
using without seeing the code.  General suggestions may not apply to
your particular rule.

Regarding the "Suppress if empty" setting, that should still work if you
change it to "Suppress if containing empty variables," even if you're
using entities in place of the space characters.  And if you're simply
pairing up a text label with a field value, you shouldn't need any
JavaScript at all if you use the "Suppress if containing empty
variables" setting, even if you are using extra spaces.  This is
probably the simplest route to go: just use the "Suppress if containing
empty variables" setting, and ditch the rule completely.

Although, if you're writing a rule anyway, the logic to simply output
nothing if your field value is empty is pretty simple.  It's not that
much trouble to just say something like this at the start:

  if (Field("Phone") == "")
    return "";

That will work regardless of the "Treat returned strings as tagged text"
setting.

Dan


+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to