Focus not working correct

From FacileWiki

Cause #1: element ordering

These problems often appear to be browser dependent so it may work in internet explorer but not in firefox for example. The reason is that forms were traditionally arranged with plain HTML instead of DIV's, and so the elements allways had the same sequence within the code as they were displayed on the screen.

To make all browsers happy, you just need to order the elements in the list the same way they appear on the form. This can be done by clicking on the arrows in column Reorder to move single elements up or down the list. Even simpler if you got a newer release of Facile Forms: click on the header Reorder itself to have all elements of a page sorted automaticly.

Cause #2: getfocus scripts assigned to wrong elements

A common source of focus problems are elements that have a getfocus script assigned, most probably in the initialization script. This may happen accidently when you copy or use elements from other forms.

Make sure that at most one element of the whole form has a getfocus script fired at form entry, and also only one element of each page has a getfocus script assigned at page entry.

| Terms of Use | Privacy | Sitemap |
Editing tools
Personal tools