Page 1 of 1

FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 6:30 pm
by jmcgin51
To Calguy or anyone else who may have the answer:

1. How can I get my cursor to automatically be inserted in the Username field in the FEU login form?  (so I don't have to click the field with my mouse or tab into it.)

2. When I click Cancel on the FEU Change Settings form, it just reloads the Change Settings form, and warns that the email address has already been used.  The email warning isn't any bid deal, but is the reload normal, or is is supposed to redirect to some other page (to the referring page, for example.)  I see the {$cancel} Smarty variable in the changesettings template, but I don't know how to tell exactly what it's doing...

3. When I change my password, it warns me that the email address has already been used.  This isn't a big deal, but why does the warning appear?  I would think the warning should only appear if the email field is changed and the new string duplicates an existing string in the database.

thanks for your comments!

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 6:42 pm
by calguy1000
I Can't help with #1, but I'll check into #2, and #3 and get back to you.

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 7:06 pm
by jmcgin51
thanks!  should have mentioned that I'm running .13 release version, with FEU 1.0.5.

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 7:39 pm
by calguy1000
yeah, I thnk these may have been bugs back in 1.0.5..... I just checked in the latest svn stuff works with no problems.

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 8:11 pm
by jmcgin51
ok - I had hesitated to install the latest because I saw that it was a beta, but if you think it's stable, I'll give it a go...

Thanks!

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 8:14 pm
by jmcgin51
in the past, I've focused a particular form field by inserting Javascript in an HTML page as follows:




But this doesn't seem to work in CMSMS - any ideas why not?  I've tried wrapping it in {literal} tags and not wrapping it.

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 8:21 pm
by jmcgin51
ahh, I just remembered the other reason I hadn't downloaded FEU 1.1 beta.  It requires CMSMS 1.0 beta, and I'm running .13 stable.

Oh well, I'll wait till the official 1.0 release and then do all my updates.  Still have to figure out this adodb/adodb lite stuff...

Re: FrontEndUsers - 3 questions

Posted: Thu Aug 31, 2006 8:30 pm
by jmcgin51
Got the cursor issue:

place this code before your form

{literal}

window.onload = function() {
if(document.formname)document.formname.inputfieldname.focus();
}

{/literal}