3 Replies Latest reply on May 14, 2010 5:27 PM by Ranganathan Kaliyur Mannar

    custom home with required=true...

    Ranganathan Kaliyur Mannar Newbie
      Hi,
      I want to build a custom page - just to maintain a list of master titles - page will have one text field, add button. When add is clicked, title will be added and shown in the same page in a list box. Besides the list box, a Delete button will be provided which when clicked will delete the entity.

      The problem I face is: The text is mandatory while adding - so,I have a required=true against it. Now, when 'Delete' is clicked without entering text, it throws an error and delete is not invoked. How do I handle this?

      Thanks,
      Ranga.