Merge pull request #636 from MikeTheWatchGuy/Dev-latest

Allow multiple write only elements
This commit is contained in:
MikeTheWatchGuy 2018-11-01 15:17:24 -04:00 committed by GitHub
commit 4d4c76eb11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3467,7 +3467,7 @@ def BuildResultsForSubform(form, initialize_only, top_level_form):
button_pressed_text = top_level_form.LastButtonClicked
for row_num, row in enumerate(form.Rows):
for col_num, element in enumerate(row):
if element.Key == WRITE_ONLY_KEY:
if element.Key is not None and WRITE_ONLY_KEY in element.Key:
continue
value = None
if element.Type == ELEM_TYPE_COLUMN: