Nintex_Newbie
Design Dabbler

Why are the checkboxes on my nintex not accepting responses after first user selection?

I have a nintex form with a checkbox. If a user selects the checkbox, it will populate two fields with the user's name and the date the box was checked. This data is saved to a Sharepoint list.
 

Once the box is checked and the form is saved, it will not accept any updates if the box is checked a second time. The original input remains but all other inputs still work like text boxes. Would a radio button be more appropriate or it the flow in Sharepoint causing the issue?

0 Kudos
Reply
8 Replies
MegaJerk
Automation Master
Automation Master

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

Can you provide any additional information about your form? Classic / Responsive info, Screenshots of the offending checkbox, any custom code / rules / control-settings code that you have running. 

It would be helpful in evaluating what could be happening that would cause this. 

0 Kudos
Reply
Nintex_Newbie
Design Dabbler

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

Screen Shot 2021-06-16 at 3.06.51 PM.png

Rules:

Require Revisions: not(isNullOrEmpty(Comments)) && isNullOrEmpty(tsNotifyCommentsBy)

Disable rule: blnNotifyComments=="Yes"

0 Kudos
Reply
MegaJerk
Automation Master
Automation Master

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

Just be certain that I'm understanding correctly. when you say "Once the box is checked and the form is saved, it will not accept any updates if the box is checked a second time." do you mean that the *form* will no longer allow you to submit information to it once you've checked this box and submitted the form, or do you mean to say that you cannot "uncheck" the box when go back into the Form to edit it? 

If it's the latter (cannot uncheck) it's likely because of your disable rule that you have running, which is set to disable the control once you've checked it. Once that value is true or "Yes", it's always going to be disabled from that point on. 


0 Kudos
Reply
Nintex_Newbie
Design Dabbler

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

The form will still allow you to input and save information to other controls like text boxes .

 

It's just that this particular checkbox is linked to the two other boxes below it so that when it is toggled, those boxes auto-populate with the user's name and the current date.

 

When the box is toggled a second time or by a second user, I want the connected name and date box to update with the new user and date.

0 Kudos
Reply
MegaJerk
Automation Master
Automation Master

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

Can you show us the code that you are using to populate those values when the box is checked? 

0 Kudos
Reply
Nintex_Newbie
Design Dabbler

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

Completed by box: If( Notify Comments&& isNullOrEmpty(tsNotify Comments By), Current User (Display Name),tsNotify Comments By )

 

Date box: If(Notify Comments && isNullOrEmpty(tsNotify Comments Date), formatDate(Current Date, "MM/dd/yyyy"), formatDate(tsNotify Comments Date, "MM/dd/yyyy"))

0 Kudos
Reply
MegaJerk
Automation Master
Automation Master

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

The code you posted isn't in a format I recognize, but I think the solution is that you simply need code to set the value of your two dependent controls to "" (nothing) whenever that checkbox is Unchecked. 

As of now your code is looking at the checkbox to see that it's set to True / Yes / Checked, and if the two dependent controls are empty, then they get populated. 

No matter how many times you uncheck and recheck after those depend controls have been set, the code will NEVER update them because it gets to the point where it looks to see that they are empty, and it fails and never goes beyond that. 

By clearing those values out when the checkbox is unchecked, you'll ensure that they can also be repopulated. 

 

 

0 Kudos
Reply
Nintex_Newbie
Design Dabbler

Re: Why are the checkboxes on my nintex not accepting responses after first user selection?

i inherited this issue and it seems that powershell scripts were used. I'm not sure but you gave me somewhere to start and for that I am grateful.

0 Kudos
Reply