| View previous topic :: View next topic |
| Author |
Message |
jasonflory Quite a regular
Joined: 04 Sep 2008 Posts: 11 Location: sf, ca
|
| Posted: Wed Apr 15, 2009 10:16 pm Post subject: Question about conditional text |
|
|
I having trouble adding in the middle initial in a signature. The problem is when i the middle initial it works fine for everyone that has an initial but if the user does not have an initial then it adds an extra space in their signature. I have tried using the conditional text feature but does not seem to work to remove the space. works fine to remove a line but not a space.
Code below:
((First_name)) ((Middle_initials)) ((Last_name)) ((Home_phone))
{$$NULL(Description)$$VALUE( ((Description))
)$$} {$$NULL(Title)$$VALUE( ((Title))
)$$}t +1 ((Telephone_number))
c +1 ((Mobile_number))
f +1 ((Fax_number))
Any help would be much appreciated.
Jason _________________ Jason |
|
| Back to top |
|
 |
Jesper Frier Certified Professional


Joined: 09 Sep 2006 Posts: 1940 Location: Stoevring, Denmark
|
| Posted: Thu Apr 16, 2009 4:48 am Post subject: Coditional text without line break |
|
|
Please enter code view and remove <BR> which is a line break in HTML:
| Code: | | {$$NULL(Middle_initials)$$VALUE(((Middle_initials))<BR>)$$} |
This is the conditional text you can use for Middle_initials:
| Code: | | {$$NULL(Middle_initials)$$VALUE(((Middle_initials)))$$} |
OK now? _________________ </Jesper> | Test Email Signature | Showcase |  |
|
| Back to top |
|
 |
jasonflory Quite a regular
Joined: 04 Sep 2008 Posts: 11 Location: sf, ca
|
| Posted: Mon Apr 20, 2009 6:01 pm Post subject: |
|
|
This is still not working. I get middle initial is not a merge feild. I can save it in code view but then the signature does not render at all.
This is the code:
((First_name)) {$$NULL(Middle_initials)$$VALUE(((Middle_initials)))$$} ((Last_name)) ((Home_phone))
Can you post the code for the entire line (first name, middle initial, last name and home phone)
Do not be thrown off on the home phone number being on the name line. We are using this for peoples credentials. _________________ Jason |
|
| Back to top |
|
 |
jasonflory Quite a regular
Joined: 04 Sep 2008 Posts: 11 Location: sf, ca
|
| Posted: Mon Apr 20, 2009 8:04 pm Post subject: |
|
|
I figured it out. I needed to add another space between the brackets.
As posted:
{$$NULL(Middle_initials)$$VALUE(((Middle_initials)))$$}
I added a space between the brackets see below:
{$$NULL(Middle_initials)$$VALUE( ((Middle_initials)) )$$}
Worked great
Thanks _________________ Jason |
|
| Back to top |
|
 |
Bjarne Mess Certified Professional


Joined: 01 May 2007 Posts: 735 Location: Copenhagen
|
| Posted: Mon Apr 20, 2009 9:23 pm Post subject: |
|
|
Hi Jason,
Great that you can work it out yourself
However, there shouldn't be any issues in having three ('s after each other. Can you please tell me which version of the Cockpit and sign.exe you are using?
Thanks,
bjarne |
|
| Back to top |
|
 |
jasonflory Quite a regular
Joined: 04 Sep 2008 Posts: 11 Location: sf, ca
|
| Posted: Mon Apr 20, 2009 9:35 pm Post subject: |
|
|
The problem was not having 3 )'s but having it in the format of ((( caused errors. When I changed it to ( (( it worked fine.
we are using 5.0.0. Is there newer version than this? _________________ Jason |
|
| Back to top |
|
 |
Jesper Frier Certified Professional


Joined: 09 Sep 2006 Posts: 1940 Location: Stoevring, Denmark
|
| Posted: Tue Apr 21, 2009 6:10 am Post subject: |
|
|
This symptom is fixed in this unofficial version 5.5.0 (Which is the version I use).
Remember to copy Sign.exe from the installation folder to the location where users execute it (typical NETLOGON).
We are soon releasing the official version 5.6.0, so I recommend that you wait as the Cockpit interface is still undergoing changes - and you already solve the problem ...  _________________ </Jesper> | Test Email Signature | Showcase |  |
|
| Back to top |
|
 |
|