Forums / Setup & design / How to set attributes after submit?
Ivo Lukac
Friday 06 May 2005 5:53:51 am
Hello everybody!
I am using eZ for one week now :) so there are a lot of stuff that I don't no about eZ. Maybe the solution to my problem is very simple, don't no.
The problem: I created a custom class with an enum attribute. After user saves new object the selected value of enum attribute must be stored into another attribute.
What is the simplest way to do it?
Thanks for any help.
Ivo
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac
Xavier Dutoit
Monday 09 May 2005 9:14:25 am
The simpler is probably some javascript and onsubmit+ custom edit form.
On the server side, use a workflow with a custom event on the publish before trigger. Not that complicated, but a pain to debug.
X+
http://www.sydesy.com
Tuesday 10 May 2005 5:04:09 am
Yes, javascript method is probably the simplest way but I am searching for "eZ" way :)This custom event could do the trick.
Thanks,Ivo