Drupal 表单提交到第三方网站
我正在 Drupal 中构建一个需要提交到第三方网站的表单。在表单 API 中,这似乎不太可能,因为您注册表单提交处理程序来完成所有处理。我需要有表单方法来发布,并且需要将其提交到该网站,因为它是第三方托管的订购系统。有人遇到过类似的情况吗?有什么建议吗?
I'm building a form in Drupal that needs to submit to a 3rd party website. Within the form API it seems like this is not really possible as you register form submission handlers to do all of the processing. I need to have the form method to to POST and it needs to be submitted to this website as it is a 3rd party hosted ordering system. Has anyone run into a similar situation? Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在表单数组上使用
#action
属性:Use the
#action
attribute on the form array: