Skip to content

Instantly share code, notes, and snippets.

@andyj
Last active August 29, 2015 13:56
Show Gist options
  • Save andyj/9190800 to your computer and use it in GitHub Desktop.
Save andyj/9190800 to your computer and use it in GitHub Desktop.
sameFORMFieldsAsArray in Railo
component output="false" {
this.name="test";
this.sameFORMFieldsAsArray = true;
public function onApplicationStart() output="false"{
return ;
}
public boolean function onRequestStart(required string thePage) output="true"{
return true;
}
}
<cfoutput>
<form method="post" action="#cgi.script_name#">
<input name="name" type="text" value="Peter" />
<input name="name" type="text" value="Susi" />
<input type="submit" value="send" />
</form>
</cfoutput>
<cfdump var="#form#">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment