Skip to content

Instantly share code, notes, and snippets.

@panakbanas
Created October 30, 2023 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save panakbanas/a1c0285396111d6936fe7a0aa9b183c5 to your computer and use it in GitHub Desktop.
Save panakbanas/a1c0285396111d6936fe7a0aa9b183c5 to your computer and use it in GitHub Desktop.
I Need this form working as a booking form
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>Cake Form</title>
<script type="text/javascript" src="js01/formcalculations.js"></script>
<link href="styles01/cakeform.css" rel="stylesheet" type="text/css" />
</head>
<body onload='hideTotal()'>
<div id="wrap">
<form action="" id="cakeform" onsubmit="return true;">
<div>
<div class="cont_order">
<fieldset>
<legend>Passenger and Car Type</legend>
<label >Number of Passengers</label>
<label class='radiolabel'><input type="radio" name="selectedcake" value="Round6" onclick="calculateTotal()" />2 Passangers</label><br/>
<label class='radiolabel'><input type="radio" name="selectedcake" value="Round8" onclick="calculateTotal()" />3 Passangers</label><br/>
<label class='radiolabel'><input type="radio" name="selectedcake" value="Round10" onclick="calculateTotal()" />4 Passangers</label><br/>
<label class='radiolabel'><input type="radio" name="selectedcake" value="Round12" onclick="calculateTotal()" />5 Passangers</label><br/>
<label class='radiolabel'><input type="radio" name="selectedcake" value="Round16" onclick="calculateTotal()" />6 Passangers</label><br/>
<br/>
<label >Car Type</label>
<select id="filling" name='filling' onchange="calculateTotal()">
<option value="None">Car Type</option>
<option value="Lemon">Toyota Avanza</option>
<option value="Custard">Suzuki AVP</option>
<option value="Fudge">Toyota Innova</option>
<option value="Mocha">Toyota Innova Reborn</option>
<option value="Raspberry">Raspberry($10)</option>
<option value="Pineapple">Pineapple($5)</option>
<option value="Dobash">Dobash($9)</option>
<option value="Mint">Mint($5)</option>
<option value="Cherry">Cherry($5)</option>
<option value="Apricot">Apricot($8)</option>
<option value="Buttercream">Buttercream($7)</option>
<option value="Chocolate Mousse">Chocolate Mousse($12)</option>
</select>
<br/>
<p>
<label for='includecandles' class="inlinelabel">Include Candles($5)</label>
<input type="checkbox" id="includecandles" name='includecandles' onclick="calculateTotal()" />
</p>
<p>
<label class="inlinelabel" for='includeinscription'>Include Inscription($20)</label>
<input type="checkbox" id="includeinscription" name="includeinscription" onclick="calculateTotal()" />
<input type="text" id="theinscription" name="theinscription" value="Enter Inscription" />
</p>
<div id="totalPrice"></div>
</fieldset>
</div>
</div>
</form>
</div><!--End of wrap-->
</body>
</html>
@panakbanas
Copy link
Author

I want need this form for my site https://www.thebalitravels.com

@liangzai065
Copy link

Unmanned video systems: Autonomous recording, surveillance solutions.
https://nobodysvideo.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment