boxxxie/js2form — Issue #1: What are the arguments?
Author: hatton
Created: 2011-11-19 02:04:52+00:00
State: open

Thanks so much for this script.

The ReadMe has this example:

test = { ids : { store_num : 4} };
populateForm(test);

But that always gave me an error. Looking at your testing.js, I see it being used with an initial argument which is a set of input elements, and the data as a the second argument, and that works for me:

populateForm($form,testData,'name',transformer);

Can you clarify what the arguments are? Thanks.