My application:
I have a form where data is stored, including several radio fields with yes/no/others options. There is an employee name and a date field.
I then have a stateless form that fetches data and populates the stateless form based on the contents of the primary form. This is where the 2 issues come in:
1) It populates the yes/no, but will not populate the others option - it doesn't select radio the circle or put the right data in.
2) If the fetch returns no data (which is to be expected, this is supposed to be an add/update scenario), I can't figure out how to make my update button script work. If the fetch returns data, it updates fine. But I can't figure out the condition, something like 'if fetched collection is null, add record, else update' How can I put an appropriate If statement in there?
Thanks for any thoughts...