Forwarding upon submission not work

Hi. when i try to use Forwarding upon submission and add froward url to web from url get this error : “Survey with this ID not found”
the url i try to open is : https://ee.kobotoolbox.org/x/#Y8rQ?returnURL=https://www.google.com

what’s the problem ?

Hi,
The returnURL feature (redirecting to a new URL on submission) was only available in the old Enketo Legacy and hasn’t been added to the new ‘Enketo Express’ tool yet. For Enketo specific questions please check the user group there as well: https://groups.google.com/forum/#!forum/enketo-users

Best,

Tino

···

On Sat, Jul 16, 2016 at 11:06 AM Kind Bear m.doo...@gmail.com wrote:

Hi. when i try to use Forwarding upon submission and add froward url to web from url get this error : “Survey with this ID not found”
the url i try to open is : https://ee.kobotoolbox.org/x/#Y8rQ?returnURL=https://www.google.com

what’s the problem ?

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Correction:

It’s sort of half-heartedly implemented in the new Enketo in the same way as in the old Enketo, this means it works in the online-only webform only (that will always remain the case).

This e.g. works: https://ee.kobotoolbox.org/::Y8rQ?returnURL=https://google.com

However, normally these URLs have to be requested from Enketo’s API. Enketo may very well change the URL structure in the future and then the URL above will break.

In your case the error message had a different cause. Your URL is just an invalid URL (this is not Enketo specific). The fragment identifier (the # part) has to come after the querystring (the ? part). So basically Enketo tried to find a form with ID “Y8rQ?returnURL=https://www.google.com” instead of ID “Y8rQ”. This is one of the reasons, I want to discourage anybody from trying to craft their own enketo webform URLs. Always use Enketo’s API (which is what KoBoCat is using internally when you click a webform button).

Cheers,
Martijn

(Developer of Enketo)

···

On Wednesday, July 27, 2016 at 6:47:02 PM UTC-6, Tino Kreutzer wrote:

Hi,
The returnURL feature (redirecting to a new URL on submission) was only available in the old Enketo Legacy and hasn’t been added to the new ‘Enketo Express’ tool yet. For Enketo specific questions please check the user group there as well: https://groups.google.com/forum/#!forum/enketo-users

Best,

Tino

On Sat, Jul 16, 2016 at 11:06 AM Kind Bear m.do...@gmail.com wrote:

Hi. when i try to use Forwarding upon submission and add froward url to web from url get this error : “Survey with this ID not found”
the url i try to open is : https://ee.kobotoolbox.org/x/#Y8rQ?returnURL=https://www.google.com

what’s the problem ?

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Just to add: I don’t recommend using this until there is a special “button” for it in KoBoCAT (though no idea if/when that will happen), at which point it will be implemented properly (which some adequate protection against multiple submissions).

···

On Thursday, July 28, 2016 at 2:01:55 PM UTC-6, Martijn van de Rijdt wrote:

Correction:

It’s sort of half-heartedly implemented in the new Enketo in the same way as in the old Enketo, this means it works in the online-only webform only (that will always remain the case).

This e.g. works: https://ee.kobotoolbox.org/::Y8rQ?returnURL=https://google.com

However, normally these URLs have to be requested from Enketo’s API. Enketo may very well change the URL structure in the future and then the URL above will break.

In your case the error message had a different cause. Your URL is just an invalid URL (this is not Enketo specific). The fragment identifier (the # part) has to come after the querystring (the ? part). So basically Enketo tried to find a form with ID “Y8rQ?returnURL=https://www.google.com” instead of ID “Y8rQ”. This is one of the reasons, I want to discourage anybody from trying to craft their own enketo webform URLs. Always use Enketo’s API (which is what KoBoCat is using internally when you click a webform button).

Cheers,
Martijn

(Developer of Enketo)

On Wednesday, July 27, 2016 at 6:47:02 PM UTC-6, Tino Kreutzer wrote:

Hi,
The returnURL feature (redirecting to a new URL on submission) was only available in the old Enketo Legacy and hasn’t been added to the new ‘Enketo Express’ tool yet. For Enketo specific questions please check the user group there as well: https://groups.google.com/forum/#!forum/enketo-users

Best,

Tino

On Sat, Jul 16, 2016 at 11:06 AM Kind Bear m.do...@gmail.com wrote:

Hi. when i try to use Forwarding upon submission and add froward url to web from url get this error : “Survey with this ID not found”
the url i try to open is : https://ee.kobotoolbox.org/x/#Y8rQ?returnURL=https://www.google.com

what’s the problem ?

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.