Custom event to create OR update
This is an open discussion with no replies, filed under General.
Search
Create an account or sign in to comment.
This is an open discussion with no replies, filed under General.
Create an account or sign in to comment.
Quick Links
Symphony • Open Source XSLT CMS
--with-xsl
)
(Just for reference if some other symphony users have the same need and as me are not very php.)
Scenario : a section has a unique field, (in the following case, it is an email). A front end form allow to create an new entry. If you need to update an existing entry (in the following case a security hash) instead of creating a new one, here is a custom event (thanks to @jonmifsud):
XXX is the email field ID and YYY the birthdate field ID