April 7, 2019

Create Open-Ended Text Input Using Simple Problem of Open edX

Activities, Android Developer, Ansible, Apache2, Atlassian, Ayo Belajar Linux, Bestpath Network, BLC Telkom Klaten, BSD, Caddy Server, Case Study, Cisco, Cisco Indonesia, Cloud Computing, Cockpit, Custom Weapons, Docker, E-Learning, Engenius, Error, FreeBSD, FreeBSD Indonesia, Komunitas Pengguna Linux Indonesia, KPLI Bulukumba, KPLI Klaten, Let's Encrypt, Linux, MacOS, Microsoft Azure, Microsoft SQL Server, MikroTik, MikroTik Indonesia, MySQL, Nginx, Open edX, OpenSID, Others, PHP, phpMyAdmin, PostgreSQL, Proxmox, Python, Redash, Sendy, SSH, Stories, Subnetting, TP-Link, Ubiquiti, Unix, Virtualization, Windows, X-Mosque, Faizar Septiawan, Icar, siBunglonGanteng, Orang Ganteng, siBunglonLabs

Text input problems can be setup to accept open-ended responses using regular expressions in the advanced editor.

To format your text input problem to accept any response, assign the answer attribute as follows: answer=".*.".

Here is an example open input text with a regular expression, note the regexp within the type attribute. In this example, the size of the text line has been set to 20 characters as the default. You are free to add more characters if you anticipate longer responses.

<stringresponse answer=".*." type="ci regexp">
  <textline size="20"/>
</stringresponse>

Note: The open-ended text input problem allows for any text response, including special characters, and can not prevent non-meaningful text from being submitted.