[Catalyst] Multiple Submit Button

gaurav001 gmpatel001 at yahoo.com
Thu May 8 19:37:11 BST 2008

OK I did something like this for previous problem solution...But If anyone
comes up with better solution..Please let me know....
overview.fb file
                value: Enroll
                type: button
                size: 5
                value: Curriculum
                type: button
                size: 9

Overview.tt2 file

[% FOREACH field IN formbuilder.fields %]
[% IF field.label == 'Enroll' %]
        <div id="submit" onClick="paymentpage(this.form)">[% field.field
[% END %] &nbsp;

[% IF field.label == 'Curriculum' %]
        <div id="submit1" onClick="curriculumpage(this.form)">[% field.field
[% END %]

[% END %]

View this message in context: http://www.nabble.com/Multiple-Submit-Button-tp17130149p17132091.html
Sent from the Catalyst Web Framework mailing list archive at Nabble.com.

More information about the Catalyst mailing list