Apr 26th, 2010, 7:22 PM
Hi Dan,
Ah... so the problem is with the Add Form process itself? No, I don't think that will be able to populate the option values since they're dynamically generated.
One option would be to just forge ahead and finish the form. You can then manually add the form fields later. But this can be a real pain if there are dozens or hundreds of radio / checkbox / dropdown field options.
A second option is a little sneakier... I've had to resort to this in a couple of situations. Quick explanation first.
Step 5 of the Add Form process actually loads your form page(s) into hidden iframes in the page, then uses javascript to parse the form fields. However, sometimes JS loading in the iframe fails to work properly so the Add Form process isn't able to read the values.
So! Instead of actually getting the script to parse the dynamically generated page, you can fool it and show.
Load up your webpage in a browser (preferably Firefox because it's easiest). Then, view DYNAMIC source on the page. This shows all current markup, including that that's been generated via JS. Firefox has an option for this on the right-click menu. IE... who knows. Then, save that file in the same folder as your form.
Then, in the Add Form process, return to step 1 and enter the URL of this scraped page. That should enable the Add Form script to do it's job and locate the fields.
Hope this helps!
- Ben
Ah... so the problem is with the Add Form process itself? No, I don't think that will be able to populate the option values since they're dynamically generated.
One option would be to just forge ahead and finish the form. You can then manually add the form fields later. But this can be a real pain if there are dozens or hundreds of radio / checkbox / dropdown field options.
A second option is a little sneakier... I've had to resort to this in a couple of situations. Quick explanation first.
Step 5 of the Add Form process actually loads your form page(s) into hidden iframes in the page, then uses javascript to parse the form fields. However, sometimes JS loading in the iframe fails to work properly so the Add Form process isn't able to read the values.
So! Instead of actually getting the script to parse the dynamically generated page, you can fool it and show.
Load up your webpage in a browser (preferably Firefox because it's easiest). Then, view DYNAMIC source on the page. This shows all current markup, including that that's been generated via JS. Firefox has an option for this on the right-click menu. IE... who knows. Then, save that file in the same folder as your form.
Then, in the Add Form process, return to step 1 and enter the URL of this scraped page. That should enable the Add Form script to do it's job and locate the fields.
Hope this helps!
- Ben