I want to calculate the form fields at the same time when user type the code :
Here is the thing that I am looking for :

field 1: number 1(user types)

fields:number 2(user types)

calculate fields(display data)

In the calculate fields I want that when user types it display at the same time in the calculate fields:

like when user types 3 in fields 1,4 in fields 2 ,it display addition of 3 and 4 in calculate field without submit button,is that anythinng possible..please help ..

Use a javascript OnKeyUp() function. You cannot do it in PHP without a submit.

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.