How to space two or more text data type referenced by $ sign preceding variable name in braces (${P401} for first name and ${P402} for family name) for extense

  1. What is the problem? Be very detailed.
    Space two or more text data type referenced by $ sign preceding variable name in braces (${P401} for first name and ${P402} for family name) for extense
  2. What app or server are you using and on what device and operating system? Include version numbers.
    Server : https://kobo.humanitarianresponse.info/ and clients either Kobocollect or form web link : https://ee.kobotoolbox.org/
  3. What you have you tried to fix the problem?
    I need to set code in XLSFORM where two text data type vafriable referenced by $ sign preceding variable name in braces (${P401} for first name and ${P402} for family name) are spaced on form display via Enketo Express for Kobotoolbox. But when I display form, the two text data type variables (${P401} for first name and ${P402} for family name) contain are still together but need to be separated as normal way
  4. What steps can we take to reproduce the problem?
    XLSFORM code to make space between each two or more text data type on form display
  5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
    Please find print screen of sample XLSFORM code and variables contain (First name and Family name) display on form still without space
    space between text type data.docx (59.6 KB)

Hi @cece

Here is an answer for your question Concatenating the values in previous text field in a current field - #2 by yanokwa

Hi @cece! While the Kobo tools are built on top of ODK tools, they're usually either old versions or heavily modified. If you're using Kobo tools, please post support questions at https://community.kobotoolbox.org/

What you have done should work and it looks like there's likely a bug in one of the Kobo tools. @ChloeLaborde recently reported this in Delete the space between a variable called and the following word in french as well and @Andrea_Martin helpfully verified that everything works as expected with the stock ODK tools.

For now, you can use the concatenation option that @Grzesiek2010 linked to or @Andrea_Martin's clever white character idea. If you'd like this fixed, one of you will need to report it to Kobo.