Fix for not properly filling form elements inside of Frame Element

This commit is contained in:
MikeTheWatchGuy 2018-09-22 22:45:21 -04:00
parent 0deb89c213
commit eec0283461
1 changed files with 0 additions and 5 deletions

View File

@ -2435,17 +2435,12 @@ def FillSubformWithValues(form, values_dict):
value = None
if element.Type == ELEM_TYPE_COLUMN:
FillSubformWithValues(element, values_dict)
try:
value = values_dict[element.Key]
except:
continue
if element.Type == ELEM_TYPE_FRAME:
FillSubformWithValues(element, values_dict)
try:
value = values_dict[element.Key]
except:
continue
if element.Type == ELEM_TYPE_INPUT_TEXT:
element.Update(value)
elif element.Type == ELEM_TYPE_INPUT_CHECKBOX: