Forum Moderators: open

Message Too Old, No Replies

passing HTML forms to ASP and then on to access

HTML, ASP, access

         

NotAFanOfPrograming

3:31 pm on Jun 24, 2004 (gmt 0)

10+ Year Member



I am new to ASP, trying to teach myself and it's not going so well.

I have a simple HTML form with input text boxes, dropdown menus, textareas, etc, and I want to pass it through to an ASP page where it will display the user inputs along with 2 buttons.

The two buttons are: 1.) A cancel button - that will send them back to the main form page, clearing all previous inputs. 2.) A submit button - that will send the user data inputs on the ASP page to an existing access database to add new records.

Any help and advise will be greatly appreciated.

Thanks.

BlobFisk

5:12 pm on Jun 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, NotAFanOfPrograming!

The cancel button on the page can be achieved be an onclick event that changes the location to the form page. This should cause it to render the page in it's unfilled state.

The submit button is a standard server side form submission. The form method should be to your processing page that writes the relevant data to the DB. For more on ASP stuff check out the WebmasterWorld Microsoft Related - .NET and ASP Forum [webmasterworld.com].

HTH

mattglet

6:04 pm on Jun 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do some research on the Request.Form() method, and you'll find your results.

I suggest taking a peek at www.w3schools.com [w3schools.com], and their ASP tutorials. They are very good for beginners.

-Matt

[edited by: tedster at 7:32 pm (utc) on June 24, 2004]
[edit reason] make link active [/edit]