parameter reset when validation error

Confluence User - 21 Nov, 2018

here is the parameter with reference id=001. So i use the duplicate id method to retrieve data.

then when user left blank mandatory field it will be validation error. Then the data retrieve is blank.

How to solve this?

forms;datalists

7


22 Nov, 2018
confluenceUser
confluenceUser

Hi, it seems you are relying on a custom URL parameter duplicate_id. On form submission, the parameter does not exist. You can try to add a Custom HTML or Hidden field into your form with the value of the duplicate_id so that it will be submitted as a parameter on submission.

22 Nov, 2018
confluenceUser
confluenceUser

can you give some xample how to do the Hidden field into form?

22 Nov, 2018
confluenceUser
confluenceUser

How to point this string pId to the hidden field ?

 

22 Nov, 2018
confluenceUser
confluenceUser

Please help me

22 Nov, 2018
confluenceUser
confluenceUser

which hash variable should i use to point to id hidden field?

23 Nov, 2018
confluenceUser
confluenceUser

Perhaps try a <input type="hidden" name="duplicate_id" value="#requestParam.duplicate_id#" > in a Custom HTML field?

26 Nov, 2018
confluenceUser
confluenceUser

i have tried this before, doesnt work.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print