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

TOPIC:

using data from one form on a sub form. 10 Nov 2014 22:06 #12759

First Apologies. I don't know exactly what to ask or search for to make this possible " trust me I have looked" and I am a real junior when it comes to programming PHP. So I am hoping someone can just point me to the right post or can help.

I have one form that has some data in it.

I want to be able to click on a button next to one of the fields that will open a new page. The new page would be a new action entry for the event so it needs to auto populate the event number field in the action from the event id. This way any entries made from the event are related to the event.

Also another button that opens up a popup list view form of all the actions based on the current open event.

I really hope that is all the info and this makes sense.??

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

using data from one form on a sub form. 12 Nov 2014 00:15 #12762

Lots of views so lots of people interested in how to do this. Unfortunately no one wants to share. :pinch:

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

using data from one form on a sub form. 12 Nov 2014 10:27 #12766

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
You want to select a data from a modal box, right ? A page opening in a kind of popup showing a list of 'Events' (in your case)
Coding is now a piece of cake

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

using data from one form on a sub form. 12 Nov 2014 18:55 #12768

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I do not have a precise answer for the moment, I must make some tests.
In the meantime, you can have a look how the menu page works.
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.

using data from one form on a sub form. 12 Nov 2014 20:59 #12769

Thanks :)


. I wish I knew the coding for this.. below is hopefully a better explanation..

I want to pass the ID from an incident form currently open to an action form . This way it creates a relationship between the incident and the new action being entered.

Button: Save current data ": Open Action form popup to add a new action and auto populate the foreign field for the incident id in the action form.

And add another button under this to view the list of actions relating to the current open incident.

Button 2 Open a list of actions related to the current incident that is open - relationship incident id to action table .incident id. " so probably sets the filter...

It more than likely could be done with a bit of Java or window.onload = function() .. I just don't have the skills...

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

Last edit: by jonathanbell. Reason: needed to add a little comment.
  • Page:
  • 1
Time to create page: 0.061 seconds

The j-cook project is indeed one of the best tools I've run across for building Joomla components and the beta version should make things even better!

dyoungers (Forum)  

Get Started