Jump to content

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

Recommended Posts

Posted

I have a simple HTML form that I want to populate a .fp5 form. So far, I am able to make it work with only regular field names such as firstName and lastName. On my FM5.5 form I have named the same fields firstName and lastName. When I hit submit I get a

Posted

Hi, awpadmin! I think radio buttons and multiple line text fields should work exactly the same. Just make sure the NAME="fieldname" for each radio button and for the text area tag. Check boxes are the tricky one and I will be posting a solution to them soon... There are issues of how to get a check box to properly appear CHECKED and how uncheck a checked check box to have it remove a value. Jeff Spall has a good post on that in the forums, but I hope to post more on check boxes soon.

Here's some code directly out of our working sites (minus some formatting code)???

SAMPLE INPUT RADIO BUTTONS FOR FIELD "a1"

<INPUT TYPE="radio" VALUE="1" NAME="a1">1

<INPUT TYPE="radio" VALUE="2" NAME="a1">2

<INPUT TYPE="radio" VALUE="3" NAME="a1">3

SAMPLE INPUT MULTIPLE LINE TEXT BOX FOR FIELD "Comments"

<TEXTAREA NAME="Comments" COLS="70" ROWS="4"></TEXTAREA>

The name of each form object is just the same name as the corresponding field name as you did in your earlier test. At least some of the problems may be with your field names. I have had URL encoding problems in the past so I now avoid special characters and spaces. Also, if you specifiy a -lay tag, you have to have the field on your layout or it won't work. Good luck! --ST

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