Hi, I have a drupal site that uses the webform module. For my project I needed to style the form elements with custom html and css in such a way that I had to create the form from scratch, but have it submit to a webform with matching input fields for processing. Now this works perfectly for about a day, but it appears every 12-24 hours cron automatically changes a hidden input field needed for the form to be submitted. Simply by going to the page that holds the original ‘webform' generated form and copying the hidden field value from the source works every time, but it changes in 12-24 hours. I'm unaware the best solution to this problem, but without any more information I believe I need only a php script OR a jquery/javascript that loads the original ‘webform' form page and copies the hidden field value and inserts it into the current form.
So what I need is:
Any one of the following:
I. A better solution
II. A php script that opens the page that my customized form submits to, copies the hidden field value, and inserts it for my form.
III. A javascript / jquery script that does the same thing as II.