code within an html form

Pete Schuder pschuder at bu.edu
Mon Apr 7 16:02:45 PDT 2008


Hi: I am a little rusty on Panorama code, but I thought I was getting this
right.

 

What I am trying to do is put parentheses around  the text field "Yr" only
if there is a year in the field.  If the field is empty, then I don't want
anything showing up on the html form.  Here is what I have tried.  The code
words fine if I just put in the parenthesis statement without a condition.

 

{Name+?(Type="R","",?(Yr>" "," ("+Yr+")"," "))} 

 

Type is text that can be T, F or R.  If it is R, then there is no name
posted.  If there is a name and the year exists in the field, I want it to
look like this:

(10), so that I would have Jim Smith (10), if there is no year in the field,
it would just have Jim Smith.

 

Any suggestions would be appreciated.

 

Pete Schuder

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://provue.com/pipermail/qna/attachments/20080407/aa621a17/attachment.html 


More information about the Qna mailing list