8 years ago
Topic

Hello,

I'm new with SEBLOD and I want to create a form where all category will be inside a drop down list with a category form down-side this list. If the user choose a category then the category form is update with informations.

Is it possible ? Thanks for help.

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
7
Level 1

Are you trying to build category editor? Then it is simpler to make a list&search type that will list all categories with redirect to edit form. 

To do what you would like to do you would need some custom javascript that would open category form in popup after user has selected some category.

8 years ago
6
Level 2

Oh ok thanks.

So I was able to list all category but now, how can I open the edit form when I click on them ?

4229 Posts
Kadministrator
8 years ago
5
Level 3

You need to go to the list (or item, depending on the template chosen) tab of your search&list type and then add link (button 2), where you select Seblod->form.

8 years ago
4
Level 4

Oh it works, one last problem, data isn't submited to the form, when I click on a category with a title and a description data isn't send to the form how to fix that ? Thanks !

4229 Posts
Kadministrator
8 years ago
3
Level 5

When you load a form with some id data should be loaded too. But please note categories do not use article title, they use category title field, you should have them in form if you with to see them.

8 years ago
2
Level 6

What's wrong so ?

Here is how I list & search :

And here how I display my form :

So, my category are nicely listed, but when I click on one category the form appear with no data inside

Thanks for help

4229 Posts
Kadministrator
8 years ago
1
Level 7

Open categories search/list type, go to item tab. There click on 2 - Link and set link to Seblod-Form. Then click on + and  set values there to inherited / inherited / auto / auto

8 years ago
0
Level 8

Thanks it works !

Get a VIP membership