yazidaqel Posted April 3, 2014 Share Posted April 3, 2014 Hello Everyone, Recently i've posted a question about prestashop HelperForm but no one answers. i'm asking again and hope that i can the answer. Did prestashop helperForm supports hidden values ?? Link to comment Share on other sites More sharing options...
J. Danse Posted April 3, 2014 Share Posted April 3, 2014 Yes. $this->fields_form = array( 'legend' => array( 'title' => $this->l('Form') ), 'input' => array( array( 'type' => 'hidden', 'name' => 'fieldname' ) ) ); Link to comment Share on other sites More sharing options...
yazidaqel Posted April 3, 2014 Author Share Posted April 3, 2014 Thanks for your reply. but how we can pass the value of this field ?? Link to comment Share on other sites More sharing options...
J. Danse Posted April 3, 2014 Share Posted April 3, 2014 (edited) $this->fields_value = array('fieldname' => "thevalue"); Edited April 3, 2014 by J. Danse (see edit history) 1 Link to comment Share on other sites More sharing options...
yazidaqel Posted April 3, 2014 Author Share Posted April 3, 2014 Thanks a lot. it's working 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now