On Wed, 19 Jun 2013 08:56:57 -0300, Athneria, Mahendra <mahendra.athne...@atos.net> wrote:

Hi,

Hi!

Have you tried using autofocus="false" in the Form component?


I am facing weird issue on my tapestry page.

On page I have three fields.

1st - select box -> tabindex is 1 and t:validate="required"
2nd - textfield -> tabindex is 2 and t:validate="required"
3rd - textfield -> tabindex is 3 and t:validate="required"

When my page gets load default focus is on 2nd textfield, but as per the tab index it has to be on select box.

To solve this issue I used below script on my tml page.

<script type="text/javascript">
Event.observe(window, 'load', function() {document.getElementById('id').focus();});
</script>

This is working pretty fine, on page load focus shifted from textfield to selectbox, but error balloon pops up on textfield.

Please help me to solve the issue.

Thanks in advance.

Regards,
Mahendra


--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to