Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-26T21:17:45-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2805 2011-03-26T21:17:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8420#p8420 <![CDATA[Re: Registration form TAB order]]>
man-O-media wrote:
As I said in the password post... You be da man !!!

Seems kind of funny to me though.
I kind of understand leaving holes in the tab order for other underlying code but why not just calculate the tab order at run time?
I would think that it would be pretty easy to traverse the form, count the required TAB stops, add what ever you need in the middle and put the button at the end.
Then again, I guess it is pretty unlikely someone will build a form with hundreds of data fields :shock:

Daine

Thanks for the great suggestion. I'll take a look at that possibility.
~ and thanks for the KUDOS! You too :-)

Statistics: Posted by Jason Caldwell — March 26th, 2011, 9:17 pm


]]>
2011-03-26T16:10:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8399#p8399 <![CDATA[Re: Registration form TAB order]]>
man-O-media wrote:
Then again, I guess it is pretty unlikely someone will build a form with hundreds of data fields :shock:


I guess you would need a pretty hard-core user to convert with one of those. :lol:

Statistics: Posted by Cristián Lávaque — March 26th, 2011, 4:10 pm


]]>
2011-03-26T15:50:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8396#p8396 <![CDATA[Re: Registration form TAB order]]> You be da man !!!

Seems kind of funny to me though.
I kind of understand leaving holes in the tab order for other underlying code but why not just calculate the tab order at run time?
I would think that it would be pretty easy to traverse the form, count the required TAB stops, add what ever you need in the middle and put the button at the end.
Then again, I guess it is pretty unlikely someone will build a form with hundreds of data fields :shock:

Daine

Statistics: Posted by man-O-media — March 26th, 2011, 3:50 pm


]]>
2011-03-26T03:46:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8379#p8379 <![CDATA[Re: Registration form TAB order]]> Thanks for reporting this important issue.

OK. This is a compatibility issue.
WordPress applies a default tabindex of 100 to the submission button on the default Registration Form; and starts with a tabindex of 10/20 for the Username/Password that it builds in by default.

So in cases like yours, where there are MANY Custom Registration Fields, s2Member can potentially go beyond the bottom-most tabindex of 100. This happens because s2Member increments its Custom Registration tab indexes by 10; leaving room between each Field for custom Hooks/Filters.

So the solution we're going to implement in the next release of s2Member, is to modify the form submission button to a tabindex of 1000, making additional room for site owners with many Custom Registration Fields. This can be handled dynamically via jQuery.

I'm attaching a JavaScript file for you with these changes, so you can go ahead and correct this issue on your installation while you're waiting for the next release of s2Member ( v3.5.8+ ). Incidentally, I'm also including a bug fix in this JavaScript file that corrects the bug you reported here.

Please upload this file and allow it to override your existing copy.
/wp-content/plugins/s2member/includes/s2member-min.js
( then, clear your browser cache; and/or refresh the page )
s2member-min.js

Statistics: Posted by Jason Caldwell — March 26th, 2011, 3:46 am


]]>
2011-03-26T02:16:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8373#p8373 <![CDATA[Re: Registration form TAB order]]> Hi Daine. Thanks for your assistance in the forum.
I've updated your Rank to "Experienced User". It's really great to have your assistance.

Can you please attach a screen shot for me?
I'll investigate this for you, but just to make sure I'm looking in the right place, a screen shot will help. Better yet, please email me a link to the form you're having trouble with ( if that's possible ). Thanks!

Statistics: Posted by Jason Caldwell — March 26th, 2011, 2:16 am


]]>
2011-03-25T01:20:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8322#p8322 <![CDATA[Re: Registration form TAB order]]>

Statistics: Posted by Cristián Lávaque — March 25th, 2011, 1:20 am


]]>
2011-03-24T09:01:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2805&p=8289#p8289 <![CDATA[Registration form TAB order]]>
This problem seemed to go away when I updated to 3.55 but I changed my custom registration fields yesterday and now I am again having a form 'TAB Order' issue.

Including the default wp fields, my registration form has about 11 required fields followed by some optional fields.
If a new registrant uses tab to move through the form it all behaves nicely until the second to last required field. From there, TAB moves to the 'Register' button.
Another TAB takes you back up to the next field in the form where you should have been.

Anyone seen this before?

Thanks, Daine

Statistics: Posted by man-O-media — March 24th, 2011, 9:01 am


]]>