CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 I'm giving Chris a rest

Print topic Send  topic

Author Message
garydedub
Posted: 03/15/2003, 9:03 AM

Chris (cc support) has given me superb help over the last couple of days so
I'll give him a rest and ask a couple of questions here instead. I'm using
CC 2.0.5

1. Is it possible to force uppercase entry in a field?
2. Is it possible to have the first field (or any field) selected
automatically when a form is opened?

TIA

Gary Finlay

cornwell
Posted: 03/15/2003, 5:16 PM

Yes to both, but you'll need to use javascript, nothing you can do natively
in the framework



"garydedub" <garyf@esatclear.ie> wrote in message
news:b4vmcp$q5q$1@news.codecharge.com...
> Chris (cc support) has given me superb help over the last couple of days
so
> I'll give him a rest and ask a couple of questions here instead. I'm
using
> CC 2.0.5
>
> 1. Is it possible to force uppercase entry in a field?
> 2. Is it possible to have the first field (or any field) selected
> automatically when a form is opened?
>
> TIA
>
> Gary Finlay
>
>

garydedub
Posted: 03/16/2003, 3:05 AM

Thanks for that information. If you've implemented
either of these two items would you care to share the
solution or point me in the right direction?

TIA
Gary

"cornwell" <cornwell@tasmail.com> wrote in message
news:b50j9d$nl3$1@news.codecharge.com...
> Yes to both, but you'll need to use javascript, nothing you can do
natively
> in the framework
>
>
>
> "garydedub" <garyf@esatclear.ie> wrote in message
>news:b4vmcp$q5q$1@news.codecharge.com...
> > Chris (cc support) has given me superb help over the last couple of days
> so
> > I'll give him a rest and ask a couple of questions here instead. I'm
> using
> > CC 2.0.5
> >
> > 1. Is it possible to force uppercase entry in a field?
> > 2. Is it possible to have the first field (or any field) selected
> > automatically when a form is opened?
> >
> > TIA
> >
> > Gary Finlay
> >
> >
>
>

wolfgang
Posted: 03/16/2003, 1:09 PM

To put focus on nominated editable field:
This script is added to page header:

<script language ="JavaScript">
function putFocus(formInst, elementInst) {
if (document.forms.length > 0) {
document.forms[formInst].elements[elementInst].focus();
}
}
</script>

Then in body tag place this call
onLoad="putFocus(0,0);"
where numerics are form number and field number, zero based.

Be careful to account for hidden fields in forms if they are before visible
fields.

Try http://developer.irt.org/script/script.htm for the Uppercase need.


Cornwell

"garydedub" <garyf@esatclear.ie> wrote in message
news:b51lqe$vhj$1@news.codecharge.com...
> Thanks for that information. If you've implemented
> either of these two items would you care to share the
> solution or point me in the right direction?
>
> TIA
> Gary
>
> "cornwell" <cornwell@tasmail.com> wrote in message
>news:b50j9d$nl3$1@news.codecharge.com...
> > Yes to both, but you'll need to use javascript, nothing you can do
> natively
> > in the framework
> >
> >
> >
> > "garydedub" <garyf@esatclear.ie> wrote in message
> >news:b4vmcp$q5q$1@news.codecharge.com...
> > > Chris (cc support) has given me superb help over the last couple of
days
> > so
> > > I'll give him a rest and ask a couple of questions here instead. I'm
> > using
> > > CC 2.0.5
> > >
> > > 1. Is it possible to force uppercase entry in a field?
> > > 2. Is it possible to have the first field (or any field) selected
> > > automatically when a form is opened?
> > >
> > > TIA
> > >
> > > Gary Finlay
> > >
> > >
> >
> >
>
>

garydedub
Posted: 03/16/2003, 3:10 PM

That worked perfectly, thank you. Am I right in saying that the
body tag bit must be done manually, in other words there is
nowhere in CC that I can edit the body tag?

TIA
Gary



"wolfgang" <wolfg@messinglaus.de> wrote in message
news:b52p5q$dl0$1@news.codecharge.com...
> To put focus on nominated editable field:
> This script is added to page header:
>
> <script language ="JavaScript">
> function putFocus(formInst, elementInst) {
> if (document.forms.length > 0) {
> document.forms[formInst].elements[elementInst].focus();
> }
> }
> </script>
>
> Then in body tag place this call
> onLoad="putFocus(0,0);"
> where numerics are form number and field number, zero based.
>
> Be careful to account for hidden fields in forms if they are before
visible
> fields.
>
> Try http://developer.irt.org/script/script.htm for the Uppercase need.
>
>
> Cornwell


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.