Jump to content

Newbie with hidden field question


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

Recommended Posts

  • Newbies

I am new to CDML and I am developing a website to my FMPro5 database. I would like to populate a field in the database without the user "seeing" in on their browser.

For example. I have a field called "Contact_Method". This field will always have "Web" when the user submits from their browser. I want this field to be automatically entered for the user. I just cannot figure a way to do this via CDML!?

TIA.

Link to comment
Share on other sites

Hi, You can treat these fields just as you would in any other form, like a mail form, so the input for a new record would be:

<INPUT TYPE=hidden NAME=contact_method VALUE="web">

just put the line anywhere within your form area

regards, Jeff

Link to comment
Share on other sites

This topic is 8402 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.