## Column Validation/Validation Settings, How can I add a formula where if one answers YES to one column it will require them to fill out certain columns

I have a sharepoint list where I have a series of questions.

The first question in the series is a YES/NO question, and it states if the answer is no, there is no need to answer the next few questions/or even better if sharepoint can auto generate Not Applicable as the answer but if your answer is YES, you MUST answer question 1 to 6. Please keep in mind, there are other columns in the list but I only want to validation to be applied to the 7 questions (first one being yes/no, other 6 being the follow up questions).

## Mobile UX for a list of questions with editable answers?

As part of a larger app, I am designing a mobile UX for a fixed list of 30 questions that the app user can answer. The user can answer from 0 to 30 questions, averaging around 3 answers. They can edit/delete/add answers at any time, averaging around an edit every 5th session. Questions are short, one sentence each. Answers are long, 100 to 1000 characters each.

What UX pattern can I use for such list?

I have a few ideas, but I don’t like any of them:

1. A screen with a scrollable list of questions. A click on the question opens another screen with editable field for the answer. I don’t like this because it takes a lot of clicking back and forth to answer several questions.

2. A screen with a scrollable list of questions and answers. Answers are immediately below questions in editable fields. I don’t like this because it’s easy to loose track of short questions among a sheet of long answers. Also, will scrolling a bunch of editable fields be confusing?

3. A screen with a scrollable list of questions and answers. Answers are collapsed. Clicking on the question uncollapses the editable field that contains the answer. Same cons as #2. Plus if there are many answers, collapsing/uncollapsing each is annoying.

Are their UX best practices here? Anything you can suggest?

One way to ensure that you retain more information is to organize it when it is presented to you. That starts in the classroom. You need to make sure you aren’t just sitting there listening–you need to take notes. If you know how the material will be organized by the professor, (usually by reviewing the syllabus) then you can plan ahead for note-taking by using divided notebooks, or even by recording a lecture so you can play it back later and go through the information at your pace.

One big mistake people make when trying to study is they try to cram everything into one or two sessions, or take in too much information at once. You can slow down the process for yourself and commit small bits to memory each time, rather than large gobs of stuff, by putting each TYPE of information into its own notebook or division. Example: you have to learn a big chunk of European history, and it includes a lot of dates, and a lot of statistics. So you get a 3-part notebook just for this class–and you put the important dates in one section with very brief descriptions of their importance, and you put the statistics in another section (i.e., number of people involved, economic percentages of the countries, etc.) and you put a narrative–an overview–in the third section. By repeating the information three times, by segmenting it into smaller bits, you will feel a lot more in control over it. And it will also help you by not overwhelming you.

Anxiety is a feeling of being overwhelmed–so it’s entirely possible you’re just trying to learn too much at one time. Break it down. Do bits not gobs. Separate the types of info. Soon, you’ll get into a habit of logically and sensibly doing this every time. And studying won’t be so overwhelming.

## matrix – Are My Answers to This Hamming Code Example Correct?

Thanks for contributing an answer to Computer Science Stack Exchange!

But avoid

• Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

## 8 – Bootstrap failed – Drupal Answers

I have Drupal 8.8.1 and Drush 10.1.1, both installed with Composer.

I’m running the following to update my site DB:

$drush updb In BootstrapHook.php line 32: Bootstrap failed. Run your command with -vvv for more information. As it suggests I run with the -vvv flag to get more information:$ drush updb -vvv
Begin redispatch via drush_invoke_process().                                                                               (notice)
Calling proc_open(env COLUMNS=131 /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush  --root=/var/www/drupal/drupal-8.8.1 --verbose  updatedb 2>&1);

In BootstrapHook.php line 32:

(Exception)

Exception trace:
at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/src/Boot/BootstrapHook.php:32
DrushBootBootstrapHook->initialize() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:34
ConsolidationAnnotatedCommandHooksDispatchersInitializeHookDispatcher->callInitializeHook() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:27
ConsolidationAnnotatedCommandHooksDispatchersInitializeHookDispatcher->initialize() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/CommandProcessor.php:145
ConsolidationAnnotatedCommandCommandProcessor->initializeHook() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:289
ConsolidationAnnotatedCommandAnnotatedCommand->initialize() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Command/Command.php:221
SymfonyComponentConsoleCommandCommand->run() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Application.php:1000
SymfonyComponentConsoleApplication->doRunCommand() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Application.php:255
SymfonyComponentConsoleApplication->doRun() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Application.php:148
SymfonyComponentConsoleApplication->run() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/src/Runtime/Runtime.php:118
DrushRuntimeRuntime->doRun() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/src/Runtime/Runtime.php:49
DrushRuntimeRuntime->run() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush.php:72
require() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush:4

\$ drush status
Drupal version : 8.8.1
Site URI       : http://default
PHP binary     : /opt/remi/php72/root/usr/bin/php
PHP config     : /etc/opt/remi/php72/php.ini
PHP OS         : Linux
Drush script   : /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush
Drush version  : 10.1.1
Drush temp     : /tmp
Drush configs  : /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush.yml
Drupal root    : /var/www/drupal/drupal-8.8.1
Site path      : sites/default

Can anyone advise on how to resolve this?

## query – Mongodb tree structure questions and answers

I’m looking to build a question answer survey system where some questions will be based on the answer of the parent question. The hierarchy level of the questions can go any number of depth based on the questions. The questions and answers will be like the diagram shown here.

I’m looking to build this in mongodb. I have checked the tree model in mongodb and I’m clueless on how to structure it as the next set of questions are depends on the answers. The questions should show based on what answer the user have selected and some answers may have multiple question sets below that as well (E.g.: Ans B).

Can someone help me on the mongodb collection structure and how can I query the next set of questions and answers based on the previous answer given by the user?

## Is Trump morbidly obese? | Yahoo Answers

Let’s start here: The CDC doesn’t actually use the term “morbidly obese” at all.

Generally speaking, it defines obesity as having a Body Mass Index (BMI) of 30 or higher. (BMI is calculated by taking “a person’s weight in kilograms divided by the square of height in meters,” according to the CDC website.) Within “obese,” the CDC has three distinctions: 1) Those with a BMI between 30 and 35 2) those with a BMI between 35 and 40 and 3) those with a BMI over 40, which the CDC categorizes as having “extreme” or “severe” obesity.

While the CDC doesn’t describe that third category as “morbid obesity,” it is referred to that way by other sites including Web MD (aka the scourge of every hypochondriac’s life). How large would you need to be to qualify as having “severe” or “morbid” obesity? According to this BMI calculator, a 6 foot tall man weighing 300 pounds would have a BMI of 41 — and would be considered in a state of “morbid” obesity.

Which is not Donald Trump, at least according to the White House physician. In his February 2019 annual physical, Trump, who is 6’3″, tipped the scales at 243 pounds. That gave him a BMI of 30.4 — just over the edge of obesity but far from the technical definition of “severe” or “extreme” (or “morbid”) obesity. For Trump to be considered “morbidly obese, he would need to weigh 320 pounds — or more

## Drush database issue – Drupal Answers

I have encountered an issue with Drush. I am missing a number of commands. When running a command with –debug I am told

(SymfonyComponentConsoleExceptionCommandNotFoundException) Command rq was not found. Drush was unable to query the database. As a result, many commands are unavailable. Re-run your command with --debug to see relevant log messages.

however when I enter

drush sql:connect

it comes back with all of the correct database information for the site.

drush status

returns all the correct information regarding the database.

System Configuration

Drush version? 10.x/9.x/8.x (please be specific, and try latest release)

I have tried this on Drush 9.7.2, as well as with Drush 10.2.2. Both yield the same issue. Both Local installs, as well as trying Global install.

| Drupal version? | 9.x/8.x/7.x

Drupal 8.8.5

| PHP version | 7.x,5.x

PHP 7.1.33

| OS? | Mac/Linux/Windows

MacOS 10.14.6

To add to the above, the site itself works fine. And again, these commands above show all the correct information, so it is clearly SEEING the database. This is a local (development) build, on my local machine, under MAMP 5.7.

Further, I have attempted to use Drush to install a new instance of Drupal, which yields this result:

drush site install -vvv
(preflight) Config paths: /Users/(machine name)/vendor/drush/drush/drush.yml
(preflight) Alias paths:
(preflight) Commandfile search paths: /Users/(machine name)/vendor/drush/drush/src
(debug) Bootstrap further to find site (0.14 sec, 7.09 MB)
(debug) Trying to bootstrap as far as we can (0.14 sec, 7.16 MB)
(debug) Done with bootstrap max in Application::bootstrapAndFind(): trying to find site again. (0.14 sec, 7.16 MB)

In Application.php line 230:

(SymfonyComponentConsoleExceptionCommandNotFoundException)
Command site was not found. Pass --root or a @siteAlias in order to run Dru
pal-specific commands.

Exception trace:
at /Users/(machine name)/vendor/drush/drush/src/Application.php:230
DrushApplication->bootstrapAndFind() at /Users/(machine name)/vendor/drush/drush/src/Application.php:192
DrushApplication->find() at /Users/(machine name)/vendor/symfony/console/Application.php:235
SymfonyComponentConsoleApplication->doRun() at /Users/(machine name)/vendor/symfony/console/Application.php:147
SymfonyComponentConsoleApplication->run() at /Users/(machine name)/vendor/drush/drush/src/Runtime/Runtime.php:118
DrushRuntimeRuntime->doRun() at /Users/(machine name)/vendor/drush/drush/src/Runtime/Runtime.php:49
DrushRuntimeRuntime->run() at /Users/(machine name)/vendor/drush/drush/drush.php:72
require() at /Users/(machine name)/vendor/drush/drush/drush:4

Which seems to be saying that it can’t find the site… which is understandable, as I’m instructing it to install a site.

Something is clearly wrong. I’m hoping someone can help me sort this out.

## Are all liberals nasty, hateful, and intolerant of anything non-liberal, or is it just the liberal losers here on yahoo answers?

so, you’re a winner are you, writing this garbage? Because it does seem the kind of “give me some attention” activity that a real loser would engage in. I bet in real life you’re a frustrated lonely loser. I’m right, aren’t I? Girls don’t pay you attention, but on here at least you can get attention, even if it’s by anonymously insulting people. your life is so pathetic that you seek that out

## How can I update the list of answers to an upcoming question in Google Forms based off of previous answers in the same form?

The title makes this sound more difficult or complex than it actually is.

What I’m trying to accomplish is to build an entire elimination bracket prediction picker through Google Forms. I would have 16 predetermined teams in an elimination style tournament where I split them into their 8 1v1 predetermined match-ups. From here I want to have the user predict the next round which would have half the matches of the previous round but I can’t find a way to have all the teams that the user predicted to be eliminated in the first round to be removed as options in the second round. So if someone picked Team 1 to beat Team 2 in the first round I don’t want Team 2 to be an option to win in the next round. This makes it so when the user gets to the final they don’t have to select the winner out of 16 teams, but rather just 2 since half the teams are eliminated each round. This would also allow this form to scale to much bigger tournaments like for Tennis where there can be many more rounds and competitors.

The only things I could find that are similar are choice eliminator add-ons that remove choices from all forms. Unfortunately that’s only appropriate for scheduling appointments and won’t work for this use case since I want people to have all permutations of the bracket available when they predict.