CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 update/insert.. onChange

Print topic Send  topic

Author Message
kurt
Posted: 07/16/2004, 12:14 AM

hi,
is it possible to make an Update or Insert without a Submit Button. When i'm leaving the textfield (onChange?) it should be like a Submit?! Is it a client Event? >> Add Action to the textbox>>Submit form?

kurt
peterr


Posts: 5971
Posted: 07/16/2004, 12:57 AM

The simplest way may be to edit your HTML and in your text field tag add this HTML/JavaScript attribute: onchange="form.submit();"
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
kurt
Posted: 07/16/2004, 2:46 AM

Quote peterr:
The simplest way may be to edit your HTML and in your text field tag add this HTML/JavaScript attribute: onchange="form.submit();"

thanks!
DonB
Posted: 07/17/2004, 7:10 AM

A couple of "nits". I think the event should be onblur (as it loses focus)
although onchange might work, too. Second, the entire form (all fields) are
submitted, not just the current one. Be careful.

--
DonB

logging at http://www.gotodon.com/ccbth, and blogging at
http://ccbth.gotodon.net


"kurt" <kurt@forum.codecharge> wrote in message
news:240f7a3f386ce1@news.codecharge.com...
>
Quote peterr:
> The simplest way may be to edit your HTML and in your text field tag add
this
> HTML/JavaScript attribute: onchange="form.submit();"
>
>
> thanks!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

kurt
Posted: 07/21/2004, 6:42 AM

Quote peterr:
The simplest way may be to edit your HTML and in your text field tag add this HTML/JavaScript attribute: onchange="form.submit();"

hi peterr,
* the Onblur and the Onchange works both...but only if i have an submit button in my form ) - i think there is no way to do this without them..

* the Onblur and the Onchange produces a submit form (i can see it) , but no Database Insert!
by
kurt

Add new topic Subscribe to topic   


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.