Hello, i'll try to illustrate my problem while i ask here.
I'm trying to make a form. The user select some "User groups" with checkboxes, then the form mails each user from the group the user selected.
Then he types a message and when submitted the members get mailed.
First problem, i can't recieve data from db (the usergroup table)
This is what i'm doing:
> DB Read action cfg:
[attachment=0]2.png[/attachment]
(The other options are blank, but futher i'll add the php line for avoid the "super user" and "public" group)
> The checkboxes config
[attachment=1]3.png[/attachment]
> The events
[attachment=2]4.png[/attachment]
Probably i'm making several mistakes, right? What should i do to begin this?
PS2: Can i keep this thread to solve the other problems (they might appear lol)
Thanks for your patience and this is an AWESOME extension, i'll always use in all my client's sites.
I'm trying to make a form. The user select some "User groups" with checkboxes, then the form mails each user from the group the user selected.
Then he types a message and when submitted the members get mailed.
First problem, i can't recieve data from db (the usergroup table)
This is what i'm doing:
> DB Read action cfg:
[attachment=0]2.png[/attachment]
(The other options are blank, but futher i'll add the php line for avoid the "super user" and "public" group)
> The checkboxes config
[attachment=1]3.png[/attachment]
> The events
[attachment=2]4.png[/attachment]
Probably i'm making several mistakes, right? What should i do to begin this?
PS2: Can i keep this thread to solve the other problems (they might appear lol)
Thanks for your patience and this is an AWESOME extension, i'll always use in all my client's sites.
Hi LucasAnon,
I think that you also need to set the Value Key to id and the Text Key to title in the Edit Element Settings.
Bob
I think that you also need to set the Value Key to id and the Text Key to title in the Edit Element Settings.
Bob
Hey Bob, thanks for your attention..
Well i'm not even seeing on DB Viewer in backend.
and i dont have idea of what i should put on value key and text key :/
Well i'm not even seeing on DB Viewer in backend.
and i dont have idea of what i should put on value key and text key :/
Hey Bob, i've already tried this.
Value Key = id
Text Key = title
it still don't show up the db data.
Data Path = data
and i don't have idea what's happening...
Value Key = id
Text Key = title
it still don't show up the db data.
Data Path = data
and i don't have idea what's happening...
i did before i took the screenshot, then it didn't worked.. this way i thought i did it wrong, now it's filled up with the information "id" and "title" now again as u said.. and still don't work๐
it doesn't show up the "user categories". But if i look with phpmyadmin, they're there
it doesn't show up the "user categories". But if i look with phpmyadmin, they're there
Bob, sorry bothering you, but i've been trying without sucess :/
are this conditions correct?
return array("title" => $form->data("fornecedores"));
the model id is set as "data"
field name: fornecedores[]
field id: fornecedores
options: nothing
--
dynamic data:
data path: fornecedores
value key: id
value text: title
---
are this conditions correct?
return array("title" => $form->data("fornecedores"));
the model id is set as "data"
field name: fornecedores[]
field id: fornecedores
options: nothing
--
dynamic data:
data path: fornecedores
value key: id
value text: title
---
Ok bob, i've already readed tons of time the FAQ, a lot of forums, i've been trying this for more then a month, without success!
The informations are too complicated, i guess...
i dont know how to set the field name, the "data", model id, everything is too confusing for me..
please i really need some help to finish a work, it would be great if i got one support๐
I'm gonna upload the printscreen. Probably i did more mistakes then it had before.. but, whatever, i've tried everything, changing everything..
[attachment=0]1.png[/attachment]
[attachment=1]2.png[/attachment]
[attachment=2]3.png[/attachment]
The informations are too complicated, i guess...
i dont know how to set the field name, the "data", model id, everything is too confusing for me..
please i really need some help to finish a work, it would be great if i got one support๐
I'm gonna upload the printscreen. Probably i did more mistakes then it had before.. but, whatever, i've tried everything, changing everything..
[attachment=0]1.png[/attachment]
[attachment=1]2.png[/attachment]
[attachment=2]3.png[/attachment]
This topic is locked and no more replies can be posted.