list:string types do not come yet with pratical dynamic validator and widget so I wrote one. It handles list:string like text tags separated by comma by in a transparent way.
If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
list:string types do not come yet with pratical dynamic validator and widget so I wrote one. It handles list:string like text tags separated by comma by in a transparent way.
0
emilio-sanchez-sierra-11473 11 years ago
I would like to add that if this is used in a form that uses an 'onvalidation' and the validation fails, it corrupts the data by adding artifacts (in the form of "'[" and related). To fix this, modify the method tags_widget with:
This happen even if you apply piemaster21 changes (which are awesome btw).