Skip to content

Commit c40cc9c

Browse files
authored
Merge pull request #18 from eversign/checkbox-group-field-support
Checkbox group field support
2 parents 8abc7f0 + 5187909 commit c40cc9c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

eversign/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
CheckboxField,
1414
RadioField,
1515
DropdownField,
16-
AttachmentField
16+
AttachmentField,
17+
CheckboxGroupField
1718
)
1819
from eversign.business import Business
1920
from eversign.log import Log
2021

2122
api_base = 'https://api.eversign.com/api'
2223
oauth_base = 'https://eversign.com/oauth'
23-
debug = False
24+
debug = False

eversign/field.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,11 @@ class AttachmentField(Field):
134134
def __init__(self, **kwargs):
135135
kwargs['type'] = 'attachment'
136136
super(self.__class__, self).__init__(**kwargs)
137+
138+
139+
class CheckboxGroupField(Field):
140+
merge_field = True
141+
142+
def __init__(self, **kwargs):
143+
kwargs['type'] = 'checkboxGroup'
144+
super(self.__class__, self).__init__(**kwargs)

0 commit comments

Comments
 (0)