Hi Ryan,
I have the same problem. My form contains text fields, a textarea with TinyMCE and a repeater field.
<input id="nachname" name="nachname" type="text" value="..." />
<input id="firma" name="firma" type="text" value="..." />
...
// Online-Profil = Plattform+URL -> Repeater
<select id="profil1_n" name="profil1_n" class="mask1">
<option value=""></option>
<option value='Xing' selected>Xing</option>
<option value='Linkedin'>Linkedin</option>
<option value='Facebook'>Facebook</option>
<option value='Google+'>Google+</option>
</select>
<input id="profil1" name="profil1" type="url" value="http://www.xing.com/profile/..." />
// Long Text with TinyMCE
<textarea id="body" name="body" cols="30" rows="9" class="editor">...</textarea>
// sanitize form values or create empty
$form = array(
'nachname' => $sanitizer->email($input->post->nachname),
'firma' => $sanitizer->text($input->post->firma),
...
'profil1_n' => $sanitizer->text($input->post->profil1_n),
'profil1' => $sanitizer->text($input->post->profil1),
...
'body' => $sanitizer->textarea($input->post->body),
);
How should I call your function?
formToPage($sanitizer->text($input->post), $pages->find("parent=1008,name=$nutzer"));
or formToPage($form, $pages->find("parent=1008,name=$nutzer")); does not work.
Can you please explain that a little more detail? Many thanks!