coffeyb Posted August 6, 2001 Posted August 6, 2001 Just when I thought my superiors where happy with the one DB solution, they task me with another... To make this as simple as possible all I have are three fields and I what I am trying to do is collect data from an html form. The fields are firstname, lastname, and phone. Here is what the following form looks like and I am sure that I am missing a few things: <HTML> <HEAD> <TITLE>test</TITLE> </HEAD> <BODY> <FORM ACTION="form.fp5" ENCTYPE="x-www-form-urlencoded" METHOD="POST"> <P>First Name:<INPUT NAME="firstname" TYPE="text" SIZE="25"></P> <P>Last Name: <INPUT NAME="lastname" TYPE="text" SIZE="25"></P> <P>Phone Number:<INPUT NAME="phone" TYPE="text" SIZE="25"></P> <P><INPUT NAME="name" TYPE="submit" VALUE="Submit"><INPUT NAME="name" TYPE="reset" VALUE="Reset"></FORM> </BODY> </HTML> If at all possible, I would like to get fancy and take the user to a "Thank You" page after they submit the data. As always I appreciate any and all help. Thanks, B. Coffey ps. I do have FMP books on order.
dspires Posted August 6, 2001 Posted August 6, 2001 This are the basic requirements: db name, layout, format file, and action. For your form: <FORM ACTION="FMPro" METHOD="post"> <INPUT TYPE="hidden" NAME="-DB" VALUE="dbName.FP5"> <INPUT TYPE="hidden" NAME="-LAY" VALUE="layoutName"> <INPUT TYPE="hidden" NAME="-FORMAT" VALUE="thankYou.html"> <P>First Name:<INPUT NAME="firstname" TYPE="text" SIZE="25"></P> <P>Last Name: <INPUT NAME="lastname" TYPE="text" SIZE="25"></P> <P>Phone Number:<INPUT NAME="phone" TYPE="text" SIZE="25"></P> <P><INPUT TYPE="submit" NAME="-NEW" VALUE="Submit"> <INPUT TYPE="reset" VALUE="Clear Form">
Recommended Posts
This topic is 8579 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now