Hey guys,

So I'm looking for a way to create a form which basically calculates the input given.

Like you enter the first integer in 1st input field, second in second input field, push a button and it calculates the answer.

Any help would be appreciated.

Recommended Answers

All 3 Replies

That's the thing, those can be found easily, but I need something like this form.

    <title>Untitled Document</title>

    <table width="200" border="0">
        <input type="text" name="integer1" value="" maxlength="100" />
        <td><input type="text" name="cmd" value="" maxlength="100" /></td>
        <td><input type="text" name="integer2" value="" maxlength="100" /></td>
        <td><input type="button" value="Calculate" /></td>

copy paste it into a notepad and save as .html , that's the form I need to make work as a calculator.

What Process is in your calculation (e.g addition,multiplication ,etc.) ?
What Should the user input to the fields?


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.