norcross / gf-tooltips

Convert Gravity Forms description fields into tooltips
12 stars 7 forks source link

Tool Tips On Multi-Page Forms #6

Open jjstevens17 opened 11 years ago

jjstevens17 commented 11 years ago

Hi Norcross,

Thanks for this plugin. It looks like the tooltips only work on the first page of a multi-page form. Any chance of getting this working on all multi-page pages of a form?

Thanks, John

norcross commented 11 years ago

I'd have to test that. It's most likely an issue with the ajax call that pulls the new form content.

jjstevens17 commented 11 years ago

It would be great if you did get a chance to test it. I'll poke around a little this weekend to see if I can see anything but I haven't really worked with the Gravity Forms JavaScript yet. Hopefully there is some way to fire your Tool Tip js code after each form page is loaded via ajax but before it renders.

jjstevens17 commented 11 years ago

It's a quick and dirty solution but I just copied all the js from gf-tooltips.js and pasted in a js file that gets called in the footer of my theme. I binded that code to the gravity forms custom event linked below and it appears tooltips are working fine on all gf form pages now. I haven't tested very much yet though: http://www.gravityhelp.com/documentation/page/Gform_page_loaded