This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi all,
I've viewed this part of the documentation: https://octobercms.com/docs/services/html and so I want to easily build up html forms on my pages.
I copied this part of the code on my page to get it working:
<?= Form::open(['url' => 'foo/bar']) ?> // <?= Form::close() ?>
Except it just doesnt render properly. Am I doing something wrong or is the guide out of date?
I just want so I can keep creating loads of textboxes using this code also:
<?= Form::text('username') ?>
Kind Regards,
Ryan
ryanpotter_917433 said: so I want to easily build up html forms on my pages.
If "my pages" refers to frontend, you should use Twig calls from the docs:
{{ form_open(...) }}
1-2 of 2