pavelnichita Posted December 23, 2013 Share Posted December 23, 2013 (edited) First of all, I'm new to prestashop development and php in general, but here is a problem that I stumbled upon. I want to create an ordenary input tag with HelperForm, sow far sow good, but I alwas want to add an placeholder for the input, in PrestaShop HelperForm documentation it says ['empty_message'] => $this->l('To be displayed when the field is empty'), The problem is, it doesn't display a thing, here's my input tag code: $fields_form[0]['form'] = array( 'legend' => array( 'title' => $this->l('Settings'), ), array( 'type' => 'text', 'label' => $this->l('TEST value'), 'name' => 'MYMODULE_TEST', 'size' => 40, 'required' => false, 'empty_message' => $this->l('Has no UUID') ) ), 'submit' => array( 'title' => $this->l('Save'), 'class' => 'button' ), ); Thanks. Edited December 23, 2013 by pavelnichita (see edit history) 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