If you want to use form widgets have a look into https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples#DropDownFieldsExampleForm_dependendDropDownFields_title

BTW it's always a good idea to look at the Example applications...

Jacques

Sam Hamilton wrote:
Hi Imran,

If you look into the source code for this page it should provide an example to 
help solve your problem.
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/newcustomer

Sam


On 30 Aug 2011, at 11:57, imran ismail wrote:

Hi All,
I am just a new comer to OFBiz community and the mailing list, I have started 
to use OFBiz framework just couple of months ago
and I have gone through the book that "Beginners Tutorial". I have some problem 
of adding dropdown to the forms. I.e. In my form
there are two drop downs, first one you can select the state and the second 
dropdown gives you to select the districts depending
upon the state you select at the first dropdown. My Question is how do I load 
the second drop down according to the first
dropdown selected.
Thanks and Kind regards,
Imran

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to