Developer forum

Forum » Templates » Two extranet apps on one page

Two extranet apps on one page

John Broers
Reply

Hi,

I'm using the Extranet app for a newsletter signup, which is located in the footer of the website. I also have a 'create account' page which makes use of the Extranet app. Both setup with the Create profile form. 

So the create account page has two extranet forms. But when one of the forms gets submitted, validation errors are displayed above both forms. How can i make a seperation between those two forms?


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply
This post has been marked as an answer

Hi John,

 

Can you confirm if you are submitting the Paragraph Id (PID) as a parameter? That should tell DW that the submitted parameters are associated with a particular instance of that module.

 

That said, I know that's not 100% adopted by all Dynamicweb Apps.

 

Best Regards,

Nuno Aguiar

Votes for this answer: 1
 
John Broers
Reply

Hi Nuno,

That did the trick. I added the following hidden field to the form and it worked: 

<input type="hidden" name="PID" value="@Pageview.CurrentParagraph.ID" />

Thank you!

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

You are welcome

 

You must be logged in to post in the forum