This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

aidanayala.web18892
aidanayala.web18892

Hi All,

I am hoping someone can help me here. I have followed one of the tutorials for widget development. In the front end .htm file for my widget I am trying to display a form using the Form class.

My code:

<?= Form::open(['url' => 'www.example.com', 'method' => 'POST']); ?> ... <? From::close(); ?>

Does not seem to work.

It does not open a form tag, instead it just echos out 2 session inputs and nothing else.

This is for a standard PHP form, not ajax.

I have referenced against forms already being used in the package and see no difference whatsoever.

I am running the latest version of OctoberCMS

Has anyone had anything like this?

If you need some additional information then please let me know.

Really enjoying the CMS thus far - just need to get past this!

Many thanks!

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.