Web Analytics Made Easy -
StatCounter How to transfer parameters more efficiently? - CodingForum

Announcement

Collapse
No announcement yet.

How to transfer parameters more efficiently?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to transfer parameters more efficiently?

    now I make a "user register module", the new user need to type in emailaddress, firstname,lastname, phone, address,password and other informations, near 20 items. (for our internal user)

    Sometimes, they will forget some item. How can I only show the items they forgot after submit. and user only need to fill in it, and submit again.

    The only way I find is to make a lot of "hidden field" in the second page and remember each item which user have answered.

    Do you know some better way to do it? if you already have some example, it will be better!


    Many thanks

  • #2
    you can also incorporate client-side validation using javascript and at the same time do server-side validation using the technique you said.
    Glenn
    vBulletin Mods That Rock!

    Comment


    • #3
      Please give me some details

      Thank you for your reply, but I hope,
      After submit, all the information , which have been answered, will not display.


      Thanks

      Comment


      • #4
        Re: Please give me some details

        for each item in Request.Form
        if request.form(item)<>"" then
        response.write "<input type='hidden' name='"&item&"' value='"&request.form(item)&"'>"
        else
        response.write "<input name='"&item&"' value=''>"
        end if
        next

        Originally posted by geqy
        Thank you for your reply, but I hope,
        After submit, all the information , which have been answered, will not display.


        Thanks
        Glenn
        vBulletin Mods That Rock!

        Comment


        • #5
          Thanks

          Thanks. that is really a good idea.
          geqy
          New to the CF scene
          Last edited by geqy; Jul 4, 2002, 04:19 AM.

          Comment

          Working...
          X