Auto Entry of characters in Patient Code

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?

Thanks

Hello,

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?

Thanks


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Mustafa,

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.

Best,
Will

On Tue, Jan 19, 2016 at 12:34 AM, Mustafa Ali <symustafa@pk.mercycorps.org 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?

Thanks


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah