[TYPO3-irre] Is it possible? Could a form be defined according to a record value.

Malte Jansen mail at maltejansen.de
Sun Nov 11 10:42:53 CET 2007


Hi mario,

you need 3 tables, there is an example in the irre-diploma-thesis (or 
tutorial) with hotels. There you have what you need...

tables:
- person
- person_task (with personID,policiesID)
- policies (with grading/not graded)

Cheers,

Malte

mario schrieb:
> Hi,
> 
> any hint on how to implement the following is very welcome.
> 
> Say I have both  a Persons table and a Tasks table, a Persons_Tasks
> table to assign tasks to persons, and a Grades tables to grade how a
> person did on a task. 
> Thanks to IRRE, I may use m:n relation with attributes. So far, so good.
> 
> Now, let us say that different tasks have different grading policy:
> pass/fail, grades from 1 to 5,  a text comment; and so on. Which policy
> is associated to a given task is stored within a field of the Tasks
> table, say the field Policy.
> (I do not even have a fixed set of possible policies). 
> 
> Thus, I would like that the BE form to insert a grade into the Grades
> table is defined according to the value from the field Policy. 
>  
> Is this possible, how? Is there something already ready? 
> 
> Thanks a lot
> mario
> 
> 
> 
> 
>  
> 


More information about the TYPO3-project-irre mailing list