×

Discussion Board

Results 1 to 3 of 3

Thread: Form Validation

  1. #1
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    54

    Form Validation

    Hi ,

    I am creating an application...It has a form which has different textboxes and radiobuttond and a subit button.
    Now before pressing the submit button to submit the form , i want to check whether all the textboxes are filled and the radiobuttons are selected.form should bew submiteted only when all the fields are fileleed otherwise it should show a alert.

    Can you please help me by tellin that how can i validate all the items in the form before submittin it.

  2. #2
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: Form Validation

    Hi,
    You can check the number of characters that are currently stored in this TextBox by using the size() method.Also for the choice group check with the method isSelected() which returns a boolean value indicating whether the particular element is selected..

    Thanks
    Soku

  3. #3
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    54

    Re: Form Validation

    Thanks Soku....im able to do it now.......

Similar Threads

  1. second form not getting key events
    By krsunil in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-12-10, 10:29
  2. Cannot create form
    By Norrit_ in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-03-08, 15:21
  3. Changing default FORM options - Simulator Dies
    By krsunil in forum Symbian User Interface
    Replies: 4
    Last Post: 2003-10-08, 15:22
  4. Form not displaying
    By Shabs in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-07-09, 16:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×