Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Button to open a Joomla subform 14 Oct 2013 06:44 #11388

I am a complete noob so forgive me for asking..

I want to add a button to the end of a form so the user can add additional information in a pop up form. In this case the first form has event information. The sub form would have actions required for the particular event that was open at the time of the user pushing the button. The user can add multiple actions for one event. The actions are on a different table.

I am assuming this would require some Java which I have no experience in at all.

Thanks in advance to anyone kind enough to show me how to do this or maybe point to a pre-written script.

Please Log in or Create an account to join the conversation.

Last edit: by jonathanbell.

Button to open a Joomla subform 20 Nov 2013 16:01 #11690

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
If your form is decomposed in parts, you can create differents bricks in the same layout.
It will create different sub-template files and you will be able to create easily some tabs.

BUT :
In your case, I think the best is to create 2 form layouts.
In the builder, Create a second template with a form brick inside.

Then, anywhere you want you can call the page for editing this extended form in popup.

For example in the grid :
Choose a column and from the column properties, create a link to your second form layout. Then also specify 'modal'.
This is not possible to 'link to layout' on special fields of tasks. Try on a simple string.

Hope it helps.
Coding is now a piece of cake
The following user(s) said Thank You: jonathanbell

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.051 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started