Hi David,
Thanks. Your suggestion makes sense. In fact, it is something I had already considered, but hoped there might be an integrated solution. eg. I hoped GF might be pseudo-intelligent enough to find the input fields within the HTML block.
As to why, the first reason was because I'm basically collecting tabular data, and having the numerical inputs inside of table cells, while adjacent cells use jQuery to display calculated results, makes a lot of sense.
The second reason, for the hidden (calculated) inputs, was so that I could address them directly using unique classes without having to use wordpress custom fields on a page by page basis. In other words, I wanted to be able to code my template with the GF HTML block in mind, rather than have to pull in data from wordpress in order to manipulate fields.
That leads me to a question, which I'll post in its own topic. update: posted it here: "Use jQuery to fill in fields".
Thanks,
- tollie
Posted 14 years ago on Wednesday July 28, 2010 |
Permalink