Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Check for any value changed in Form

    HI Folks,

    Does anyone know what is the easiest way is to check if the user has changed any of the values in a form.

    This should be applied if any value existing in the form has changed and it shluld work in both IE and fire fox

    Thanks in Advance

    N.Naveen.

  • #2
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post
    you could just include an onchange event on each element on the form to either run the code you want to run if anything on the form changes.

    i.e.

    Code:
    onchange="formChanged()"
    this function can include a flag which you will change the first time a form is changed so that it won't continue to run the code.


  •  

    Posting Permissions

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