I had some minor issue that when i execute the insert commands in stateless ( in on click ) and open the new form (form1) then insert commands add the record but that is new add to existence form record. so at the submission of form1 data, I had two records in my view. one is came from stateless form thru insert commands and one is from submit commands on form1.
here is the explanation:
statelessform1:
fields: category: (s1 and s2)
if category = s1 selected then open the statelessform2
do nothing ( for now ) on category=s2
statelessform2:
fields:
year
month
region
center
group
week
process: user will enter the values to above fields and check the id with loginuser id and if that match then
on -click script:
insert the fields in to form1:
open the url to form1
form1:
fields:
year
month
region
center
group
week
remark for s1 category
subject
points
lab
view:
created the view of form1:
Results:
everything works but, when I reached to form1 thru statelessform2 and submit the the vaues of other fileds then those values are added in to seperate records and insert fields from statelessform2 also got addedd but in different record.
so after the form1 submitted and actully had two records.
i want insert fields (in to form1) from statelessform2 and form1 fields after submitted should appear in one record in form view.
any idea ?