Announcement

Collapse
No announcement yet.

When you select the title of a select field wich is the value ?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • When you select the title of a select field wich is the value ?

    Just a short question.
    I've to manage all values choosen in a short select list .
    I don't know how to check if the user choose the title (blank).
    The field is an ID (int) but I show obviously only description.

    I've tried with

    IF ( {field}='' )
    IF ( {field}=0 )
    IF ( {field} IS NULL )

    Anyone of them works.
    I also inserted an echo {field} but nothing appears .

    Thanks
    Giovannino

  • #2
    I've tried pratically every possible value and alternative.
    At the end I got it !!

    IF ( {field}== null)

    Comment


    • #3
      sometimes it's so easy if someone found the solution ....

      I always take if ({field}) { ...... or if (!{field}) { .... that's all you need

      Best regards
      Uwe

      Comment


      • #4
        Thanks Uwe !!

        Comment

        Working...
        X