Form Inputs Only?

I’m trying to re-populate a form after an errant submission and want to get a struct of the key/value pairs submitted via post/get.

In the html, I’m currently serializing the RC to JSON and using it to match up the values with form inputs via JQuery.

The problem I’m having is that the RC has routing details and additional crapola in it and the FORM scope is empty (does CB clear this out when assembling the RC)?

So, is there a way to get the struct of the form inputs without things like event and/or is there a better way to accomplish what I’m trying to do?

Thanks!
Ben

hmm, we don´t clear any scope Ben

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Hi Ben,

I use this plugin:

http://objectivebias.com/entry/formutilities-plugin-for-coldbox

I believe it will do exactly what you want and is easy to implement.

odd… in ACF 9.something, though i’m using POST and the values are in the RC, the FORM struct is empty…

West, that’s great! I’ll use that for sure.