oranog Posted March 20, 2017 Share Posted March 20, 2017 (edited) Hello, been reading forum for some time now, but almost never posted.Is there a possibility to create dynamic field input using helperform? Basic way to create input field is to put following code (using helperform class) inside of controller: array( 'type' => 'text', 'label' => $this->l('Some text:'), 'name' => 'text_field', 'lang' => false, 'required' => true, 'size' => 50 ), The output would be just an simple text field. Its static and it can be used later by objectmodel and etc. What i would like to achieve:1) I need to put an button right after such input field, let it be plus (+) button. 2) After clicking on that button (+) another input field appears. 3) I must be able to proceed that dynamicly created field inside of my objectmodel extended class. I need that thing to create unlimited amount of combinations across all of my data types. Is that possible? Thank you very much! Edited March 20, 2017 by oranog (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