Kevin,
I think I see what you mean now. Your code is working. I just need to click
somwhere on the flash form to activate it. Can this be done on the onload of
the body?
Thanks for all your help (All of You)!
-Jim
~|
Adobe®
Kevin,
http://www.webmasterworld.com/website_technology/3467406.htm
I think this is my issue, it applies to IE and FireFox though.
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
PROTECTED]
Sent: Wednesday, April 16, 2008 6:35 AM
To: CF-Talk
Subject: Re: cfform format=flash onload
Kevin,
http://www.webmasterworld.com/website_technology/3467406.htm
I think this is my issue, it applies to IE and FireFox though.
-Jim
I'll post a link in the morning. Thanks Kevin. If I dont get it to work I give
up at this point. I think I need to include some large JS to make it work. I
dont want a hack in the code.
~|
Adobe® ColdFusion® 8 software 8 is
and specifically the scriptSrc attribute
of the CFForm tag.
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p38.htm
!k
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 16, 2008 2:12 PM
To: CF-Talk
Subject: Re: cfform format=flash onload
I'll post
All,
Does anyone know the action script to setFocus and have the user be able to
start typing into a cfinput text field?
-Jim
cfsavecontent variable=preSelect
_root.UserID.setFocus();
/cfsavecontent
cfform format=flash skin=haloblue onload=#preSelect#
cfformgroup
-Talk
Subject: cfform format=flash onload
All,
Does anyone know the action script to setFocus and have the user be able to
start typing into a cfinput text field?
-Jim
cfsavecontent variable=preSelect
_root.UserID.setFocus();
/cfsavecontent
cfform format=flash skin=haloblue onload
James you might have to use creationComplete.
Something like:
cfsavecontent variable=onLoad
var myListener = {};
myListener.creationComplete = function() {
_root.UserID.setFocus();
}
/cfsavecontent
Greg
On Tue, Apr 15, 2008 at 1:13 PM, James Blaha [EMAIL PROTECTED] wrote:
All,
Does anyone
Hi Jason,
Thanks I'm trying to get the dream option to work where you can just start
typing.
I've been googling but no luck yet.
I'll post a solution if I get it working.
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most
. If you figure it out, I'd love to know the
solution.
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 15, 2008 12:13 PM
To: CF-Talk
Subject: cfform format=flash onload
All,
Does anyone know the action script to setFocus and have the user be able
Hi Greg,
So close: onload=_root.UserID.setFocus(); this just highlights the box.
I couldnt get what you sent to work.
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free
Greg,
Could please post a small working example?
Thanks for your post!
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
James,
I've never done the focus onLoad, but I have done other functions in the
onLoad event. Try this:
cfsavecontent variable=onLoad
UserID.setFocus();
/cfsavecontent
cfsavecontent variable=binding
{(trigger.text != '') ? trigger.dispatchEvent({type:'change'}) : 'init'}
/cfsavecontent
The key is to set the selection in the text box as well... than the cursor
will be there.
!k
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 15, 2008 12:43 PM
To: CF-Talk
Subject: Re: cfform format=flash onload
Hi Greg,
So close: onload
Hi Kevin,
How do I set the selection? Can those statements both be in the onload=?
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Greg,
When you run your code in your environment then do a page refresh is the cursor
blinking in the text field?
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
:[EMAIL PROTECTED]
Sent: Tuesday, April 15, 2008 2:37 PM
To: CF-Talk
Subject: Re: cfform format=flash onload
Hi Kevin,
How do I set the selection? Can those statements both be in the onload=?
-Jim
~|
Adobe® ColdFusion® 8
This works for me on CF8
cfform format=flash skin=haloblue onload=password.setFocus()
cfformgroup type=horizontal id=myUID
cfinput name=UserID width=200 maxlength=50 required=yes
value= type=text
cfinput name=password width=200 maxlength=50 required=yes
value= type=text
Kevin,
This works but I need to click on the flash form to get the cursor to be
active. Is this what you were talking about?
-Jim
cfsavecontent variable=onLoad
Selection.setFocus(UserID);
Selection.setSelection(0, UserID.text.length);
/cfsavecontent
cfform format=flash skin=haloblue
Hi Qasim,
It only highlights the textbox onload. I need the user to be able to start
typing right on the page load.
-Jim
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free
James,
It does sometimes, really strange. I guess it's just a hack anyways. Maybe
Adobe will add onLoad event to cfform someday.
Greg
On Tue, Apr 15, 2008 at 4:42 PM, James Blaha [EMAIL PROTECTED] wrote:
Greg,
When you run your code in your environment then do a page refresh is the
cursor
format=flash onload
Kevin,
This works but I need to click on the flash form to get the cursor to be
active. Is this what you were talking about?
-Jim
cfsavecontent variable=onLoad
Selection.setFocus(UserID);
Selection.setSelection(0, UserID.text.length);
/cfsavecontent
cfform format=flash
I am using IE. The form shows up on page load just fine. Is that what you mean
by activating the swf?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Is there a border around the SWF with a Click here to activate this
control message showing?
!k
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 15, 2008 4:16 PM
To: CF-Talk
Subject: Re: cfform format=flash onload
I am using IE. The form shows up
No the input field is showing and is also highlighted in blue, its just missing
a blinking cursor.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
25 matches
Mail list logo