Hi,
I want to implement the following simple scenario in the attached form.
- Count the total of repeat group at the end of repeat.
- Fields from repeat group as select_one list
- Check if user entered date of birth and it must be before today's date
(the default display date is today date, I want it to be something like
1/1/2000)
- If user didn't entered the date of birth date he must enter Age in years.
I have not gone through xml structure of the form yet, it would be nice if
the scenarios are implemented in XLS form.
Thanks,
Majid
Test.xlsx (15 KB)
Hi Majid,
-
Use count(${repeat_node}) as a calcuation. http://xlsform.org/#calculation.
-
https://groups.google.com/d/msg/opendatakit/-PGMHWgnsiQ/2NAB6BvyAAAJ
-
http://xlsform.org/#constraints
-
http://xlsform.org/#relevant
If you need examples, please search this very mailing list.
Yaw
···
On Tue, May 16, 2017 at 10:09 PM, Majid Khan wrote:
> Hi,
>
> I want to implement the following simple scenario in the attached form.
>
> 1. Count the total of repeat group at the end of repeat.
> 2. Fields from repeat group as select_one list
> 3. Check if user entered date of birth and it must be before today's date
> (the default display date is today date, I want it to be something like
> 1/1/2000)
> 4. If user didn't entered the date of birth date he must enter Age in years.
>
> I have not gone through xml structure of the form yet, it would be nice if
> the scenarios are implemented in XLS form.
>
>
> Thanks,
> Majid
>
> --
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ODK Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to opendatakit+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
1 Like