Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Passing form data in Multi-Dialog pages

Sven October 10, 2019

Hey,

i have build a blueprint template with two pages in the wizard dialog.
Is there a way to pass data from the first page to the second page?

Soy

{template .page1Form}
<form action="#" method="post" class="aui">
<fieldset>
<div name="Definition" class="field-group">
<label for="vtopics">{getText('my.blueprint.form.label.title.vTopics')}</label>
<input id="vtopics" class="text" type="text" name="vTopics" placeholder="{getText('my.blueprint.form.label.title.vTopics.placeholder')}">
</div>
</fieldset>
</form>
{/template}

{template .page2Form}
<form action="#" method="post" id="hello-blueprint-form" class="aui">
<fieldset>
<div name="Count" class="field-group">
{loop through vTopics...}
</div>
</fieldset>
</form>
{/template}

 

Atlassian xml

 <!-- Blueprint -->
<blueprint key="blueprint" index-key="index" content-template-key="protokoll-template" i18n-name-key="my.blueprint.name">
<dialog-wizard key="protokoll-wizard">
<dialog-page id="page1Id" template-key="Plugins.Blueprint.Protokoll.page1Form" title-key="my.blueprint.wizard.page1.title" last="false"
description-header-key="my.blueprint.wizard.page1.desc.header" description-content-key="my.blueprint.wizard.page1.desc.content" />
<dialog-page id="page2Id" template-key="Plugins.Blueprint.Protokoll.page2Form" title-key="my.blueprint.wizard.page2.title" last="true" />
</dialog-wizard>
</blueprint>

 

So there are these two pages in the dialog and i want to process a loop through a value typed in in the first page.

 

Thank you :)

 

EDIT:

Got it working with "soyRenderContext"

1 answer

1 accepted

0 votes
Answer accepted
Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2019

Hi Sven,

Could you elaborate further? Maybe attach some screenshot of what you are trying to achieve? :)

Sven October 10, 2019

Hey, im sorry. I edited my post with some more informations.

Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2019

If you are able to use javascript within your code you should be able to.

I'm not familiar with wizard blueprints, sorry :(

Sven October 10, 2019

Yes, i get the data into JS. But i need them in the template when it renders the second page :D

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events