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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    script from third party to process form

    We are being asked to put a form on our site by a third party (legit third party). The action for the form is a servlet with their processing code. I've applied javascript validation to the form but that is just client side.

    Should I be concerned about the validation of data or just assume their code will handle it? Or is there a way to do server side validation and then have the servlet take over? I'm concerned because without javascript, this form will actually process an empty form.

  • #2
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry meant to say
    their script will actually process an empty form

  • #3
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,307
    Thanks
    4
    Thanked 205 Times in 202 Posts
    I would ask them but if they are processing the form I would say that any validation of it is their responsibility.
    Dave .... HostMonster for all of your hosting needs

  • #4
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I did ask him. The rep couldn't for the life of him figure out why I was asking the question. He says he's had hundreds of people do this code and no one has ever asked him that.

  • #5
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,307
    Thanks
    4
    Thanked 205 Times in 202 Posts
    Then I would not do anything at all including JS validation.
    Dave .... HostMonster for all of your hosting needs

  • #6
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That's what I thought. Thanks.


  •  

    Posting Permissions

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