The Question has been closedby
I am learning how to develop custom modules so excuse me if this sounds basic.
For a new module I need to be able to create a view which will have N number of checkboxes. That N number will come from the inputs of another view, lets call it
So in the view
User I want the view to show a checkbox for each category in the
Is this possible? If anyone can point me out on a module with similar functionalities or tip me on the basics on how this can be achieved I will be very thankful.
Thanks in advance
First you have to dynamically create N number of fields for check boxes.
Now second thing about how to display N number of fields? You can dynamically create fields & view by overriding
def view_init &
def fields_view_get methods.
You can find similar code in POS Return.
Hope it will solve your problem.
About This Community
|Asked: 2/17/13, 1:39 AM|
|Seen: 2066 times|
|Last updated: 3/16/15, 8:10 AM|