Webform Modification
Hello, 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

  • Agreed with some of the comments below. This is a significant weakness for Podio. Tried a couple work-arounds - can get the form validation to work, but ultimately won't be able to load the "Thank you" page.
  • 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.
  • A server-side middleman is usually the easiest by far. Otherwise you'd have to expose sensitive data to the public (we do support CORS, but you'll be exposing sensitive credentials to the public for this use case)
  • It won't work because of cross site scripting restrictions. I ended up writing a few lines of php and posting my form to the php which posts to podio. 
  • 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?
This question is closed.