how to use helper buttons in single page?
Permalink 2 users found helpful
I'm using
I want to call controller function when the button is clicked.
Where I want to specify my function name?
Can any one show any example line of code for this...?
$form=Loader::helper('form'); print $form->button('bttn1');
I want to call controller function when the button is clicked.
Where I want to specify my function name?
Can any one show any example line of code for this...?
I think I should rephrase my question.
I just need, how to call controller function using button?
I just need, how to call controller function using button?
$form = Loader::helper('form'); $form->button('bttn1', 'Click', array('onclick' => "window.location='Your Controller Function Path'")) {
Rony
Thanks @Rony, This is what I need..
can we use url redirection in onclick event of a button?
http://www.concrete5.org/community/forums/customizing_c5/calling-a-...