Jump to content

getting submitted values from dynamically-created form?


Crawford Tait
 Share

Recommended Posts

I've been following the example here - https://processwire.com/api/ref/inputfield-form/

Rendering etc is fine but I don't know how to get the submitted values, this:

$name = $form->get('your_name')->attr('value');

doesn't work - the get returns NULL

I can't find out how to get the values apart from just getting them from $input->post

Any ideas?

Thanks!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...