/    Sign up×
Community /Pin to ProfileBookmark

Form to Email in Dreamweaver CS3 using CGI

I’m new to the web design game and have little knowledge of any coding, i’m more of a design man. I’m having trouble getting my form to email working in dreamweaver. i host with heart internet and they have installed a CGI script onto my server but i can’t get it to work.
is my code correct?

[code]
</form></td>
</tr>
<tr>
<td><div align=”right”>
<input type=”hidden” name=”recipient” value=”[i]mail address[/i]” />
<input type=”hidden” name=”subject” value=”Quote Form” />
<input type=”hidden” name=”redirect” value=”[i]url address[/i]” />
name:<br/>
</div></td>
<td><input type=”text” size=”30″ name=”realname” /></td>
</tr>
<tr>
<td><div align=”right”>email: </div></td>
<td><input type=”text” size=”30″ name=”email” /></td>
</tr>
<tr>
<td><div align=”right”>phone: </div></td>
<td><input type=”text” size=”30″ name=”phone” /></td>
</tr>
<tr>
<td><div align=”right”>category:
<br/>
</div></td>
<td><select name=”category” id=”category”>
<option value=”home electronics”>home electronics</option>
<option value=”video games &amp; consoles”>video games &amp; consoles</option>
<option value=”mobile phones”>mobile phones</option>
<option value=”cameras”>cameras</option>
<option value=”gadgets”>gadgets</option>
<option value=”studio &amp; dj equipment”>studio &amp; dj equipment</option>
<option value=”musical instruments”>musical instruments</option>
<option value=”car electronics”>car electronics</option>
<option value=”gps”>gps</option>
<option value=”watches”>watches</option>
<option value=”sports equipment”>sports equipment</option>
<option value=”cb ham &amp; shortwave”>cb ham &amp; shortwave</option>
<option value=”radio”>radio</option>
<option value=”antiques &amp; collectables”>antiques &amp; collectables</option>
<option value=”CDs &amp; DVDs”>CDs &amp; DVDs</option>
<option value=”HD &amp; bluray”>HD &amp; bluray</option>
<option value=”entertainment memorabilia”>entertainment memorabilia</option>
</select></td>
</tr>
<tr>
<td><div align=”right”>item:
<br/>
</div></td>
<td><input type=”text” size=”30″ name=”item” /></td>
</tr>
<tr>
<td><div align=”right”>description:
<br/>
</div></td>
<td><textarea name=”description2″ id=”description” cols=”30″ rows=”5″></textarea></td>
</tr>
<tr>
<td><div align=”right”>attach photo:
<br/>
</div></td>
<td><input type=”file” name=”photo” id=”photo” /></td>
</tr>
<tr>
<td colspan=”2″>
<div align=”center”>
<input value=”send” type=”submit” />
</div></td>
[/code]

the website address [url][i]url address[/i][/url]

thank you

gilestalbot

[COLOR=”Red”][i]Moderator says: Please, do not insert email or url address in your posts unless it is absolutely necessary, which usually [b]it is not[/b][/i][/COLOR]

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@KorFeb 27.2008 — <i>
</i>[COLOR="Red"]&lt;/form&gt;[/COLOR]&lt;/td&gt;
&lt;/tr&gt;
...

If the red is the end tag of a previous form, where is the form element which includes the elements you have posted? I see no <form></form>
×

Success!

Help @gilestalbot spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...