On this form, we would like the sub-labels to appear above the boxes rather than below. How can I make this change?
http://www.careerprocanada.org/cpc-application-for-approval/
On this form, we would like the sub-labels to appear above the boxes rather than below. How can I make this change?
http://www.careerprocanada.org/cpc-application-for-approval/
This is not a built in option.
You can use this jQuery method and it would apply to all the description fields without having to specify each one individually.
Hi Carl,
The jQuery snippet on that page wasn't quite right (at least it didn't work for me!). I've modified it slightly as follows, this isn't a fully tested method however.
Thanks for sharing Joff. :)
I edited this a little for my form, since the code above was making my radio labels wonky. This code is the same as above except it selects text inputs specifically while making an exception for radio buttons. Hope someone finds it useful!
Thanks cjmox. I am sure someone will.
You missed a line... Without it, checkbox fields don't work. Here's the correct code.
Thanks for the update DrDave.
Actually, this isn't right either.. It doesn't move the email field descriptions...
Unfortuantely, I'm sick, and my coding ability is about 0 today.
I tried adding this:
But, it doesn't work..
Anyone who's not sick care to fix my mistake? Then, it should actually work correctly :)
Solution:
I posted something similar earlier this evening, here:
http://www.gravityhelp.com/forums/topic/address-labels-below-fields#post-176132
Is this working for you now?
Chris, your pastebin is the old version...
This one above works ^^^^ the one you have on the pastebin doesn't do emails properly...
(and, pastebin: http://pastebin.com/wbrrLBkx )
Thanks for the updated code. http://pastebin.com/CfFeP4Ux
Here's an update by Ross McKay:
The code there acts upon all fields, then undoes its actions for radio buttons and checkboxes. Better to just not act on those. Here's a snippet that only adds the script to pages with a Gravity Forms form, and doesn't act on radio buttons or checkboxes.