How to generate more fields?

Hi, I have a form but I don’t know how to generate more fields according to amount of observations and also add condition (YES or NO).

I explain.
if I select more than one observation more fields are added observations, example: I have two observations, two golf observations and condition next (yes or no) are generated. the condition is to see if the observations were corrected.
And record the data in a database.

Thanks

you Can’t generate fields dynamically in scriptcase (believe me I asked for such functinoality) my recomendation do that in a child form where you can add new “comments” and use the validate, onbeforeinsert, onbeforeupdate events to do what you need.

Regards

[QUOTE=kafecadm;34950]you Can’t generate fields dynamically in scriptcase (believe me I asked for such functinoality) my recomendation do that in a child form where you can add new “comments” and use the validate, onbeforeinsert, onbeforeupdate events to do what you need.

Regards[/QUOTE]

I created a module where users can assign a max of 10 fields. But this was done by adding static fields and hide/display them. There’s a macro to change the label.

in theory you could do it dynamically.

create table named “dynamic_fields” with Fields app_name, app_primary_record_id, field_name, Field_data

then generate a editable grid for the above.
use the Field_name to display the name of the field as a drop down from another table containing the names of your dynamic field.

Then attach this application to your application as a detail app (as a master-detail relationship) with the app_name and the app_primary_id being your keys.

Run, test and evaluate.