how to add fields to a form dynamically

asked 2015-01-31 13:07:40 -0500

eugene.goldberg gravatar image

Is there a way to add fields to a SelfHandlingForm dynamically during the __init__ ? I have a form, which is used to place an order. Each item in the order has a couple of attribute values, which can only be specified during ordering of an item. Depending n how many iets are being ordered, I need to add the fields for each item to the order form. Is there a way to do that in Horizon Forms?

edit retag flag offensive close merge delete