Developer forum

Forum » Development » Form save provider behaviour (Dynamicweb 7, 19.2.8.3)

Form save provider behaviour (Dynamicweb 7, 19.2.8.3)

Marco Santos
Reply

Hello.

 

I have a form save provider that is causing a somewhat strange behaviour in the paragraph module where it is being used. There are two other form save providers on the same paragraph and they work fine. When I add my form provider (the third form provider), save the paragraph and reopen the paragraph, the settings for the other two paragraphs do not load, they get stuck on the loading animation. However, if I add a dummy parameter (it had none in its original form) to my form save, everything works fine. Is this a bug or am I missing something? Is there something that needs to be done for the cases when no parameters are required?

 

Another thing: is there a way to send a tag to the form save provider template to flag that an error has occurred? What additional options are there to writing something in the response?

 

Thanks.

 

Marco


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Marco

 

It sounds like a bug that makes it not load properly if a provider does not have any parameters.

 

Not sure I understand your second question. You can add rendering (own tags) to the form using Notifications.Form.OnBeforeRender or Notifications.Form.OnAfterRender.

 

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum