Highlighted

Forms in Dreamweaver CS6

Community Beginner ,
Oct 07, 2020

Copy link to clipboard

Copied

I created forms many years ago in Dreamweaver CS6 and have had no trouble until now. I have moved to a new web host (they using an IMAP server as my last web host did). But, while those filling in forms see the screen saying 'Thank you for filling in...' which also shows what they have filled in, I never get the data in an email as I always used to. They say that I should insert: 

Server: localhost

Port: 25

Encryption: none

Authentication: No

in the Perl script. Don't understand that.

 

I do hope someone can help me; it is so important that I get this information. I am not a developer; I'm not very clever really.

 

My coding as a result of setting up the most important form in Dreamweaver is:

<form id="form1" name="form1" method="post" action="cgi-bin/formmail.pl">

<tr>
<td width="216"><h2>Company address</h2></td>
<td width="434">&nbsp;</td>
</tr>
<tr>
<td><p>
<label for="Contact">Your name as contact (for form checking only - will not appear in Directory)</label>
</p></td>
<td><p>
<input type="text" name="Contact" id="Contact" />
</p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<td><p>
<label for="label">Your company name:</label>
</p></td>
<td><label for="Company"></label>
<p>
<input type="text" name="Company" id="Company" />
</p></td>
</tr>
<td>&nbsp;</td>
<tr>
<td><p>
<label for="Address">Your company's address (including postcode):</label>
</p></td>
<td><p>
<textarea name="Address" id="Address" cols="45" rows="5" ></textarea>
</p></td>
</tr>
<tr>
<td><p>
<label for="email: ">Your email address for form checking if necessary (will not appear in Directory): </label>
</p></td>
<td><p>
<input type="text" name="email" id="email" />
</p></td>
</tr>
<tr>
<td colspan="2"><p align="center">You may clear and restart at any time </p>
<label for="button"></label>
<div align="center">
<input type="reset" name="button" id="button" value="Start again" />
</div></td>
</tr>
<tr>
<td><label for="tel: ">Telephone number</label></td>
<td><p>
<input type="text" name="tel" id="tel" />
</p></td>
</tr>
<tr>
<td><p>Fax number:</p></td>
<td><p>
<label for="fax: "></label>
<input type="text" name="fax" id="fax" />
</p></td>
</tr>
<tr>
<td><p><label for="mail: ">Email address: </label></p></td>
<td><p><input type="text" name="mail" id="mail" /></p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><p>
<label for="Website: ">Website address: </label>
</p></td>
<td><p>
<input type="text" name="Website" id="Website" />
</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2"><h2>Membership of organisations</h2></td>
</tr>
<tr>
<td colspan="2"><p>Please check all of which you are a member</p></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2"><p>*Companies which have staff who, by completing training, are 'BPA approved' should not mark the BPA box unless they are actually <em>members</em>. Subsidiary companies of BPA members should not check this box unless they themselves are BPA members</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="BFA" value="BFA" />
</p></td>
<td><p>
<label for="BFA">BFA</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="BPA" value="BPA" />
</p></td>
<td><label for="BPA"></label>
<p>*BPA</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="BPS" value="UKPS" />
</p></td>
<td><p>
<label for="BPS">UKPS</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="CBI/EIG" value="CBI/EIG" />
</p></td>
<td><label for="CBI/EIG"></label>
<p>CBI Explosives Industry Group</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="IExpE" value="IExpE" />
</p></td>
<td><label for="IExpE"></label>
<p>Institute of Explosives Engineers</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="PGI" value="PGI" />
</p></td>
<td><label for="PGI"></label>
<p>PGI</p></td>
</tr>
<tr>
<<td><p>
<input type="checkbox" name="Organisations" id="TESA" value="TESA" />
</p></td>
<td><label for="PGI"></label>
<p>TESA</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2"><h2>Products and Services (please check as appropriate)</h2></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Manufacturer" id="Manufacturer" value="Manufacturer" />
</p></td>
<td><p>
<label for="M">Manufacturer from basic raw materials</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Supplier" id="Supplier" value="Supplier" />
</p></td>
<td><p>
<label for="Supplier">Supplier to wholesale / trade buyers</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Importer" id="Importer" value="Importer" />
</p></td>
<td><p>
<label for="Importer">Importer</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Displays" id="Operator fired" value="Operator fired" />
</p></td>
<td><p>
<label for="Operator fired">Firer of operator fired displays</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Display kits" id="Display kits" value="Self fire" />
</p></td>
<td><p>
<label for="Display kits">Supplier of display packs for customer firing</label>
</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2"><h2>Shop goods</h2></td>
</tr>
<tr>
<td colspan="2"><p>Boxed</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods boxed" id="Shop goods boxed" value="Direct" />
</p></td>
<td><p>
<label for="Shop goods boxed Direct">Direct to customers</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods boxed" id="Shop goods boxed" value="Shops" />
</p></td>
<td><p>
<label for="Shop goods boxed through shops">Through shops</label>
</p></td>
</tr>
<tr>
<td colspan="2"><p>Loose</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods loose" id="Shop goods loose" value="Direct" />
</p></td>
<td><p>
<label for="Shop goods loose Direct to customers">Direct to customers</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods loose" id="Shop goods loose" value="Shops" />
</p></td>
<td><p>
<label for="Shop goods loose through shops">Through shops</label>
</p></td>
</tr>
</table>
<p>
<input type="hidden" name="recipient" value="&#0101;&#0100;&#105;&#116;&#111;&#114;&#064;&#102;&#105;&#114;&#0101;&#119;&#111;&#114;&#107;&#115;&#45;&#109;&#97;&#103;&#46;&#111;&#114;&#103">

<input type="submit" name="Submit" id="Submit" value="Submit" />
</p>
</form>

Views

44

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Forms in Dreamweaver CS6

Community Beginner ,
Oct 07, 2020

Copy link to clipboard

Copied

I created forms many years ago in Dreamweaver CS6 and have had no trouble until now. I have moved to a new web host (they using an IMAP server as my last web host did). But, while those filling in forms see the screen saying 'Thank you for filling in...' which also shows what they have filled in, I never get the data in an email as I always used to. They say that I should insert: 

Server: localhost

Port: 25

Encryption: none

Authentication: No

in the Perl script. Don't understand that.

 

I do hope someone can help me; it is so important that I get this information. I am not a developer; I'm not very clever really.

 

My coding as a result of setting up the most important form in Dreamweaver is:

<form id="form1" name="form1" method="post" action="cgi-bin/formmail.pl">

<tr>
<td width="216"><h2>Company address</h2></td>
<td width="434">&nbsp;</td>
</tr>
<tr>
<td><p>
<label for="Contact">Your name as contact (for form checking only - will not appear in Directory)</label>
</p></td>
<td><p>
<input type="text" name="Contact" id="Contact" />
</p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<td><p>
<label for="label">Your company name:</label>
</p></td>
<td><label for="Company"></label>
<p>
<input type="text" name="Company" id="Company" />
</p></td>
</tr>
<td>&nbsp;</td>
<tr>
<td><p>
<label for="Address">Your company's address (including postcode):</label>
</p></td>
<td><p>
<textarea name="Address" id="Address" cols="45" rows="5" ></textarea>
</p></td>
</tr>
<tr>
<td><p>
<label for="email: ">Your email address for form checking if necessary (will not appear in Directory): </label>
</p></td>
<td><p>
<input type="text" name="email" id="email" />
</p></td>
</tr>
<tr>
<td colspan="2"><p align="center">You may clear and restart at any time </p>
<label for="button"></label>
<div align="center">
<input type="reset" name="button" id="button" value="Start again" />
</div></td>
</tr>
<tr>
<td><label for="tel: ">Telephone number</label></td>
<td><p>
<input type="text" name="tel" id="tel" />
</p></td>
</tr>
<tr>
<td><p>Fax number:</p></td>
<td><p>
<label for="fax: "></label>
<input type="text" name="fax" id="fax" />
</p></td>
</tr>
<tr>
<td><p><label for="mail: ">Email address: </label></p></td>
<td><p><input type="text" name="mail" id="mail" /></p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><p>
<label for="Website: ">Website address: </label>
</p></td>
<td><p>
<input type="text" name="Website" id="Website" />
</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2"><h2>Membership of organisations</h2></td>
</tr>
<tr>
<td colspan="2"><p>Please check all of which you are a member</p></td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2"><p>*Companies which have staff who, by completing training, are 'BPA approved' should not mark the BPA box unless they are actually <em>members</em>. Subsidiary companies of BPA members should not check this box unless they themselves are BPA members</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="BFA" value="BFA" />
</p></td>
<td><p>
<label for="BFA">BFA</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="BPA" value="BPA" />
</p></td>
<td><label for="BPA"></label>
<p>*BPA</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="BPS" value="UKPS" />
</p></td>
<td><p>
<label for="BPS">UKPS</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="CBI/EIG" value="CBI/EIG" />
</p></td>
<td><label for="CBI/EIG"></label>
<p>CBI Explosives Industry Group</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="IExpE" value="IExpE" />
</p></td>
<td><label for="IExpE"></label>
<p>Institute of Explosives Engineers</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Organisations" id="PGI" value="PGI" />
</p></td>
<td><label for="PGI"></label>
<p>PGI</p></td>
</tr>
<tr>
<<td><p>
<input type="checkbox" name="Organisations" id="TESA" value="TESA" />
</p></td>
<td><label for="PGI"></label>
<p>TESA</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2"><h2>Products and Services (please check as appropriate)</h2></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Manufacturer" id="Manufacturer" value="Manufacturer" />
</p></td>
<td><p>
<label for="M">Manufacturer from basic raw materials</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Supplier" id="Supplier" value="Supplier" />
</p></td>
<td><p>
<label for="Supplier">Supplier to wholesale / trade buyers</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Importer" id="Importer" value="Importer" />
</p></td>
<td><p>
<label for="Importer">Importer</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Displays" id="Operator fired" value="Operator fired" />
</p></td>
<td><p>
<label for="Operator fired">Firer of operator fired displays</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Display kits" id="Display kits" value="Self fire" />
</p></td>
<td><p>
<label for="Display kits">Supplier of display packs for customer firing</label>
</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2"><h2>Shop goods</h2></td>
</tr>
<tr>
<td colspan="2"><p>Boxed</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods boxed" id="Shop goods boxed" value="Direct" />
</p></td>
<td><p>
<label for="Shop goods boxed Direct">Direct to customers</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods boxed" id="Shop goods boxed" value="Shops" />
</p></td>
<td><p>
<label for="Shop goods boxed through shops">Through shops</label>
</p></td>
</tr>
<tr>
<td colspan="2"><p>Loose</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods loose" id="Shop goods loose" value="Direct" />
</p></td>
<td><p>
<label for="Shop goods loose Direct to customers">Direct to customers</label>
</p></td>
</tr>
<tr>
<td><p>
<input type="checkbox" name="Shop goods loose" id="Shop goods loose" value="Shops" />
</p></td>
<td><p>
<label for="Shop goods loose through shops">Through shops</label>
</p></td>
</tr>
</table>
<p>
<input type="hidden" name="recipient" value="&#0101;&#0100;&#105;&#116;&#111;&#114;&#064;&#102;&#105;&#114;&#0101;&#119;&#111;&#114;&#107;&#115;&#45;&#109;&#97;&#103;&#46;&#111;&#114;&#103">

<input type="submit" name="Submit" id="Submit" value="Submit" />
</p>
</form>

Views

45

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 07, 2020 0
Adobe Community Professional ,
Oct 07, 2020

Copy link to clipboard

Copied

I did take a look at that code.  There is one minor error here:

 

<<td><p>
<input type="checkbox" name="Organisations" id="TESA" value="TESA" />

 

That "td" has two << before it and should only have one but that wouldn't cause your error.

 

For the perl script, is that a new script on the new host, or did you bring that over from the old host?  Either way, I think what the host is telling you to do is correct which is that you may need to go into the Perl file on the server and update the settings as it is possible that the settings on the new host are different from the old host.  The HTML outside of that one error I pointed out would not cause your issue.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2020 0
Adobe Community Professional ,
Oct 07, 2020

Copy link to clipboard

Copied

Honestly, I haven't used Perl in a dog's age.  That said, did you verify that the e-mail address in your Perl script is correct?  Did you check file permissions with a dedicated FTP client like Filezilla?  If necessary CHMOD the Perl script to 755 or 777 so it can read, write and execute on the server.

https://www.dummies.com/web-design-development/wordpress/navigation-customization/how-to-change-file...

 

Failing that,  replace the form and script you have now with something modern that prevents spam, validates form fields and sanitizes data.  For added security, add Google reCAPTCHA 3.0 to your form. It's free however, you'll need to obtain some code and a unique key and ID from Google to use it.

 

If all this is outside your wheel house, then I highly recommend going to a 3rd party form service like Wufoo.com or JotForms.  The secure form processing is handled by their servers, not yours so one less headache for you.

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2020 0
LEGEND ,
Oct 07, 2020

Copy link to clipboard

Copied

'Honestly, I haven't used Perl in a dog's age'.

 

It feels like the year 2000 all over again - yesterday Fireworks, today Pearl, tomorrow, that's anyones guess. Anyone who is coming to web-development in that last 5 years may well think Fireworks and Perl are the future of web-development<smile>

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2020 0
Adobe Community Professional ,
Oct 07, 2020

Copy link to clipboard

Copied

Perl, often considered the predecessor to PHP, is associated with the 1990's CGI messes before the Dot-Com Bubble failure.  Sites on Geocites, Matt'sScriptArchive, etc... were rife with CGI/Perl scripts cobbled together by script kiddie after script kiddie who allowed their abominations loose in the wild.  Too many unsuspecting users put horrible code into projects without a 2nd thought about it.  Today, I shudder to think when formmail.pl was last updated if ever. 

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2020 0