Hi Community,
I have created two web pages and storing the date in two different schemas, from the fist web page i have only email field when the user fill and submit this need to redirect second page and in the second page have email field and some other fields but the email will came from first page and it should be auto filled when it redirect to second page.
Please suggest and solution
Thank You
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @rudraPraveenKumar ,
you can pass submitted form parameters via query parameters onto second page.
?email=myemail
If you want to be extra you can encrypt the data and decrypt them on the second landing page
Marcel Szimonisz
Views
Replies
Total Likes
Hello @rudraPraveenKumar ,
you can pass submitted form parameters via query parameters onto second page.
?email=myemail
If you want to be extra you can encrypt the data and decrypt them on the second landing page
Marcel Szimonisz
Views
Replies
Total Likes
You can create a redirection page using JSSP. I have created a simple CTA button to land me to the next page.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body style="overflow-y: hidden; padding-left: 1px; padding-right: 1px; min-height: 0px;" class="">
<form autocomplete="off" class="">
<div class="section">
<div class="emphasis-small">What would you be interested in?</div>
<textarea name="descrip" class="input" id="myInput" onblur="document.controller.setValue('/ctx/vars/@varName', this.value );"></textarea>
<button class="btn-primary" id="btn-error" onclick="document.controller.submit('next', '_self', 'next');myFunction()" type="button">Submit</button>
</div>
</form>
<script type="text/javascript">
function myFunction() {
location.replace("https://your2ndwebappURL?id=<%= escapeUrl(cryptString(ctx.recipient.@id)) %>&name=<%= ctx.vars.@varName %>")
}
</script>
</body>
</html>
In the 1st WebApp I have created a variable in Properties tab>> variables tab as varName in which i am storing the text field input which you can use as the parameter in the 2nd webapp.
The webapp which i create is a simple one with page containing the above pasted code.
For the 2nd redirect Webapp I defined a parameter in the properties tab>> Parameters
with a simple webapp template as below :-
1st webapp
Once clicked on submit button I got redirected to 2nd webapp..
Hope this helps.
Regards
Akshay
Views
Replies
Total Likes
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies