AnsweredAssumed Answered

Post field info to embedded form

Question asked by Charles Sanderson on Mar 27, 2018
Latest reply on Mar 27, 2018 by Charles Sanderson

I'm spending a little time on exploring Drupal 8 for our corporate website redesign. While doing this, I'm hoping to change how one of the Marketo forms gets its info.


Currently, when someone requests a white paper, we pass information in the URL string (Get)... Then the Marketo form can pull that information into a couple hidden fields. This has occasionally been problematic - and Google isn't indexing those pages with the passed variables. This leads to broken forms when people get there via Google.  (Plus, we're starting to use more UTM codes. This is making for one nasty-long URL.)


I'm hoping to completely circumvent this with the passed info, by achieving the same using Post, instead of Get. But I'd like some direction, solutions, how-to's, etc. Or, maybe somebody knows a simple solution. I know one likely short answer is "Use Javascript!" ...but I'm quite rusty in that area.