Welcome, Guest
Username: Password: Remember me

TOPIC: A Form within a Form?

A Form within a Form? 08 Mar 2012 11:35 #1515

  • iconvisual
  • iconvisual's Avatar
  • Offline
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
  • Karma: 1
Hi All,

this is a re-phrasing of another question I had posed to the Forum but received no responses.

Is it possible to have a Front End Layout with a Form - to capture the table data, and another Form in that Form to capture a different table data?

i.e. The primary Form captures Sales Lead data, and the inset Form captures Diary Notes.

There may be Many Diary Notes for each Sales Lead. (Many To One)

Anyone? Please?

Thanks,

Edward.
Keen Joomla! and PHP/MySQL developer. Excited about J-Cook.
The administrator has disabled public write access.

Re: A Form within a Form? 08 Mar 2012 15:55 #1516

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
Edward Do you mean to have a form container then place two separate forms inside like this
LEAD 1--->LEAD 1 Note 1
..LEAD 1 Note 2
LEAD 2--->LEAD 2 Note 1
..LEAD 2 Note 2
Last Edit: 08 Mar 2012 16:09 by BTB300.
The administrator has disabled public write access.

Re: A Form within a Form? 08 Mar 2012 19:31 #1522

  • iconvisual
  • iconvisual's Avatar
  • Offline
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
  • Karma: 1
Yes, That is what I would like to achieve.
Keen Joomla! and PHP/MySQL developer. Excited about J-Cook.
The administrator has disabled public write access.

Re: A Form within a Form? 08 Mar 2012 21:55 #1524

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
How about a collection layout with left join on group by
I could be wrong but the new fields available in builder --> pages--> fields look like left joins

I also did see on here somewhere about adding views to a layout its like a three step process
someone else did do it with i frames - but apparently becomes a headache / broken when you need to change

I am looking for something similar, can do it outside the cook environment but...
+1 for this functionality in builder / sandbox

sorry not much help at the moment

Thinking... but not sure if its even possible in cook environment
- could create a "container" using form fly or form
- create the item fly or form
- create the collection fly or form
- place both inside the container

- could you create a table called "containers"
- create a html field called container name
- create a html text field called item view
- create a html text field called collection

- cut and paste code from the views and collections required into the html based fields
- or create a call to display the given layout

perhaps a custom data type or brick is required
Last Edit: 08 Mar 2012 22:14 by BTB300.
The administrator has disabled public write access.
The following user(s) said Thank You: iconvisual

Re: A Form within a Form? 08 Mar 2012 22:12 #1527

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
No it is not possible for the moment.

Joomla cannot handle in that way.

Use AJAX, it is much more better than frames.
Ajax is not handled yet, but it is possible to do easy ajax with your component.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: iconvisual

Re: A Form within a Form? 05 Apr 2012 19:06 #1917

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I opened new topic about AJAX to answer :
www.j-cook.pro/forum/9-coding-inside-you...736-ajax-how-to#1916
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.109 seconds

Get Started