【问题标题】:Form on drupal basic pagedrupal基本页面上的表格
【发布时间】:2014-02-21 16:18:35
【问题描述】:

我在 drupal 上生成了一个基本页面:site.com/page 使用一个简单的提交按钮:

<input type="submit" name="submit" value="Submit"> 

当您按下该按钮时,它总是会重定向到 site.com/index.php。 我猜这与drupal生成页面的方式有关?

有解决办法吗?

【问题讨论】:

  • 表单有什么作用?您是否将其硬编码到 Drupal 页面中,还是使用模块生成表单?

标签: php html forms drupal


【解决方案1】:

This page 失去了在 Drupal 中创建表单的资源,this page has lots of information on the form API

这两个链接都会对您有所帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-06-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多