Jump to content

Very simple post form in PHP, help please!!!!!! thanks


BlackReef

Recommended Posts

Ok so I already have a "post" action URL, here it is below.

 

<form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330">

 

The idea is to put a simple e-mail form on my personal website:

 

testimage.jpg

 

And have the post action to go to the URL above (its a marketing company for email submissions / newsletters)

 

Here is what I have so far, but I know something is not right:

 

<form>

<input type="text" />

<input type="submit" />

<form method="post" />

<form action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330"/>

</form>

 

Any help would be greatly appreciated.  Thank you for your patience with me

Link to comment
Share on other sites

Ok thanks guys, getting much closer now.  I really appreciate the help.

 

Now, the last remaining items I have left is to get the submit image to the direct right of the input box, but right now it is appearing as this:

 

error.jpg

 

and it should look like this:

 

testimage.jpg

 

Currently the code is this:

 

<form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=368&survey_version=1326">

<input type="text" name="email" />

<input type="image" name="submit" src="/application/modules/default/views/scripts/portlets/joinus.jpg" width="55" height="22">

</form>

 

and my current CSS is this:

 

<style type="text/css">

#footerinputemail {

    bottom: 50px;

    height: 36px;

    position: relative;

    width: 191px;

    right: 3px;

}

 

input {

background-color: #9c9a9c;

border: 1px solid #FFF;

width: 150px;

}

</style>

 

Do you guys see where I may be messing this up at?  Thank you guys very much for the help on this, it is appreciated

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.