Coldfusion 7 Forms assistance

Discussion in 'Programming' started by finadar, Aug 18, 2010.

  1. #1
    I am trying to design a form that will send the information out to another site with method = "GET".

    All the fields work fine except I need to hash(UserID & Email) to go along with the GET URL.

    The UserID and Email are entered at the time the form is being submitted so my first idea never worked which was to put a <input type = "hidden" name = "hash" value="<cfoutput>#hash(UserID & Email)#</cfoutput>" /> in the form where the user enters their information.

    Does anyone know a way where I can hash the fields so it gets sent with the http GET.

    Thanks
     
    finadar, Aug 18, 2010 IP
  2. cfStarlight

    cfStarlight Peon

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yeah, if you want to hash the values after they're entered you'd need to do it on the client side w/javascript
    http://plugins.jquery.com/project/md5

    OR

    You could submit the form back to your server. Then have that page hash the values and send them on to the other site via CFHTTP
     
    cfStarlight, Aug 18, 2010 IP