What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

HTML Form

derajlance

New member
Joined
Oct 5, 2022
Messages
1
Reaction score
0
HTML Coins
0
Hello all! - I have a simple HTML form that I am attempting to create for my employees to use to calculate the amount of credit to issue customers when they are without service. However, I cannot figure out how to get the form to calculate or if I've even set this up properly. - Once the agent clicks calculate, it should add InternetPackage+PhonePackage+AddOns, divide by 30, then multiple by Number of Days.


<FORM Name="TimeWithoutService">
<SELECT NAME="InternetPackage" onChange="calculatePrice()" id="InternetPackage">
<OPTION value="0">Select Internet Package</OPTION>
<OPTION value="49.95">100M bps</OPTION>
<OPTION value="79.95">1 Gig</OPTION>
<OPTION value="99.95">2 Gig</OPTION>
</SELECT>
<br>
<br>
<SELECT NAME="PhonePackage" onChange="calculatePrice()" id="PhonePackage">
<OPTION value="0">Select Phone Package</OPTION>
<OPTION value="0">None</OPTION>
<OPTION value="29.95">Voice Bundled with Internet</OPTION>
<OPTION value="39.95">Voice without Internet</OPTION>
</SELECT>
<br>
<br>
<SELECT NAME="AddOns" onChange="calculatePrice()" id="AddOns">
<OPTION value="0">Select Add-on Options</OPTION>
<OPTION value="0">None</OPTION>
<OPTION value="4.95">Managed Wi-Fi</OPTION>
<OPTION value="3">Safe & Secure</OPTION>
<OPTION value="7.95">Managed Wi-Fi AND Safe & Secure</OPTION>
</SELECT>
<br>
<br>
<label for="days">Number of Days:</label><br>
<input type="text" id="days" name="days">
</FORM>
<br>
<br>
<button type="button" onclick="calculatePrice()">Calculate</button>
The new calculated price:<INPUT type="text">
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back