I have created a survey webApp with few questions which involves responses through radio button and checkbox input fields. I have created archived fields to store the responses. Now I'm facing couple of issues.
I have below query to write response into an archived field "q1"
document.controller.setValue('/ctx/webAppLogRcpData/' + elementDataLabel, objectValue, elementDataLabel);
I'm seeing right values in all variables - elementDataLabel, objectValue
2. I was seeing a validate button at the bottom of the page getting added and the responses (recipient Id and timestamp) were getting logged in webAppLogRcpData only after clicking this button. Hence I disabled the next page in Page (v5 compatibility) activity and then called the function (document.controller.submit("submit")) which was present in validate button click on my final button click. Now after the submit instead of moving to the thank you page I see a different page which displays the message "Enter the content of the page here". It seems this is a default page which gets created when I use Page (v5 compatibility).
Appreciate any inputs to resolve these.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @_Manoj_Kumar_ ,
I had tried this option but when I do this, it stops saving responses into webAppLogRcpData schema as I connected page activity to Storage activity. However I have found a solution. I just replicated my TY page in end activity and it seems to be working fine.
Thank you for your inputs!
Hi @_Manoj_Kumar_ ,
Thanks for your reply! I found that in End activity. How can I stop moving to that page because I need to stay in the existing page itself where I'm hiding/unhiding based on the user input and displaying different messages as part of Thank You page. However I still need to save the responses to webAppLogRcpData on button click.
Do you have any feedback on storing responses to archived field? I still don't see responses getting saved to this field when I pull this in Responses tab of webApp.
TIA!
Views
Replies
Total Likes
Open the page activity and go the properties tab.
Disable the checkbox which says Enable the outbound transitions
Hi @_Manoj_Kumar_ ,
I had tried this option but when I do this, it stops saving responses into webAppLogRcpData schema as I connected page activity to Storage activity. However I have found a solution. I just replicated my TY page in end activity and it seems to be working fine.
Thank you for your inputs!
Views
Likes
Replies