Webform Modification
AnsweredHello,
I'd like to modify a web form - id like to add validation for fields, make fields hidden, set default values based on the current URL. Assuming there is no way to do this natively, is there any way I can create my own form in HTML and use JavaScrip to post the JSON directly to podio? or must I create a PHP client as a middle man?
Thanks,
Alex
-
Hey Alex,
I have a very similar question so I'd like to hop on to this thread.
I'm trying to bind some javascript events to webform fields and the submit button. It doesn't seem to be possible though, due to same-origin security policies.
Here's my js error:
Blocked a frame with origin " https://webform.dev" from accessing a frame with origin " https://podio.com". The frame being accessed set "document.domain" to "podio.com", but the frame requesting access did not. Both must set "document.domain" to the same value to allow access.
Seems like the best solution will be to make a server-side middleman in our language of choice.
Anyone else have an idea on how to get some custom JS into webforms?
-
Frustratingly, if I just copy the HTML from the webform and put that on my site, it all works (and I can adjust presentation, make hidden fields etc, restrict the ability to add multiple files, etc) - except that the user has no indication that the form has been submitted. The data does actually go through, a new item is created in my app: but there's no feedback, whereas in the true form the after submitting the 'success message' is displayed.
If Podio could just address that one issue, or even have the old fashioned option of a 'success URL' to go to after submission, it would unlock an enormous amount of flexibility without needing to set up server-side scripting.
Please sign in to leave a comment.
Comments
5 comments