Hi, ALL
I want to implement a feature: When an option is selected, the form including this drop-down list should be submitted automatically. How should I do? Best Regards, Jack Liu |
We know, in html, we need write some javascript code.
In OFBiz, then how should we do? -----Original Message----- From: Jack Liu [mailto:[hidden email]] Sent: 2009年2月15日 11:06 To: [hidden email] Subject: How to make a form with options auto-submitted? Hi, ALL I want to implement a feature: When an option is selected, the form including this drop-down list should be submitted automatically. How should I do? Best Regards, Jack Liu |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 can you be more specific in ofbiz feature is related to a product. Jack Liu sent the following on 2/14/2009 7:35 PM: > We know, in html, we need write some javascript code. > In OFBiz, then how should we do? > > -----Original Message----- > From: Jack Liu [mailto:[hidden email]] > Sent: 2009年2月15日 11:06 > To: [hidden email] > Subject: How to make a form with options auto-submitted? > > Hi, ALL > I want to implement a feature: > When an option is selected, the form including this drop-down list > should be submitted automatically. > How should I do? > > > Best Regards, > > Jack Liu > > > Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJl5OJrP3NbaWWqE4RAlT4AJ9nh5QDn3eLJOPZblwUVt4mGqlHCgCgyQ1r KyK/QBh890BwIDz+t0sD72c= =d6sm -----END PGP SIGNATURE----- |
I want to implement this feature in my own project.
I simply describe the scenario in my project below: Every customer has an attribute "type". For different types, fill in different forms. It's very simple to implement this requirement with two pages (or more pages). In the first page, choose a type, then the second page displays the relating form according to the type just chose. But now, we want to put all these in one page. -----Original Message----- From: BJ Freeman [mailto:[hidden email]] Sent: 2009年2月15日 12:01 To: [hidden email] Subject: Re: How to make a form with options auto-submitted? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 can you be more specific in ofbiz feature is related to a product. Jack Liu sent the following on 2/14/2009 7:35 PM: > We know, in html, we need write some javascript code. > In OFBiz, then how should we do? > > -----Original Message----- > From: Jack Liu [mailto:[hidden email]] > Sent: 2009年2月15日 11:06 > To: [hidden email] > Subject: How to make a form with options auto-submitted? > > Hi, ALL > I want to implement a feature: > When an option is selected, the form including this drop-down list > should be submitted automatically. > How should I do? > > > Best Regards, > > Jack Liu > > > Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJl5OJrP3NbaWWqE4RAlT4AJ9nh5QDn3eLJOPZblwUVt4mGqlHCgCgyQ1r KyK/QBh890BwIDz+t0sD72c= =d6sm -----END PGP SIGNATURE----- |
In reply to this post by Jack Liu-2
search for 'event="onChange"' in *Forms.xml files for examples.....
On Sun, 2009-02-15 at 11:35 +0800, Jack Liu wrote: > We know, in html, we need write some javascript code. > In OFBiz, then how should we do? > > -----Original Message----- > From: Jack Liu [mailto:[hidden email]] > Sent: 2009年2月15日 11:06 > To: [hidden email] > Subject: How to make a form with options auto-submitted? > > Hi, ALL > I want to implement a feature: > When an option is selected, the form including this drop-down list > should be submitted automatically. > How should I do? > > > Best Regards, > > Jack Liu > Antwebsystems.com: Quality OFBiz services for competitive prices |
Thank you!
It works well. -----Original Message----- From: Hans Bakker [mailto:[hidden email]] Sent: 2009年2月15日 15:59 To: [hidden email] Subject: RE: How to make a form with options auto-submitted? search for 'event="onChange"' in *Forms.xml files for examples..... On Sun, 2009-02-15 at 11:35 +0800, Jack Liu wrote: > We know, in html, we need write some javascript code. > In OFBiz, then how should we do? > > -----Original Message----- > From: Jack Liu [mailto:[hidden email]] > Sent: 2009年2月15日 11:06 > To: [hidden email] > Subject: How to make a form with options auto-submitted? > > Hi, ALL > I want to implement a feature: > When an option is selected, the form including this drop-down list > should be submitted automatically. > How should I do? > > > Best Regards, > > Jack Liu > Antwebsystems.com: Quality OFBiz services for competitive prices |
Free forum by Nabble | Edit this page |