1 Reply Latest reply on Mar 21, 2009 7:19 AM by Gregory Lafrance

    Validating before save to DB

    sathiyabala Level 1
      NOTE: run this mxml,
      1. select any value in second and third combobox and give value in textbox,click add.
      2. Then click AND or Or Button,
      3. Now click open bracket then again
      4. select any value in second and third combobox and give value in textbox,click add.
      5. Then again click AND or OR Button,
      6. select any value in second and third combobox and give value in textbox,click add.
      7. Now click submit button without clicking close bracket.
      8. So i need this validation,without adding the close bracket the query should not be saved.
      9. If user deletes a row inbetween adding the values,
      10. i gave enabled true for the buttons which are disable on click of delete,
      11. so that the disable buttons becomes enabled.
      12. so now the open bracket will also be enable

      How can i do this validation...

      I am in immediately needed,pl can any one reply soon pl...

      Thanks in advance :-)