A new Flexera Community experience is coming on November 25th, click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Single and Multi Line Questions not required

We are on 2021 R2 and I started noticing that some of our required questions for requesters were not being answered.  I looked at the request.log for each of these and noticed the question was not showing as mandatory and the log said all mandatory questions had been answered.  When viewing the request, the required question was on the unanswered questions tab.

We make use of many question templates with required questions, single line, multi-line and drop down.  I started looking at the randomness and created a test template using the questions and started changing the order of the questions in the template.  When changing the order, the question that previously went through even though required became required, and the question in its place was no longer required.  I know this sounds strange but stay with me here........

I had all muti line and single line in the template and every third required question was bypassed when moving to the next page. I then added a drop-down question as the third question and the single or multi line question which is now the 4th was bypassed even though its required.  I queried WD_Question and the properties are all the same for the required single and multi line questions.

Is there something in the code that would bypass the required questions based on the above?  I'm at a loss because I've tested multiple different questions and orders and still have the result.  It seems to be every 3rd multi or single line question in succession.  I'm attaching 3 different screenshots.

(1) Solution
CharlesW
By Level 12 Flexeran
Level 12 Flexeran

Based on your description, I believe that you may be running into a known issue (I thought that I was loosing my mind when originally trying to reproduce this :)).  Assuming that this indeed the issue I'm thinking of, I've attached the fix for the issue. To apply, do the following:

1. Rename the file "C:\Program Files (x86)\Flexera Software\App Portal\Web\Views\Checkout\Questions.cshtml" to "Questions.cshtml.bak"
2. Copy the file of the same name in attached zip file to the above location.

At a minimum, restart your browser session. I believe that Questions.cshtml may be partially cached in the temporary internet files, so you may have to clean them up (or try a new browser). Let me know if this does not resolve the issue.

Note that this fix should already be included in 2022 R1 and beyond. 

View solution in original post

(6) Replies
CharlesW
By Level 12 Flexeran
Level 12 Flexeran

Based on your description, I believe that you may be running into a known issue (I thought that I was loosing my mind when originally trying to reproduce this :)).  Assuming that this indeed the issue I'm thinking of, I've attached the fix for the issue. To apply, do the following:

1. Rename the file "C:\Program Files (x86)\Flexera Software\App Portal\Web\Views\Checkout\Questions.cshtml" to "Questions.cshtml.bak"
2. Copy the file of the same name in attached zip file to the above location.

At a minimum, restart your browser session. I believe that Questions.cshtml may be partially cached in the temporary internet files, so you may have to clean them up (or try a new browser). Let me know if this does not resolve the issue.

Note that this fix should already be included in 2022 R1 and beyond. 

Wow, when I saw @TeriStevenson's post, I thought there was no way anyone would have a quick answer on this.  I hope this does the trick!  Thanks, @CharlesW !

Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".

Charles - you're the best!  That fixed the issue.

Thank you!  I'll test this in our dev environment today

@TeriStevenson , I'd like to nominate you for the prestigious Persistence Award! (totally made up, but feel free to add it to your email signature 😀 )  Thank you for the time you spent digging into this and providing such detailed repro steps.  You're amazing!

Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".

Thank you Jim 🙂  I'm adding that to my signature line!!!!