DMXzone App Connect Support Product Page


passing url variable on form submit

Asked 14 Mar 2017 13:04:33
have this question
14 Mar 2017 13:04:33 aaron clark posted:
I need to be able to navigate to a page showing a specific record after submitting a form (the one the form just edited)

how do I achieve this?


Replied 14 Mar 2017 13:22:54
14 Mar 2017 13:22:54 Teodor Kuduschiev replied:
Hello Aaron,
Is this an insert/update record form?
Replied 14 Mar 2017 13:26:47
14 Mar 2017 13:26:47 aaron clark replied:
it is an update record form. The form is working correctly all I need to do is be able to click the submit button and pass a variable using the url or some other means so that I can display the record I just edited on the next page
Replied 14 Mar 2017 14:49:03
14 Mar 2017 14:49:03 Teodor Kuduschiev replied:
Actually you do not need on submit then, but on server action success. Click your server connect form component in app connect tree, then use static events > server connect > success > and then add Go To URL. The code generated should be looking like:


Just add manually what you need there:

Replied 14 Mar 2017 15:16:34
14 Mar 2017 15:16:34 aaron clark replied:
Hi I tried this exactly as you said

however the issue I have is that it outputs the url{{OrganisationID}}

instead of
Replied 14 Mar 2017 16:42:08
14 Mar 2017 16:42:08 aaron clark replied:
any Idea what could be causing this or how to resolve it?
Replied 15 Mar 2017 07:11:01
15 Mar 2017 07:11:01 Teodor Kuduschiev replied:
Hi Aaron,
I will check what is wrong an will let you know.
Replied 16 Mar 2017 17:42:57
16 Mar 2017 17:42:57 aaron clark replied:
any luck with this. I really need to get this site finished!!
Replied 31 May 2017 21:34:36
31 May 2017 21:34:36 Brad Lawryk replied:
I need this solved as well still. Trying to do an insert and go to a page.
Replied 01 Jun 2017 07:02:31
01 Jun 2017 07:02:31 Teodor Kuduschiev replied:
Hello Brad,
This can be done with the Go TO URL action, included in the app connect browser. I already answered the same question posted by you, in your other topic.
Replied 24 Jun 2017 17:34:46
24 Jun 2017 17:34:46 Reinhardt Ellis replied:
Ok GUYS i have found the SOLUTION.. im sure it was there all the time but NOT explained to nicely in the VIDEO.. its understandable.. as there is WAY to many things to cover..


1. Create your SERVER ACTION..../...... I have used the name : Server_Action_Insert.
2. Create your CONNECTION
3. Create your Database Insert as per normal... / .... I have used the name : Database_Insert_Properties_Name
4. NB!!! NB!!! Make sure you tick the OUTPUT box ....

5. Now follow the rest of the steps to Connect Your Form via DMX APP Connect as per video.
6. When you get to the DYNAMIC EVENTS... Click it... as below.

7. Make sure you then SELECT THE "IDENTITY" ... this is the "ID" .. and say SELECT.

8. This will amend your Script like this....

<form action="dmxConnect/api/Server_Action_Insert.php"  method="post" id="Form_ID" is="dmx-serverconnect-form" dmx-on:success="browser1.goto(" >

So at this point all it will do .. once the form is inserted is return a VALUE.. eg the ID

so you need to do this...

add in the 'yourpagename.php?id='+ the quotes and + plus is important.....

<form action="dmxConnect/api/Server_Action_Insert.php"  method="post" id="Form_ID" is="dmx-serverconnect-form" dmx-on:success="browser1.goto('yourpagename.php?id='" >

Hope it helps!!!!
Replied 21 May 2018 12:00:00
21 May 2018 12:00:00 Dave Smith replied:

QuoteHi Aaron,
I will check what is wrong an will let you know.

Hi Teodor,
Trying to do the same thing as Aaron and did as you described but have the same problem? Was this issue ever resolved? Reinhardt Ellis suggestion is a pain to repeat on hundreds of update actions. It would be great if your suggestion worked but it does not. The variable in the URL is not passed.

Appreciate your time.
Replied 04 Jun 2018 21:17:57
04 Jun 2018 21:17:57 Dave Smith replied:
Just wondering if there an answer to this that works? I tried using App Connect Browser but this also fails to accomplish the objective. Any advice appreciated.


Reply to this topic