0

I would like to add a form that takes input for two tables.
One table with single row insert to 1st table, and the other one, with multiple rows insert to 2nd table at the same time.

I have read about Custom form fields in Joomla but I am confused regarding how to add them into a module.
At the end of the form there should be a submit button which would validate and take the values to the database.

I have checked the article on Joomla.org but am not getting the right way to include the fields into the module

https://docs.joomla.org/Creating_a_custom_form_field_type
Thanks in advance

enter image description here

  • Could you please share the code you've tried? – Lodder Apr 8 '15 at 9:05
  • I tried using sourcerer and insert the code into custom html module but it didnt work out. <field name="matchID" type="editor" class="inputbox" label="" description="table_name" filter="ContentHelper::filterText" buttons="true" /> between the {source} tags and with a submit button – Srinath Naidu Apr 8 '15 at 9:15
  • You're trying to insert XML code using sourcerer? – Lodder Apr 8 '15 at 9:21
  • Yes I didnt know the exact way to proceed – Srinath Naidu Apr 8 '15 at 9:24
  • @Lodder Can you please suggest what is the correct method to do it ? – Srinath Naidu Apr 8 '15 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.