nyx-ei / pollingus

This project consists of developing a WhatsApp webhook (Meta) that allows a survey of a few questions to be conducted via the WhatsApp social network.
Apache License 2.0
4 stars 2 forks source link

Short text question #23

Open SanAlexis opened 1 year ago

Laetijo commented 1 year ago

Story

As a poll operator, I want to ask a question which allows poll applicant to write answers in a few words.

Question notice

Answer format

Specify the expected data types for each response (text, number,...). The application must be able to ensure that poll applicant doesn't enter information that does not match the expected response data types.

Number of characters

Specify the number of characters to be entered in the response box to 1000 characters.

Case sensitive

The answer is not case sensitive

Use case

Q: Name & Surname Answer: Smith Anderson πŸ‘:ok: Q: Number of children Answer: 4 πŸ‘ :ok: Q: Number of children Answer: Anderson πŸ‘Ž 🚫

Questions with specific format response

The application must be able to ensure that poll applicant doesn't enter information that does not match the expected response format

Email adress

The poll must only validate and accept email addresses with correct format.

Use case

Q: Email adress: A: xxxxxxxx@gmail.com πŸ‘ :ok: Q: Email adress: error xxxxxxxxxx πŸ‘Ž 🚫 Q: Email adress: error xxxxxxxx@xxxxx πŸ‘Ž 🚫

Phone Number

The poll must only validate and accept phone number with correct format.

ex: +237 699000000

URL

The poll must only validate and accept URL with correct format.

_ex: http:// www.xxxxxxxxxx.com or https:// www.xxxxxxxxxx.com

Use case

Q: Your LinkedIn profile A: http:// www.linkedin.com/in/xxxxxxx πŸ‘ :ok: Q: Your LinkedIn profile A: xxxxxxxxxxx πŸ‘Ž 🚫

Invalid answer

When an incorrect answer format is provided, a warning notification is displayed and the answer box should be highlighted in red. The question is asked a second time.

SanAlexis commented 1 year ago

Should we modify the markdown descriptor to digest these specifications ? If not, then how could we deal with that @Laetijo

Laetijo commented 1 year ago

If the markdown descriptor does not take this into account, we can simply put a label in italics at the bottom of the question specifying an example of the expected answer @SanAlexis image

Laetijo commented 1 year ago

Story

As a poll operator, I want to ask a question which allows poll applicant to write answers in a few words.

Question notice

Answer format

  • Specify the expected data types for each response (text, number,...). The application must notify the poll applicant doesn't enter information that does not match the expected response data types.
  • The application must notify the poll applicant doesn't enter information that does not match the expected response format (email adress: xxxxxxx@xxxxx.com , phone number: area code and phone number, URL:: htpps://www.xxxxx.xxx,...)

Number of characters

Specify the number of characters to be entered in the response box to 1000 characters.

Case sensitive

The answer is not case sensitive

Use case

image

Use case

Q: Email adress: ex: xxxxxxxx@xxxx.com A:

Q: Phone Number ex: +237 699000000 A:

Q: Your LinkedIn profile ex: http:// www.linkedin.com/in/xxxxxxx A:

Q: Desired salary ( Currency) ex: 500000 A:

yvankamdem commented 1 year ago

complexitΓ© : 13 durΓ©e en jours : 12

Pattykev commented 1 year ago

complexity: 21 duration in days: 14

Laetijo commented 1 year ago

complexity:13 duration in days: 11