Share » Forums » Developer » Custom creation form : trouble...

Custom creation form : trouble trouble trouble

Custom creation form : trouble trouble trouble

Wednesday 13 July 2005 3:38:55 am - 4 replies

Author Message

Nabil Alimi

Wednesday 13 July 2005 5:27:38 am

I'll try something else.

I'm gonna use a text line.

But at object creation, instead of displaying an <input type="text"> I'd like to display a <select> box. The specified value will be stored into the text line.

Is this possible ? When looking at the content form creation, it seems that it cant be achieved so simply...

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Eivind Marienborg

Wednesday 13 July 2005 6:05:30 am

This is very possible. You just have to make sure to get the id's right. I've used this at several sites. Good luck :)

Nabil Alimi

Wednesday 13 July 2005 7:41:37 am

^^ ok but... Could you give a hint or two ? ^^'
The Ids in the object relation are not the node id's of the object they are related to.
So I dont see how I can make the link.
And it doesnt look as simple as you seems to say it. ^^

(Does my sentence means anything ?)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Eivind Marienborg

Wednesday 13 July 2005 8:06:36 am

Hum, I guess I was a bit unprecise there. I've used the dropdown to replace the text input with success, but not in a object relation.

Try and failing is a good method ;) And use the {$node|attribute(show)}. Good luck :)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu