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?


hmm, we don´t clear any scope Ben

Luis Majano
Ortus Solutions, Corp

ColdBox Platform:
Linked In:
Social: | |

Hi Ben,

I use this plugin:

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.