I have a list of buildings/locations, and in some of them I need add a
room.
I want that room to be like the code of the building, with a number.
So if Hotel is selected, I want the room to be HOT-xyz, and Library would
be LIB-xyz (xyz any number).
I create a calculate concat(${location},'-') to add a hyphen to the
location, but don't know how to use it in next question.
Is it possible?
I've attached xls that I use with xlsform
Hi Nelson,
You can use calculated values in labels, but I am pretty sure there is no
way to use them as default values.
Regards,
-Nathan
···
On Monday, January 21, 2013 8:36:01 AM UTC-8, Nelson Mambre wrote:
>
> Hi all,
>
> I have a list of buildings/locations, and in some of them I need add a
> room.
> I want that room to be like the code of the building, with a number.
> So if Hotel is selected, I want the room to be HOT-xyz, and Library would
> be LIB-xyz (xyz any number).
> I create a calculate concat(${location},'-') to add a hyphen to the
> location, but don't know how to use it in next question.
> Is it possible?
> I've attached xls that I use with xlsform
>
>
> Nelson
>
As Nathan said, you can put "HOT-xyz" easily in the text of the question,
but then ask the user to enter just "xyz". You can put these together
internally to create a single string for a combined data value.
···
On Thu, Jan 24, 2013 at 9:53 AM, Nathan wrote:
Hi Nelson,
You can use calculated values in labels, but I am pretty sure there is no
way to use them as default values.
Regards,
-Nathan
On Monday, January 21, 2013 8:36:01 AM UTC-8, Nelson Mambre wrote:
Hi all,
I have a list of buildings/locations, and in some of them I need add a
room.
I want that room to be like the code of the building, with a number.
So if Hotel is selected, I want the room to be HOT-xyz, and Library would
be LIB-xyz (xyz any number).
I create a calculate concat(${location},'-') to add a hyphen to the
location, but don't know how to use it in next question.
Is it possible?
I've attached xls that I use with xlsform
Thanks Nathan and Gaetano for the suggestions.
I think I'll put the string in the "Hint" and let the user fill in the
rest.
I was trying to check the value of the string in the constraint field, but
wasn't able to use it there either.
···
On Thursday, January 24, 2013 1:26:56 PM UTC-4:30, Gaetano Borriello wrote:
>
> As Nathan said, you can put "HOT-xyz" easily in the text of the question,
> but then ask the user to enter just "xyz". You can put these together
> internally to create a single string for a combined data value.
>
>
> On Thu, Jan 24, 2013 at 9:53 AM, Nathan <nab...@gmail.com >wrote:
>
>> Hi Nelson,
>> You can use calculated values in labels, but I am pretty sure there is no
>> way to use them as default values.
>> Regards,
>> -Nathan
>>
>>
>>
>