sending values to form made at Form Builder in edit() function

Laraship QuestionsCategory: Technicalsending values to form made at Form Builder in edit() function
nao asked 6 years ago
At edit() function of UsersController class, values are given into create_edit.blade.php below process: view('User::users.create_edit')->with(compact('user')); Then values are shown at each form items. This case can achive because form items are coded directly in create_edit.blade.php file. I have a question. If I embed form made at Form Builder in create_edit.blade.php file, can values be given into embed form? If no, how do I code to archive?
2 Answers
laraship Staff answered 6 years ago

Hello,

You can pass parameters if you are using the external embed code, not the shortcode

laraship Staff answered 6 years ago

It will be something like this

<div data-embed-src="http://formbuilder.laraship.com/forms/v1oz1Yz27j/embed?**data1=val1&data2=val2**"><script type="text/javascript" src="http://formbuilder.laraship.com/assets/corals/plugins/formbuilder/js/embed.js">

where data1 and data2 are field names