Hi guys, I have a question,
I have an idea but i don't know how to execute it in GC.
I just want to replicate the edit on the add view.
E.G.
i have parents and children tables.
parents table
-id
-first name
-last name
children table
-id
-first name
-last name
-parent name
on the parents view, i created a button, "add children" giving to the new view the id of the parent via GET.
something like, children/add/14 the 14 is the id of the parent on the table.
using the 14(the id of the parent), i will query the database, get the first name and the last name of the parent, and i need to set those data on the fields on the add of the view on the children.
so on the add view of the children the last name and the parent name will automatically have values from database....
did you guys get the idea? i need some help.. im searching the forum but its kinda hard to find exactly what im searching for.
thanks in advance!