Pass URL parameters from View to Edit Form


Badge +1

Hi all,

I have built a NINTEX form using certain parameters passed through via fnGetQueryString() from the URL string which works fine.

I am now trying to pass on those parameters from the DisplayForm to the EditForm (when you click Edit Item) as well. Obviously the GetQueryString() doesn't work as the parameters are not in the URL when calling the EditForm.

Is there a way to achieve this?

Many thanks in advance!


6 replies

Userlevel 5
Badge +14

you would need to build your own 'Edit' link or button and supply all the URL parameters.

Badge +1

Thank you for your response. I thought about doing so but had hopes there would be a better solution. (I tried form variables but failed to assign the parameters to them as GetQueryString is not available for form variables and even then wasn't sure if they would still be available on the form after changing to edit mode.) Is there a way to disable the out of the box button (so there would only be my own on the form)

Many thanks!

Userlevel 5
Badge +14

which button do you mean?

you can hide form controls with appearance settings or formatting rules.

Badge +1

Hi Marian, I would like to hide / disable this button if I have to create my own "Edit Item" Button:

215507_pastedImage_2.png

Many thanks!

Userlevel 5
Badge +14

see eg  

Badge +1

Many thanks. That works like a charm!

Reply