Form Properties AutoFocus Issue

User 2836110 Photo


Registered User
105 posts

I have noticed in Form Properties than not all Elements are listed in the AUTOFOCUS drop down list.
My Drop Down boxes seem to be missing.
Anybody know why this is ?? Or is this by design.
User 2699991 Photo


Registered User
4,201 posts
Online Now

Lou Mitsy wrote:
I have noticed in Form Properties than not all Elements are listed in the AUTOFOCUS drop down list.
My Drop Down boxes seem to be missing.
Anybody know why this is ?? Or is this by design.


One assumes that is by design in order to give a user a better experience,, as in the use of the "tab' for completing more important fields first rather than having to jump back and forth.
NEW TO "SITE DESIGNER"?,
STUCK ON SOMETHING?
NEW TO
COFFEECUP'S SITE DESIGNER FOUNDATION FRAMEWORK?
STUCK ON SOMETHING?
WANT TO LEARN & UNDERSTAND "THE HOW TO"? WHY'S & WHEREFORE'S?
I can make "INDIVIDUAL BESPOKE" step-by-step video tutorials
for you to watch at your leisure as many times as you need

my secure email details form
https://rsd-tutorialscom.coffeecup.com/ … dtutorials
User 2699991 Photo


Registered User
4,201 posts
Online Now

Although I also can see that sometimes having the ability to set autofocus set on something like a dropdown (say for a subject matter) would be useful.
NEW TO "SITE DESIGNER"?,
STUCK ON SOMETHING?
NEW TO
COFFEECUP'S SITE DESIGNER FOUNDATION FRAMEWORK?
STUCK ON SOMETHING?
WANT TO LEARN & UNDERSTAND "THE HOW TO"? WHY'S & WHEREFORE'S?
I can make "INDIVIDUAL BESPOKE" step-by-step video tutorials
for you to watch at your leisure as many times as you need

my secure email details form
https://rsd-tutorialscom.coffeecup.com/ … dtutorials
User 2836110 Photo


Registered User
105 posts

Thanks Wayan,

My first item on my form is the User Name in a Drop Down so it would have been great to AUTOFOCUS to that position.
User 2699991 Photo


Registered User
4,201 posts
Online Now

hmm so why not in a plain good old Text field? easy to set that as autofocus,,
NEW TO "SITE DESIGNER"?,
STUCK ON SOMETHING?
NEW TO
COFFEECUP'S SITE DESIGNER FOUNDATION FRAMEWORK?
STUCK ON SOMETHING?
WANT TO LEARN & UNDERSTAND "THE HOW TO"? WHY'S & WHEREFORE'S?
I can make "INDIVIDUAL BESPOKE" step-by-step video tutorials
for you to watch at your leisure as many times as you need

my secure email details form
https://rsd-tutorialscom.coffeecup.com/ … dtutorials
User 2836110 Photo


Registered User
105 posts

There are 13 Users that will use the form daily so the Drop down was the easier option.
I have currently set it to the DATE Field which is the uppermost field but it would have been nicer to AutoFocus on the User Name.
User 2836110 Photo


Registered User
105 posts

I just tested the Form AUTOFOCUS option which doesn't seem to work on IOS, its fine on an ANDROID.
Anyone else experience this ??
User 2836110 Photo


Registered User
105 posts

After playing around further,
It seems that WFB will not save the AUTO FOCUS Element that i select it always reverts back to the last element on the Form.
Is this a bug maybe ??
User 187934 Photo


Senior Advisor
19,948 posts

Adding it to your select after export is one method.
Example:
<select name="username" id="item3_select_1" required data-hint="" autofocus="">

Another option is to add a HTML element to your page and paste this code into it. Adjust the bold part to the name of your select.
<script>function setFocusToSelect(){
document.getElementsByName("username")[0].focus();
}
window.onload = setFocusToSelect;</script>

JS option working here.
https://ericrohloff.com/coffeecup/ccfor … uto-focus/

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2836110 Photo


Registered User
105 posts

Thanks Eric for the workaround,

But is it an issue with WFB ? Or is it something i am not understanding.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.