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 5 of 5
  1. #1
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    882
    Thanks
    53
    Thanked 6 Times in 5 Posts

    submitting a form with hidden fields

    I can usually add some hidden fields but my situation is a little different.

    I am placing html pages wrapped up in an exe file. Consequently when the form on one of the pages is submitted it does so from the exe file offline but going online to submit from the server:

    Code:
    <form name="emailform" action="http://mysite.com/cgi-bin/SaveForm.pl" target="_blank" method="POST">
    It works, but when I receive the form it doesn't show a "from" field, just brackets ().

    So I added a hidden field:

    Code:
    <input type="hidden" name="from" value="Feedback via exe file">
    It doesn't work. Is my hidden field name incorrect?
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,803
    Thanks
    6
    Thanked 1,023 Times in 996 Posts
    If everything else works I suppose this is a Pearl issue, not an HTML issue. Shall I move the thread?

  • #3
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    882
    Thanks
    53
    Thanked 6 Times in 5 Posts
    Oh, er right. Yes, please...
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,803
    Thanks
    6
    Thanked 1,023 Times in 996 Posts
    You will have to post your Perl script, though, and probably your entire HTML.

  • #5
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    882
    Thanks
    53
    Thanked 6 Times in 5 Posts
    Perhaps it's too old but it's called SaveForm.pl.

    A quick search and I now realise it is probably far too old a form.
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)


  •  

    Posting Permissions

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