Add new widget in PloneFormGen

PloneFormGen is a nice tool to add dynamic forms in plone
There are lot of different form fields in PloneFormGen
but I was in need of a new type of widget in my form
this is how i did that

first to learn how it works..
download this product and install it after installing DataGridWidget and PloneFormGen

now you can add datagrid widget directly in plone form folder

to use a new type of widget as like data grid widget you can do the following steps
1. copy the PFGDataGrid and paste with name as you like for example PFGNoneMultiSelectionWidget
2. inside the folder change in the following files
content will contain import nonemultiselectionff
rename the to
in every file in every folder
also in you have to define the schema and the function
for this you need to study and this is different for different widgets
you have to define functions so that you can take the widget from the products folder
follow example in datagridfield and in ploneFormGen for ideas
or call me 😉
change PFGDataGrid to PFGNoneMultiSelectionWidget
and change FormDataGridField to FormNoneMultiSelectionWidget


Work is fun!

Tagged with: , , , , ,
Posted in Uncategorized
2 comments on “Add new widget in PloneFormGen
  1. tareq junior says:

    This was very helpful

  2. Jason Hammons says:

    Very interesting. Thank you.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

All content provided on this "" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
March 2009
« Dec   Apr »

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers

%d bloggers like this: