I was wondering if during data entry of any field, few characters can
appear automatically, without being typed? To explain it let me give one
specific example, in my project there is one code, patient identifier code
which looks like this P-01-G001-234-16. This is composed of 12 apha-numeric
characters (variable) and 5 dashes (fixed). What I want if P is typed, dash
(-) will appear automatically, and after typing 01, dash comes again
without typing it. Can anyone tell me if it can be done and if yes, then
how it can be done?
Unfortunately I don't believe we have any mechanism that makes this
possible at the moment.
Best,
Will
···
On Tue, Jan 19, 2016 at 12:34 AM, Mustafa Ali wrote:
Hi there!
I was wondering if during data entry of any field, few characters can
appear automatically, without being typed? To explain it let me give one
specific example, in my project there is one code, patient identifier code
which looks like this P-01-G001-234-16. This is composed of 12 apha-numeric
characters (variable) and 5 dashes (fixed). What I want if P is typed, dash
(-) will appear automatically, and after typing 01, dash comes again
without typing it. Can anyone tell me if it can be done and if yes, then
how it can be done?
I think your best option for now is to add a question list, and then add
multiple text/number questions inside that question list (for each piece of
information you want split out). You can then use a hidden value to join
all the values all together. THe calculation would look like
concat(/data/question1, '-', /data/question2, '-', /data/question3)
THanks,
SHeel
···
On Tue, Jan 19, 2016 at 11:05 AM, William Pride wrote:
Hello,
Unfortunately I don't believe we have any mechanism that makes this
possible at the moment.
I was wondering if during data entry of any field, few characters can
appear automatically, without being typed? To explain it let me give one
specific example, in my project there is one code, patient identifier code
which looks like this P-01-G001-234-16. This is composed of 12 apha-numeric
characters (variable) and 5 dashes (fixed). What I want if P is typed, dash
(-) will appear automatically, and after typing 01, dash comes again
without typing it. Can anyone tell me if it can be done and if yes, then
how it can be done?