Hi Cory – your reply was great… but made me realize I need to explain

more about this situation.

In our normal app use,

1-- We have our A1 form, which has a field that collects a certain coupon

number. at the end of that form, it opens a child case called 'referral’

and passes the coupon number to that child case.

2-- Then, the C1 form requires that new ‘referral’ case… it opens the

case and it loads that coupon number into a hidden value. At the end of the

C1 form, it closes that case.

3-- Our sad situation is that a staff member forgot to enter the coupon

numbers into a lot of their A1 forms. The result was that it created those

referral child cases with no coupon numbers… and then, the staff filled

out the C1 form which of course did not get that coupon number loaded into

its hidden value.

4-- When we started to remedy this problem, we thought "OK, we will simply

use Edit Forms on all the A1 forms and also on the C1 forms, to manually

plug the correct coupon numbers into each form. We actually started on

all that and did the form edit on all the A1s. (Maybe that was

premature.) Only then did we realize "oh, we can’t edit the C1 forms when

the case is closed.

So my questions are:

(A) Is it possible, when using Edit Form, to actually edit a *hidden value*

field? (in other words, to edit the hidden value that should originally

have been loaded into from the case)? Possible or impossible?

(B) If that is impossible, I am trying to figure the best process to get

those correct coupon numbers both in the A1 and the C1… Maybe you know

the best path, but would this method work:

- First archive the existing bad C1 form, and therefore its case is

re-opened
- Only then edit the A1 form – and magically when I do that edit,

commcare will see the new coupon number and realize that it needs to pass

that coupon value into the child case… BUT, in this scenario, that child

case is not being created, it’s already there… so I figure it’s more

likely that it would create a second child case instead (if it does

anything at all) (Soooo, this method does not look very likely to work…)
- If that above did indeed work, then we would go and simply open the C1

form, choose the desired case which nicely has the coupon number in it…

C1 would load that coupon number in to it, and we would complete C1 and it

would have the correct coupon number in it.

I suspect that the above suggestion is an impossible dream… So, do you

recommend the best way of handling the correction of the coupon number both

in A1 and in the child-case-requiring C1 form?

Thanks… sorry for the headache… this has been a heck of a day!

Eric