Developer forum

Forum » Feature requests » Form Save Provider

Form Save Provider

Nuno Aguiar
Reply

Hi,

 

Would be nice to have on Form Save providers the ability to subscribe to:

  • Form Load - to manipulate fields and set tags
  • Before Save - manipulate submited data
  • After Save - existing
  • Set tags - For forms and confirmation templates
  • Have record ID in the arguments

 

Best Regards,

Nuno


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Nuno

 

Could you please elaborate what you are trying to achieve?

Nicolai

 
Nuno Aguiar
Reply

Hi Nicolai,

 

We use sometimes use the Forms module to integrate with other systems. That said:

 - We sometimes need to create tags for the form/confirmation/email template, based on a custom development

 - We are sometimes limited to the WS response. If it is false and/or needs some error management, we need to delete the record and do a workaround - If we could reload the form template, setting some error tags based on the WS response, things would be easier

 - The Notifications are red-only (arguments). We sometimes need to manipulate data (for example, renaming files with a scecific naming scheme), and need to query the SQL directly, and not through the API. Plus, the record ID is not in the arguments (we need to get the last record with certaing fields submitted to get the record ID).

 

Opening up the possibility to manipulate data before the record is saved, reloading the "form template" and settings custom tags, would make things a lot more flexible.

 

Did you get the general idea?

Nuno

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply
This post has been marked as an answer

Hi Nuno,

We have already planned to do a sanity check of the provider model for Forms. I have added a note to that task that we need to be able to support these types of needs. I don't know when it'll be done, but it's in the backlog. Task number is 14589.

- Jeppe

Votes for this answer: 1
 
Nuno Aguiar
Reply

Hi Jeppe,

 

That's great. Looking forward for it. Do you know when in the roadmap? 8.5 or 8.6?

 

Nuno

 
Asger Munkholm Højfeldt
Reply

Hi Nuno,

We haven't decided yet - but most likely in 8.6

//Asger