Loading ...
Sorry, an error occurred while loading the content.

8536Re: [Clip] Help

Expand Messages
  • Ville Saalo
    May 24, 2002
      >I have a question that I cannot figure out.
      >
      >Lets say that I have a clip with 4 questions... How do I
      not show one of the parameters if I leave it blank?
      >
      >Thanks!


      I think this will do it:

      ;####### begin clip (6 lines long) #####
      ^!If ^$IsEmpty(^?[Your name:=John])$ = 1 ^!Jump +2
      Name: ^?[Your name:]^%nl%
      ^!If ^$IsEmpty(^?[Your location:=Earth])$ = 1 ^!Jump +2
      Location: ^?[Your location:]
      ^!If ^$IsEmpty(^?[Your NoteTab version:=Pro])$ = 1 ^!Jump +2
      NTB version: ^?[Your NoteTab version:]
      ^!If ^$IsEmpty(^?[The answer:=42])$ = 1 ^!Jump +2
      Answer to question 4: ^?[The answer:]
      ;####### end clip #####

      -Ville
    • Show all 11 messages in this topic