Forum Moderators: open
I'm using a form to gather some information and to perform an action (as you do) as follows:
<FORM NAME="myform" ACTION="/cgi-bin/blah-blah-blah" METHOD="post">
and the following triggers the action (its not a traditional submit):
<INPUT TYPE=IMAGE NAME="Click here to get" src="/images/blah.gif">
and its working fine.
BUT...
when I try to use the same form on another domain (I am expecting the action to take the user to a page on the original domain) as follows:
<FORM NAME="myform" ACTION="http://www.original-domain.com/cgi-bin/blah-blah-blah" METHOD="post">
(notice full path added including domain name - also added to the non-trad 'submit' element)
this is where the trouble starts. The action is not being performed.
So, I am looking for a solution. The easy solution would be to have the cgi script hosted on the second domain but this is not possible for various reasons so I have to rule out this possibility. Also, I cannot send the user to the original domain to fill out the form there - also for various reasons.
To make things more difficult, I cannot access the CGI script on the original domain - not an option.
Are there any form/cgi experts amongst us that could help me?
I'm hoping that there is a quick fix....
I am pleased to say that it is now working fine - I made a damn error in one of the options:
typed this:
<OPTION SELECTED>0
should have been:
<OPTION SELECTED VALUE="00">0
crazy mistake which took 2 hours to pick up on - nightmare, but it happens to the best of us ;)
I'm a happy man again - just a shame its nearly 3am and I've got an early start in the morning.
Good Night Keymaster & thanks again.