Dreamweaver CC and email webform via PHP help needed
firstly,
thankyou wonderful resource. has allowed me build own website , upload it.
i have got point has me stumped , looking assistance. happy pay if can me out works properly.
basically, have developed form capture basic details want receive via email upon user pressing submit.
i have followed tutorials / google searches / examples without success far. in meantime, using web built form generated third party. want have own creation uploaded , understand how works.
i got far form creation using following guide - alt-web design & publishing: responsive contact form bootstrap 3.2 , php (part 1)
i downloaded wampserver in guide, things fell apart.
i tried save page php page, didn't work me either. have uploaded code in page ease of viewing form want.
the main issues:
1. added more fields , options guide above had , tried update relevant links. don't think got quite right, need fix up
2. can't work out how use wampserver or how connects remote server
3. want form work receive email upon submission , user redirected thankyou page
i post relevant codes below.
this form code appears work work.
<!--begin html form-->
<form class="form-horizontal" role="form" method="post" action=" ">
<div class="form-group">
<label for="name" class="col-sm-3 control-label"><span class="required">*</span> first name:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="name" name="name" placeholder="first name">
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-3 control-label"><span class="required">*</span> email: </label>
<div class="col-sm-5">
<input type="email" class="form-control" id="email" name="email" placeholder="you@domain.com">
</div>
</div>
<div class="form-group">
<label for="phone" class="col-sm-3 control-label"><span class="required">*</span> phone number: </label>
<div class="col-sm-5">
<input type="tel" class="form-control" id="phone" name="phone" placeholder="0400 000 000 or 02 1234 5678">
</div>
</div>
<div class="form-group">
<label for="business name" class="col-sm-3 control-label"> business trading name</label>
<div class="col-sm-7">
<input class="form-control" row="4" name="business name" placeholder="business / company name">
</div>
</div>
<div class="form-group">
<label for="state" class="col-sm-3 control-label"> select state</label>
<div class="col-sm-9">
<select name="state" class="col-sm-3 control-label">
<option value="">select</option>
<option value="nsw">nsw</option>
<option value="qld">qld</option>
<option value="vic">vic</option>
<option value="wa">wa</option>
<option value="sa">sa</option>
<option value="sa">nt</option>
<option value="sa">act</option>
<option value="sa">other</option>
</select>
</div>
</div>
<p class="required">time in business
</p>
<p>
<label>
<input type="radio" name="time in business" value="radio" id="less 6 months">
less 6 months</label>
<br>
<label>
<input type="radio" name="time in business" value="radio" id="6 12 months">
6 12 months</label>
<br>
<label>
<input type="radio" name="time in business" value="radio" id="over 1 year">
on 1 year</label>
<br>
</p>
<p class="required">loan amount required
</p>
<p>
<label>
<input type="radio" name="loan size" value="radio" id="up $50k">
$5k $50k</label>
<br>
<label>
<input type="radio" name="loan size" value="radio" id="up $250k">
$50k $250k</label>
<br>
<label>
<input type="radio" name="loan size" value="radio" id="over $250k">
on $250k</label>
<br>
</p>
<p> </p>
<div class="form-group">
<p>
<label>
<input type="checkbox" name="privacycheck" value="checkbox" id="privacycheck">
have reviewed, understand , consent privacy policy</label>
<br>
</p>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-6 col-sm-offset-3">
<button type="submit" id="submit" name="submit" class="btn-lg btn-primary btn-block">submit (free , no obligation)</button>
</div>
</div>
<!--end form--></form>
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment