HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Adding array to hidden form data
I am having trouble passing data through to another form. I have an array of UserIDs that I want to pass from one form into a different form. I had the bright idea of using Form->AddHidden() on the controller side, but I can't figure out how to pass it an array of data. Current workflow: * Inject form fields through a… -
Re: Adding array to hidden form data
-
Re: Adding array to hidden form data
-
Re: Adding array to hidden form data
I use echo $this->Form->TextBox('MetaName[]',array('class'=>'InputBox MetaName')); echo $this->Form->TextBox('MetaValue[]',array('class'=>'InputBox MetaValue')); echo $this->Form->Dropdown('MetaAny[]',array(T('Off'),T('On')), array('class'=>'MetaAny','readonly'=>'readonly','style'=>'visibility:hidden')); In one of my… -
Re: Adding array to hidden form data
Thanks for the replies :D So far, none of this has worked. I am writing a plugin that injects some checkboxes into existing dashboard fields. I am then submitting that form via JS so I can post the form data to a different controller. I have the controller set up and am able to recieve/process the data just fine. If I just… -
Re: Adding array to hidden form data
6 results