Hi, is there any way to avoid reloading whole parent page when form in dialog was submitted successfully? Let's say I want to reload only one div where the new data should be rendered.

Comments

jantimon’s picture

Yes use the drupal ajax-framework for this:

http://api.drupal.org/api/drupal/developer--topics--forms_api_reference....

You can remove/replace/insert html by using the ajax commands in your callbacks:

http://api.drupal.org/api/drupal/includes--ajax.inc/group/ajax_commands/7

jantimon’s picture

Issue summary: View changes

e

mustanggb’s picture

Issue summary: View changes
Status: Active » Fixed

Answered.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.