2 messages in com.mysql.lists.eventum-develRe: Tab order wrong when using custom...
FromSent OnAttachments
Jyrki Heinonen08 Nov 2007 09:23 
Bryan Alsdorf10 Nov 2007 00:49 
Subject:Re: Tab order wrong when using custom fields
From:Bryan Alsdorf (bry@mysql.com)
Date:11/10/2007 12:49:22 AM
List:com.mysql.lists.eventum-devel

Hi Jyrki,

Jyrki Heinonen wrote:

Hi,

i added two extra fields to anonymous reporting form and that really screwed the tab order.

All the original form components are correctly in order (1,2,3,4,5,...) but the new text fields are not. First field has empty tab index and the second is 1.

Is this a bug or did i do something wrong when adding the components?

This is a bug, I have fixed it for the next release.

If you want to fix this for your current release, here is the patch:

Modified: trunk/eventum/templates/post.tpl.html =================================================================== --- trunk/eventum/templates/post.tpl.html 2007-11-10 08:42:43 UTC (rev 3463) +++ trunk/eventum/templates/post.tpl.html 2007-11-10 08:44:39 UTC (rev 3464) @@ -151,6 +151,7 @@ </td> </tr> {include file="edit_custom_fields.tpl.html" custom_fields=$custom_fields form_type='anonymous'} + {assign var=tabindex value=$tabindex+50} <tr> <td width="150" bgcolor="{$cell_color}" class="default_white"> <b>{t}Attach Files{/t}:</b>

Best Regards,

Discover new MySQL Monitoring & Advisory features at: http://www.mysql.com/products/enterprise/whats_new.html