I hope everyone is well. I'm having a problem with dexterity using the AddForm and AddView (on Plone 5.0.4). What makes me so confused is it worked a month ago and now stopped. The EditForm on the dexterity object works perfect but the AddForm isn't being called.
Here is my code copied/pasted onto one doc for your convenience (python + configure.zcml) https://pastebin.com/u3EQi4bE
I'm so lost as to why the update is not triggering now. It is being called by the standard plone toolbars ++add++polklibrary.form.leaverequests.models.leaverequest
Hi,
I think I have the same problem - I cannot modify the "AddForm" (the EditForm works perfect).
class AddForm(DefaultAddForm):
portal_type = 'patient'
def updateWidgets(self):
super(EditForm, self).updateWidgets()
logger.info('foo')
class AddView(DefaultAddView):
form = AddForm