Developer forum

Forum » Development » RE: FormSaveProvider return value

RE: FormSaveProvider return value

Marco Santos
Reply

Hello.

 

We have a form save provider that will send some data over to a web service and if anything goes wrong it will return false as the result. Is there a way to use this to present a message to the user ?

 

Marco


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Marco,

 

Unfortunately, it's not possible to add fields to the form after it's been saved.

 

What you could to is to have a field on the form that is not active. This field will not be rendered in the frontend. When your web service returns false, you could find the field in the Form object and set that inactive field to Active and set it's value. That field should then be visible to the user.

 

- Jeppe

 

You must be logged in to post in the forum