Hi,
so i have a form on one page that i want to copy the value of its input forms into a snippet i have created. and then i can re-use this information later on when i want..
so i was thinking along the lines of:
[!my_miniFormSnippet? &rnMyEmail=`Email`!]
to call my snippet
where Email is the name of the output field in my form
and my snippet uses
$modx->setPlaceholder('rnMyEmail', $rnMyEmail);
echo $rnMyEmail;
return;
to store and return my variable(using [+rnMyEmail+])
to add the variable anywhere i want using
now i know this code wont work because all it does is pass the text ’Email’, i have been playing around with different variations without success.
so what im wondering is how can i pass the value of the input field(called Email) that is in a html form(called ’MyForm’) to my snippet
hope this makes sense what im trying to do