form_name being set as hidden field? 
Posted: 08 July 2008 11:44 AM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27

We’ve been working on some JavaScript stuff for a particular form that uses FreeForm. In doing so we noticed that the standard “name” attribute was stripped from the form tag and put into a hidden field. Example from actual output / source code:

<form id='myid' method="post" action="url"  >
<
div class='hiddenFields'>
<
input type="hidden" name="ACT" value="20" />
<
input type="hidden" name="URI" value="[path]" />
<
input type="hidden" name="XID" value="[string]" />
<
input type="hidden" name="status" value="open" />
<
input type="hidden" name="return" value="" />
<
input type="hidden" name="redirect_on_duplicate" value="" />
<
input type="hidden" name="RET" value="[url]" />
<
input type="hidden" name="form_name" value="frmMain" />
<
input type="hidden" name="id" value="myid" />
<
input type="hidden" name="params_id" value="[numbers]" />
<
input type="hidden" name="site_id" value="1" />
</
div>

Is there a way to get the name back into the form tag?

Thanks!
.angie

Profile
 
 
Posted: 08 July 2008 01:15 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  2732
Joined  2006-10-18

The form_name was set as a hidden field for XHTML Strict compliance.

Additionally, the name="” parameter was created… give that a whirl smile

name="pants"

 Signature 
Profile
 
 
Posted: 08 July 2008 01:23 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  35
Joined  2007-04-27

DOH!! Completely missed that! Thanks!

Profile