Passing values to CreateAction for form population
I have a relationmanager with the CreateAction in the header. I would like to populate the resulting form with data from the parent class, but I can't seem to figure out the process. I've tried setting the form data in a variety of ways, but nothing seems to pass on to the resulting form. In the code below, I'm trying to populate the TextInput for the 'name' field. Can someone point me in the right direction?
1 Reply
found my answer. needed to set it through ->default on the form, and not by passing it in through the action...