Home Self-Service Portal - Community
image IT Monkey:   


Formal Cireson Support (phone, email, and web) is not included with the free Self-Service Portal – Community app. For trouble shooting assistance, take advantage of the Cireson Community to find answers to your questions. However, if you’d like to purchase a Support Package to access more formal Cireson Support (phone, email, and web), please contact us today to learn more on the pricing options.

required checkbox

Peter_MiklianPeter_Miklian Customer Advanced IT Monkey ✭✭✭

Hi,

we need to publish Request offering which won't allow user to create service request while they don't accept some terms.

But if we create required 'I agree' checkbox, ticket can be saved while leaving the checkbox unchecked, too.

The 'best' which I found out so far is required simple list (dropdown) with just 1 value 'I agree' :) Could you please advise how you handle such situations when you need user to accept license etc.? Thanks

Best Answers

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    @Peter_Miklian - The simple list with True and False is the best way. A boolean control will always pass because despite that fact that it is required, false is a valid value.

  • Peter_MiklianPeter_Miklian Customer Advanced IT Monkey ✭✭✭
    edited December 2019

    @Justin_Workman Yes, I know that boolean 'False' is correct value, too.

    Simple element with Yes/No is not exactly what correct - users selects 'No' (he doesn't accept license) so the ticket is created uselessly and will be cancelled by analyst. It would be the same as as boolean, no added value as 'No' answer would fill requirement, too.

    We want to prevent user from saving SR without accepting terms, that's why I say list with 1 'forced' value 'Yes' is the only way now, although it looks silly.

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    In fact, it might be nice if @Jeff_Lang's suggestion was somehow part of the RO Toolbox @john_doyle

  • Jeff_LangJeff_Lang Customer Advanced IT Monkey ✭✭✭

    oops i forgot to force the save button to disabled when it first loads and this tag has been used, insert this after line 237 (right before the call to forceCheckboxAcceptance) to do that

    $('button.btn.btn-link span.fa.fa-check').parent().prop('disabled',true);

  • Peter_MiklianPeter_Miklian Customer Advanced IT Monkey ✭✭✭

    @Jeff_Lang thank you for the customization but since Request Offering Query Picker was released natively in portal we do not need to use ROToolbox.

    @Justin_Workman maybe add this option to ROQP modify true/false input? Should I create separate feature request? Thanks.

  • Peter_MiklianPeter_Miklian Customer Advanced IT Monkey ✭✭✭

    I created feature request here, all users missing this feature can vote here: https://community.cireson.com/discussion/5331/required-checkbox/

    Thank you.

Sign In or Register to comment.