How to digitally sign individual rows in a repeating section?

A

A.M

Hi,



There are multiple people that might need to write their name and sign the
section. I used a section inside a surrounding repeating section, so people
can add a row, write their name and digitally sign that section. However, as
soon as the first person signs the first row, I cannot add any row to the
repeating section. InfoPath says:



The item cannot be inserted. This value has been digitally signed and cannot
be changed.



I don't want to change the value. I just want to add another row to the
surrounding repeating section.



How can I have people sign individual rows in a repeating section?



Any help would be appreciated,

Alan
 
S

Scott L. Heim [MSFT]

Hi Alan,

With digital signatures, the "XPATH" to what is going to be signed must be
unique. So for instance, if you simply have 2 text boxes on your form
(field1 and field2) you can apply a digital signature to either or both of
them because the XPATH would be unique:

my:myFields/my:field1
my:myFields/my:field2

However, if those fields reside in a repeating section or repeating table
then technically the lowest you can go is that group:

my:myFields/my:group1

If you had field1 and field2 in the above group, the XPATH would look like
this:

my:myFields/my:group1/my:field1
my:myFields/my:group1/my:field2

As you can see, regardless of how many sections you may insert while adding
data they all will map back to the "field1" in the table. As an example, if
you created a form as above, added digital signatures to just field1,
previewed the form and then added, say, 3 sections (so you would see 6
fields on the form) once you go to apply the signature it applies to *all*
of the field1 fields in all sections. So if you now try to add another
section, you would be adding a new field1 and that would break the
signature.

I hope I did not confuse you with this! :)

Best Regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Top