Is there a quick way....

Discussion in 'Perl Misc' started by Bigus, Nov 17, 2003.

  1. Bigus

    Bigus Guest

    ... you know when you have a HTML form with a load of fields on it where the
    user enters various details. The user doesn't fill in a mandatory field or
    enters something in an incorrect format, so you want to return the form to
    them as they filled it out but with a suitable message telling them where
    they went wrong?

    Is there a quick way to do that? At the moment I have a HTML template with
    subsitution codes in the value parts of each form element, and to feed it
    back to the user I perform a load of s///; regexps to re-populate the
    fields.. is there a module that does thi automatically?

    Thanks
    Bigus
     
    Bigus, Nov 17, 2003
    #1
    1. Advertising

  2. On Mon, 17 Nov 2003 23:43:21 -0000, Bigus <> wrote:
    > . you know when you have a HTML form with a load of fields on it where the
    > user enters various details. The user doesn't fill in a mandatory field or
    > enters something in an incorrect format, so you want to return the form to
    > them as they filled it out but with a suitable message telling them where
    > they went wrong?
    >
    > Is there a quick way to do that? At the moment I have a HTML template with
    > subsitution codes in the value parts of each form element, and to feed it
    > back to the user I perform a load of s///; regexps to re-populate the
    > fields.. is there a module that does thi automatically?
    >


    HTML::FillInForm
     
    John J. Trammell, Nov 18, 2003
    #2
    1. Advertising

  3. Bigus <> wrote:

    > Subject: Is there a quick way....



    Please put the subject of your article in the Subject of your article.


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
     
    Tad McClellan, Nov 18, 2003
    #3
  4. Bigus

    Bigus Guest

    "John J. Trammell" <> wrote in message
    news:-swifto.com.invalid...
    > On Mon, 17 Nov 2003 23:43:21 -0000, Bigus <> wrote:
    > > . you know when you have a HTML form with a load of fields on it where

    the
    > > user enters various details. The user doesn't fill in a mandatory field

    or
    > > enters something in an incorrect format, so you want to return the form

    to
    > > them as they filled it out but with a suitable message telling them

    where
    > > they went wrong?
    > >
    > > Is there a quick way to do that? At the moment I have a HTML template

    with
    > > subsitution codes in the value parts of each form element, and to feed

    it
    > > back to the user I perform a load of s///; regexps to re-populate the
    > > fields.. is there a module that does thi automatically?
    > >

    >
    > HTML::FillInForm


    Thanks.. that does the job nicely :)
     
    Bigus, Nov 18, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DesignerX
    Replies:
    1
    Views:
    353
    David Wier
    Aug 13, 2003
  2. windandwaves
    Replies:
    1
    Views:
    431
    Daniel Tryba
    Mar 24, 2005
  3. Victor Reyes
    Replies:
    3
    Views:
    130
    David Vallner
    Jan 11, 2006
  4. John Smith
    Replies:
    8
    Views:
    174
    David K. Wall
    Sep 26, 2003
  5. Replies:
    5
    Views:
    156
Loading...

Share This Page