how to use in a form the information stored in another table.

radvla

Member
I am defining a form in correspondance with its table. It means hat the fiel data of the form are those of the table.This tableand form are called "orders".

The forms fields are classified in two groups:

-the first group it is the identification of a set of products and basic attributes such as ,size, large,height dimensions ,unit volume, and unit price . The products are grouped by categories that also have their own code identification. All this infrmation is registered and stored in another different table called "categories and products".

-the second group it is the number of units that a buyer wants to order of one product ,plus calculation fields as the total price = unit price x number of units, the total volume=unit volume xnumber of units ,and total weight as=.

The first field of the form to be filled it is a drop-down field where the user select the category product code he wants.

after this i have 3 questions to solve:

1?) How can i display the identifcation of all the products belonging to this category joint to all the basic attributes, getting the information from the table "category an products" ,line, by line, avoiding the user to type information already stored?

EXample,after the user select the category fruits, it should be displaied automaticlly :

*apple_code ,apple_unit_large,apple_unit_side, apple_unit_height,apple_unit_ weight,apple_unit_price.
*orange_code,orange_unit_large,orange_unit_side, orange_unit_height, orange_unit_volume,orange unit_weight,orange_unit_price.
-------
*banana...

Line by line.

2?) How can I add , line by line, the fields number of units and the calculated fields, total weight,toal volumen and total price.

3?) how and where can I defined the format fo the form as a table format?

Thank you for your help,
and early response will be highly appreciated

radvla
 
I presume you are following the advice I gave in this thread: http://fabrikar.com/forums/index.ph...common-to-many-rows-filled.35134/#post-176184 ?

How can i display the identifcation of all the products belonging to this category joint to all the basic attributes, getting the information from the table "category an products" ,line, by line, avoiding the user to type information already stored?
This is detailed in the video tutorials:
http://fabrikar.com/help/tutorials/details/3/18
http://fabrikar.com/help/tutorials/details/3/19

2?) How can I add , line by line, the fields number of units and the calculated fields, total weight,toal volumen and total price.
I explained that in my reply in your other thread.

3?) how and where can I defined the format fo the form as a table format?
It would just be the repeating group that you would need as a table layout - edit it and in the 'repeat' section set the 'template' option to 'table'
 
I saw the videos and I had another problem.

Calling session to the time the user employ to fill a form , confirm and save,

and doing what the tutorials say and only can save one record per session, when I need to save several records in one session.

I put and example to show what I need:
 

Attachments

  • this is what needi.jpg
    this is what needi.jpg
    355.9 KB · Views: 254
I do not understand either this answer :How and where can I defined the format fo the form as a table format? It would just be the repeating group that you would need as a table layout - edit it and in the 'repeat' section set the 'template' option to 'table'

the preat section it is in the "group" list or on the form or in the list.

I edit the group corresponding to the form and table automaticly created, there is a section called repeat, but there is no template option. My version is fabrik 3.0

Regards
and early response would be highly appriciated.
 
I saw the videos and I had another problem.

Calling session to the time the user employ to fill a form , confirm and save,

and doing what the tutorials say and only can save one record per session, when I need to save several records in one session.

I put and example to show what I need:

NOTE: in the example table fruit there are only three records, but in the prectice there will be round 20, so I can not make the user to open and cle 25 times the form, I nedd to let him to fill al the time in only one time. See the example.

Thank you
 
The fields I found iafter editting the goup it is different from yur image. I enclosed the mine.

Can you tell me where is the field template?

My version is 3.0

thank you, for your help.An early reply would be highly appriciated.
 

Attachments

  • group screen.jpg
    group screen.jpg
    315 KB · Views: 216
I presume you are following the advice I gave in this thread: http://fabrikar.com/forums/index.ph...common-to-many-rows-filled.35134/#post-176184 ?


This is detailed in the video tutorials:
http://fabrikar.com/help/tutorials/details/3/18
http://fabrikar.com/help/tutorials/details/3/19


I explained that in my reply in your other thread.


It would just be the repeating group that you would need as a table layout - edit it and in the 'repeat' section set the 'template' option to 'table'

I saw the videos and I had another problem.

Calling session to the time the user employ to fill a form , confirm and save,

and doing what the tutorials say and only can save one record per session, when I need to save several records in one session.

I put and example to show what I need:
 
I presume you are following the advice I gave in this thread: http://fabrikar.com/forums/index.ph...common-to-many-rows-filled.35134/#post-176184 ?


This is detailed in the video tutorials:
http://fabrikar.com/help/tutorials/details/3/18
http://fabrikar.com/help/tutorials/details/3/19


I explained that in my reply in your other thread.


It would just be the repeating group that you would need as a table layout - edit it and in the 'repeat' section set the 'template' option to 'table'
I saw the videos and I had another problem.

Calling session to the time the user employ to fill a form , confirm and save,

and doing what the tutorials say and only can save one record per session, when I need to save several records in one session.

I put and example to show what I need:
 

Attachments

  • this is what needi.jpg
    this is what needi.jpg
    355.9 KB · Views: 213
  • this is what needi.jpg
    this is what needi.jpg
    355.9 KB · Views: 212
I installed the plug-in , pkg_fabrik_3.0.6.1. for joomla 2.5.

If I installed the version pkg_fabrik_3.1 for joomla 3.0 on joomla 2.5 , would it work?

Would I keep all the other components and modules of 3,0 if I instaleed 3.1 i already instaleed?

Thank you
 
Ah, well, you are posting in the "Fabrik 3.1 for Joomla 3" forums, so I assumed you were running 3.1. :)

Moving this thread to the 3.0 forum.

However, you should still have that option in the latest 3.0 github. So try updating to latest, and see if you get the option.

-- hugh
 
i did another thing, so as to make sure thet the server is not causing any trouble and isolate the problems of the fabrik components :

1?) i installed a the virgin template in localhos, joomla 2.5.

2?) i installed the fabrik 3.0.8 7 bits you indicated me yesterday and made sure that all the plugins were there.

3?) i tried to create a new element after creating first ,list,table,form and group, and i get the follwing distorted screen(compering with the usual screen it only disply half of the configuration menu) and the following joom la error,number 500.I enclose the corresponding screenshots.

4?) the problem is not in the server it must be in fabrik software.

an early reply will be highly appreciated.
 

Attachments

  • distorted_screen.jpg
    distorted_screen.jpg
    82.3 KB · Views: 207
  • screen_error_message.jpg
    screen_error_message.jpg
    50.1 KB · Views: 188
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top