File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ class Forms extends Component {
29
29
const { errors } = this . state
30
30
errors [ name ] = false
31
31
if ( e && e . target ) {
32
- debugger
33
32
this . setState ( {
34
33
[ name ] : type === 'checkbox' ? checked : value ,
35
34
submitted : false ,
@@ -159,7 +158,8 @@ class Forms extends Component {
159
158
const { err, volunteer } = this . props
160
159
const {
161
160
disabled,
162
- acknowledgement,
161
+ checkedExpectations,
162
+ termsOfUseAndPrivacy,
163
163
formInComplete,
164
164
userId,
165
165
dashboardUrl
@@ -211,7 +211,9 @@ class Forms extends Component {
211
211
< button
212
212
className = "btn volunteer-submit-btn"
213
213
type = "submit"
214
- disabled = { disabled || ! acknowledgement }
214
+ disabled = {
215
+ disabled || ! checkedExpectations || ! termsOfUseAndPrivacy
216
+ }
215
217
>
216
218
Submit
217
219
</ button >
You can’t perform that action at this time.
0 commit comments