| Form with 2 Submit Buttons I needed a form with two submit buttons to do two different things. Here's an easy way to do it. First create a form. Then create one submit button as usual. Then copy that one as many times as you want and use name="[same-name]", but make the values different like this: <input type="submit" value="Display" name="choose"><input type="submit" value="Count" name="choose"> <input type="submit" value="Email" name="choose"> Then on your process form simply use: <CFIF form.choose is "Display"><CFELSEIF form.choose is "Count"> and so on... You could also use CFSWITCH I suppose. |