简体   繁体   中英

Form on drupal basic page

I have generated a basic page on drupal: site.com/page With a simple submit button:

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

When you press that button, it always redirects to site.com/index.php. I guess it has something to do with the way that drupal generates the pages?

Is there a work-around?

This page has lost of resources on creating form in Drupal, and this page has lots of information on the form API .

Both those links will help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM