Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8579 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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">

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.