teoyh
Member
Hi I can some one advise me the following ;
If I am using a custom list template for a list. On top of the list i had added some input field and a submit button.
What i want to achieve is when the user fill in data in the input fields and click Add it will add the record to the list.
I am using this code from google search which i copy and paste it into my list template. I make a copy of the default list template and rename it to MyCustomTemplate. When i then add this code into the default.php
<Form Name ="form1" Method ="POST" ACTION = "AddRecord.php">
<INPUT TYPE = "Submit" Name = "Add" VALUE = "Add">
The button is generated but i do not know where to put the AddRecord.php which when i click on the button it will call the AddRecord.php.
Thank you
If I am using a custom list template for a list. On top of the list i had added some input field and a submit button.
What i want to achieve is when the user fill in data in the input fields and click Add it will add the record to the list.
I am using this code from google search which i copy and paste it into my list template. I make a copy of the default list template and rename it to MyCustomTemplate. When i then add this code into the default.php
<Form Name ="form1" Method ="POST" ACTION = "AddRecord.php">
<INPUT TYPE = "Submit" Name = "Add" VALUE = "Add">
The button is generated but i do not know where to put the AddRecord.php which when i click on the button it will call the AddRecord.php.
Thank you