Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-05-2013, 06:59 AM   PM User | #1
tpeck
Regular Coder

 
tpeck's Avatar
 
Join Date: Oct 2002
Location: Sydney, Australia
Posts: 771
Thanks: 40
Thanked 5 Times in 4 Posts
tpeck is on a distinguished road
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)
tpeck is offline   Reply With Quote
Old 02-05-2013, 07:45 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,594
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
If everything else works I suppose this is a Pearl issue, not an HTML issue. Shall I move the thread?
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 02-05-2013, 08:00 AM   PM User | #3
tpeck
Regular Coder

 
tpeck's Avatar
 
Join Date: Oct 2002
Location: Sydney, Australia
Posts: 771
Thanks: 40
Thanked 5 Times in 4 Posts
tpeck is on a distinguished road
Oh, er right. Yes, please...
__________________
The difference between genius and stupidity is that genius has its limits. (Albert Einstein)
tpeck is offline   Reply With Quote
Old 02-05-2013, 11:25 AM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,594
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
You will have to post your Perl script, though, and probably your entire HTML.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 02-05-2013, 11:40 AM   PM User | #5
tpeck
Regular Coder

 
tpeck's Avatar
 
Join Date: Oct 2002
Location: Sydney, Australia
Posts: 771
Thanks: 40
Thanked 5 Times in 4 Posts
tpeck is on a distinguished road
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)
tpeck is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:25 AM.


Advertisement
Log in to turn off these ads.