naming forms in PHP |
[eluser]agubski[/eluser]
Guys, I have borrowed following piece of code to call in JS module <form name="testform"> <!-- calendar attaches to existing form element --> <input type="text" name="testinput" /> [removed] new tcal ({ // form name 'formname': 'testform', // input name 'controlname': 'testinput' }); [removed] </form> my form is called via - <?=form_open('place_add/insert_data');?> Any idea how I can introduce a form name? Thanks
[eluser]Yorick Peterse[/eluser]
[quote author="Alex_first time on PHP" date="1243637998"]Guys, I have borrowed following piece of code to call in JS module <form name="testform"> <!-- calendar attaches to existing form element --> <input type="text" name="testinput" /> [removed] new tcal ({ // form name 'formname': 'testform', // input name 'controlname': 'testinput' }); [removed] </form> my form is called via - <?=form_open('place_add/insert_data');?> Any idea how I can introduce a form name? Thanks[/quote] It's in the userguide : http://ellislab.com/codeigniter/user-gui...elper.html
|
Welcome Guest, Not a member yet? Register Sign In |