Hi,
I`m new to use chronoforms, it seemd to be a very usefull component, but I have some problems to use it right. I saw the tutorials so I could understand a litte bit.
But now I don`t know how I can do that there are no double DB-inserts:
My form is very simple - 2 text-fields (Place and Name) and one submit button.
My setup is:
"On load" -> Html render form
"On submit" -> DB read ->
"On found" -> "Display message" (no insert, Name in database)
"On not found" -> "DB save" & "Display message" (in database saved)
I don`t know how i must config the "DB read"
My table have follow structur: id, uniq_id, place, name
My config in the moment is:
Label for this action : is empty
Enabled: Yes
Table name: x111x_placename
Multi read: Yes
Enable Model ID: Yes
Model ID: is empty
Fields: name
Order: is empty
Group: is empty
Conditions: is empty
I will say: when the name in the form is in the database than there is no saving, output only the message.
But when the name is not in the database than is should insert to the database.
(Is in the ChronoForms Book such cases exactly explained an is there are a german language version, because englisch is hard for me)
Thanks in advance
I`m new to use chronoforms, it seemd to be a very usefull component, but I have some problems to use it right. I saw the tutorials so I could understand a litte bit.
But now I don`t know how I can do that there are no double DB-inserts:
My form is very simple - 2 text-fields (Place and Name) and one submit button.
My setup is:
"On load" -> Html render form
"On submit" -> DB read ->
"On found" -> "Display message" (no insert, Name in database)
"On not found" -> "DB save" & "Display message" (in database saved)
I don`t know how i must config the "DB read"
My table have follow structur: id, uniq_id, place, name
My config in the moment is:
Label for this action : is empty
Enabled: Yes
Table name: x111x_placename
Multi read: Yes
Enable Model ID: Yes
Model ID: is empty
Fields: name
Order: is empty
Group: is empty
Conditions: is empty
I will say: when the name in the form is in the database than there is no saving, output only the message.
But when the name is not in the database than is should insert to the database.
(Is in the ChronoForms Book such cases exactly explained an is there are a german language version, because englisch is hard for me)
Thanks in advance