Hyperlink

Hi All,

I am trying to add hyperlink to one of my ODK form, how do I add hyperlink?

Thanks
Imran

1 Like

Hi Imran,

This is just something to try - haven't tried it myself:
Collect now supports Markdown for text formatting (see post here
https://groups.google.com/d/msg/opendatakit/mbsxVXC7m94/fH9VveyXAAAJ)

There are several ways of displaying links:

Perhaps try one of those. e.g:

Please click here

I'm not sure if XLSForm supports this - check the xml file and modify there if needed.

ODK Team, can you confirm whether Collect will display Markdown links?

Thanks,
Andrew

··· On Tuesday, 31 May 2016 19:52:56 UTC+2, A.N.M AL-IMRAN wrote: > > Hi All, > > I am trying to add hyperlink to one of my ODK form, how do I add hyperlink? > > Thanks > Imran >

Hi Andrew,

We do have Markdown support for URLs in 1.4.10, but there is a bug
disables the link so you can't tap on it. I fixed that bug a few weeks
back and it will be in the next release.

is the patch.

In the meanwhile, you use type=string, appearance=url, and
default=http://example.com if you need a URL button that you can
click. We added this feature years ago, but it wasn't publicized. ODK
Collect has a couple of these little tricks that I've been meaning to
document...

I've attached a sample form.

Yaw

url.xlsx (10.5 KB)

url.xml (993 Bytes)

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Wed, Jun 1, 2016 at 9:56 AM, Andrew acawood777@gmail.com wrote:

Hi Imran,

This is just something to try - haven't tried it myself:
Collect now supports Markdown for text formatting (see post here)

There are several ways of displaying links:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links

Perhaps try one of those. e.g:

Please click here

I'm not sure if XLSForm supports this - check the xml file and modify there
if needed.

ODK Team, can you confirm whether Collect will display Markdown links?

Thanks,
Andrew

On Tuesday, 31 May 2016 19:52:56 UTC+2, A.N.M AL-IMRAN wrote:

Hi All,

I am trying to add hyperlink to one of my ODK form, how do I add
hyperlink?

Thanks
Imran

--

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

Thanks a lot Yaw and Andrew.

Imran

A N M AL IMRAN (Imran)
Brossard, QC
Canada
Cell: +1 (438) 501 3576

··· On 1 June 2016 at 09:04, Yaw Anokwa wrote:

Hi Andrew,

We do have Markdown support for URLs in 1.4.10, but there is a bug
disables the link so you can't tap on it. I fixed that bug a few weeks
back and it will be in the next release.

https://github.com/opendatakit/collect/commit/e938e9858bc2cbd892ae9fc4a6c2dbb33859d690
is the patch.

In the meanwhile, you use type=string, appearance=url, and
default=http://example.com if you need a URL button that you can
click. We added this feature years ago, but it wasn't publicized. ODK
Collect has a couple of these little tricks that I've been meaning to
document...

I've attached a sample form.

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Wed, Jun 1, 2016 at 9:56 AM, Andrew acawood777@gmail.com wrote:

Hi Imran,

This is just something to try - haven't tried it myself:
Collect now supports Markdown for text formatting (see post here)

There are several ways of displaying links:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links

Perhaps try one of those. e.g:

Please click here

I'm not sure if XLSForm supports this - check the xml file and modify
there
if needed.

ODK Team, can you confirm whether Collect will display Markdown links?

Thanks,
Andrew

On Tuesday, 31 May 2016 19:52:56 UTC+2, A.N.M AL-IMRAN wrote:

Hi All,

I am trying to add hyperlink to one of my ODK form, how do I add
hyperlink?

Thanks
Imran

--

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.

--

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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/IJuEBHsy0IA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Yaw,

Just wondering if the url can be extracted from a csv file.
If is my understanding that default values cannot be loaded on the fly from
an external csv

For example, a link to a photo of the location you are going to visit,
could be included in the csv, and the form could present a click through to
the photo.

This would avoid having to create a unique individual form for each
"visit", as would be the case if a fixed default value was used.

Apologies if default values can be loaded from csv files - my bad.

··· On Wednesday, 1 June 2016 23:05:20 UTC+10, Yaw Anokwa wrote: > > Hi Andrew, > > We do have Markdown support for URLs in 1.4.10, but there is a bug > disables the link so you can't tap on it. I fixed that bug a few weeks > back and it will be in the next release. > > https://github.com/opendatakit/collect/commit/e938e9858bc2cbd892ae9fc4a6c2dbb33859d690 > is the patch. > > In the meanwhile, you use type=string, appearance=url, and > default=http://example.com if you need a URL button that you can > click. We added this feature years ago, but it wasn't publicized. ODK > Collect has a couple of these little tricks that I've been meaning to > document... > > I've attached a sample form. > > Yaw > -- > Need ODK consultants? Nafundi provides form design, server setup, > in-field training, and software development for ODK. Go to > https://nafundi.com to get started. > > > On Wed, Jun 1, 2016 at 9:56 AM, Andrew <acawo...@gmail.com > wrote: > > Hi Imran, > > > > This is just something to try - haven't tried it myself: > > Collect now supports Markdown for text formatting (see post here) > > > > There are several ways of displaying links: > > https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links > > > > Perhaps try one of those. e.g: > > > > Please click [here](https://www.google.com) > > > > I'm not sure if XLSForm supports this - check the xml file and modify > there > > if needed. > > > > ODK Team, can you confirm whether Collect will display Markdown links? > > > > Thanks, > > Andrew > > > > > > > > On Tuesday, 31 May 2016 19:52:56 UTC+2, A.N.M AL-IMRAN wrote: > >> > >> Hi All, > >> > >> I am trying to add hyperlink to one of my ODK form, how do I add > >> hyperlink? > >> > >> Thanks > >> Imran > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Hi Anne,

Given some key, you should be able to get values from the CSV and
store it in the form. I don't think it'll work as a default value (I
haven't tried), but you should be able to use pulldata and store it in
a calculate.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Tue, Aug 30, 2016 at 2:25 AM, Anne Coveny anne.coveny@gmail.com wrote:

Hi Yaw,

Just wondering if the url can be extracted from a csv file.
If is my understanding that default values cannot be loaded on the fly from
an external csv

For example, a link to a photo of the location you are going to visit, could
be included in the csv, and the form could present a click through to the
photo.

This would avoid having to create a unique individual form for each "visit",
as would be the case if a fixed default value was used.

Apologies if default values can be loaded from csv files - my bad.

On Wednesday, 1 June 2016 23:05:20 UTC+10, Yaw Anokwa wrote:

Hi Andrew,

We do have Markdown support for URLs in 1.4.10, but there is a bug
disables the link so you can't tap on it. I fixed that bug a few weeks
back and it will be in the next release.

https://github.com/opendatakit/collect/commit/e938e9858bc2cbd892ae9fc4a6c2dbb33859d690
is the patch.

In the meanwhile, you use type=string, appearance=url, and
default=http://example.com if you need a URL button that you can
click. We added this feature years ago, but it wasn't publicized. ODK
Collect has a couple of these little tricks that I've been meaning to
document...

I've attached a sample form.

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Wed, Jun 1, 2016 at 9:56 AM, Andrew acawo...@gmail.com wrote:

Hi Imran,

This is just something to try - haven't tried it myself:
Collect now supports Markdown for text formatting (see post here)

There are several ways of displaying links:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links

Perhaps try one of those. e.g:

Please click here

I'm not sure if XLSForm supports this - check the xml file and modify
there
if needed.

ODK Team, can you confirm whether Collect will display Markdown links?

Thanks,
Andrew

On Tuesday, 31 May 2016 19:52:56 UTC+2, A.N.M AL-IMRAN wrote:

Hi All,

I am trying to add hyperlink to one of my ODK form, how do I add
hyperlink?

Thanks
Imran

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

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.

9 posts were split to a new topic: Hyperlink to open external app