Hello. I need to be able to populate a hidden field using Javascript with a result from an ajax query. I can do this by referring to the id which is generated in the form. However this isn't very portable and I'd like to use the same piece of js in different forms. If I could name the hidden field I could do this, however at the moment I don't seem to be able to.
Unless you have a trick that is. The content of this field does need to arrive in the entries table otherwise I could dynamically generate the hidden input.
Any suggestions?
Regards
Russell Wyatt