Welcome Guest, Not a member yet? Register   Sign In
Form helper action
#1

[eluser]tatewaky[/eluser]
Regards,

The way i have been working with form helper is as fallow:

Code:
echo form_open('email/send');
echo form_submit('mysubmit', 'Submit Post!');

when i click 'mysubmit' button, as far as i understand, it will call my controller email on the method send, however, i would like to have an extra button on the same form but calling a diferent method as fallow:
Code:
echo form_open('email/send');
echo form_submit('mysubmit', 'Submit Post!');
echo form_submit('mySecondSumbit', 'Send email to everybody!');

Does anyone know the best way to do this, please i need a solution for this problem.


Messages In This Thread
Form helper action - by El Forum - 11-13-2009, 09:16 AM
Form helper action - by El Forum - 11-13-2009, 09:25 AM
Form helper action - by El Forum - 11-13-2009, 09:30 AM
Form helper action - by El Forum - 11-13-2009, 09:41 AM
Form helper action - by El Forum - 11-13-2009, 09:49 AM
Form helper action - by El Forum - 11-13-2009, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB