Locking a repeating control once complete

E

Ed Thurber

Hey all:

I hope someone can help me with this.

I am working on a form that has a repeating section that needs to be
"Signed". I cannot use digital signatures so i need to simulate the
functionality in other ways.

here is a use case:

individual fills out one repeating section.
at this time the users should not be able to add any additional
sections.

Individual has completed the section and clicks a button to "sign" the
document.
the individual is presented with an OK / Cancel dialog box.
If the user selects Cancel,
the dialog box goes away and the section is not signed.
If the user selectes OK,
the persons name is recorded into an element in the main data
source
a "signed" bool node within the repeating node is set to true to
indicate that this section is signed.
all controlls within the repeating section are set to read-only.
the current repeating section can no longer be edited or
DELETED.
the user now has the ability to add another repeating section.

I hope this makes sense.

I am able to do the read-only for all of the controlls withing the repeating
section. what i cannot get to work are the Cancel functionality on the
Button press. and completely locking the section itself.

any help would be greatly appreciated.

Thanks in advance.
Ed Thurber
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top