Hello,
I request some help with the following. I was to display a form using ajax when a user clicks a certain link. I managed to get it working when I just let ajax respond with some plain text, however not with a form. I tried the following:
ajaxSnippet.ss (template file)
$Form
Page.php (code file)
$form = new Form($this, 'Form', ....);
return $form->renderwith('ajaxSnippet');
Where the Form(....) is defined as normal, with just a textfield and a submit button. I think my error is in the template file, that I might need to reference not to $Form but something else, only I can't think of it.
Any help appreceated,
Maurice