An open API service indexing awesome lists of open source software.

https://github.com/webbywe/d7-simple-admin-form

Simple D7 example module implementing Form AJAX, conditional field, and dynamic menu items.
https://github.com/webbywe/d7-simple-admin-form

Last synced: 4 months ago
JSON representation

Simple D7 example module implementing Form AJAX, conditional field, and dynamic menu items.

Awesome Lists containing this project

README

          

Drupal Form API
=======================

An example module for Form API AJAX functionality.

What Is This?
-------------

This is an example module of using AJAX in a Drupal 7 form.

What Is This?
-------------

1. Download and enable the module.
2. Login as an administrator.
3. Navigate to /admin/webbywe.
4. Enter a path.
5. Select a content type.
6. Select all nodes to assign to the path specified.
7. Click Save configuration.

Upon saving configuration, the user will be redirected to their entered path.
The node teasers assigned to the path will be shown.

#### Validations

- The path will throw an error if it is an already a drupal defined path.