1 Reply Latest reply on Jun 12, 2009 8:16 AM by TSGal

    How can we display custom messages in IWP?

    jefke

      Title

      How can we display custom messages in IWP?

      Post

      Hi All,

       

      As Show Custom Dialogue does not work in IWP is there another way to display/present information to the user ie by setting the text of a label/button dynamicaly?

       

      I have validations on fields with custom validation messages but these don't display nice in IWP :( neither does conditional formatting work in IWP so I desperately need a work around for my validations and required fields.

       

      Thanks in advance,

       

      Jef

        • 1. Re: How can we display custom messages in IWP?
          TSGal

          jefke:

           

          Thank you for your post.

           

          Instant Web Publishing does not allow you to control the validation messages.  Depending on the type of validation, one possible solution would be to disable validation on a fields, and create a calculation field that displays an error message (in red color) when the validation is false.  For a simplistic example, suppose you don't want anyone to enter the number 0 (zero) in the field "Amount".  Create a calculation field with the formula:

           

          If (Amount = 0 ; "INVALID ENTRY" ; "" )

           

          Place this calculation field strategically near the Amount field.  In Instant Web Publishing, this would appear after you Submit the record.  Unfortunately, it would still allow the user to skip to the next record without making a change.

           

          I realize there are other types of validation (unique value, in a range, not empty, etc.), and some of those validations would be more difficult to implement.

           

          TSGal

          FileMaker, Inc.