I love jsonFormBuilder, but I'm trying to figure out how to use it for functions other than emailing. If I use it in a chunk, it works great with validation and redirecting. Now I need it to redirect to another page and pass the data collected from the form. How do I pass the data to the redirected page (which uses another chunk)? Below is what I currently have, which doesn't work:
Form Chunk
[[!JsonFormBuilder-fromJSON? &json=`
{
"id": "TestPreviewForm",
"redirectDocument": "36",
"jqueryValidation":true,
"placeholderJavascript":"JsonFormBuilder_myForm",
"SubmitVar":{"albumName": "[[+postVal.name_full]]"},
"elements": [
{"element":"text", "id":"name_full", "label":"Name", "extraClasses":["half"], "extraElementAttribs":{"placeholder":"Enter your name","class":"custom-class"}, "rules":["required"] },
{"element":"text", "id":"email_address", "label":"Email Address", "extraClasses":["half"], "extraElementAttribs":{"placeholder":"Enter your email","class":"custom-class"}, "rules":["required","email"] },
{"element":"textArea", "id":"notes", "label":"Comments", "rows":5, "columns":30, "rules":["required"]},
{"element":"button", "id":"submit", "label":"Submit From", "type":"Submit"}
]
}
`]]
Redirected Chunk
[[*content]]
[[*albumName]]