Action Form Notes

Action Form is a module developed by for the DNN Content Management System and Development Platform. The developers at have used the Action Form module for countless projects and solutions for a number of years. The following is an modest collection of notes that we have started to record about techniques to take advantage of the strengths of this module. We record this here not to become a secondary help system for Action Form users or DNNSharp. But if you can find something here that helps you, that makes us happy too.

Return to the list

How to Click a Button Using Javascript in Action Form

Mark Buelsing 0 0 Article rating: No rating

If the Button ID is FillDirectInput,

Use the following syntax to get the ID and insert into a JQuery click command


A way to get the form field values from an action form



How to refer to another field in JS

Mark Buelsing 0 0 Article rating: No rating
In Javascript, refer to another field like the following example for the field named, 


$scope.form.fields.EndDate.value=(in30.getMonth() + 1) + '/' + in30.getDate() + '/' + in30.getFullYear();

Or, to use the ID of another field,



Using Action Form

Mark Buelsing 0 0 Article rating: No rating

Hello Mark,

You can either use the server request action and simply call the API using that or, depending on your DNNApi version there is a second action called Execute Api Method which skips the HTTP protocol and executes the method directly.

Kind regards,
Cristian P.

Delay Actions

Mark Buelsing 0 1089 Article rating: No rating
Add a ‘Run SQL Query’ action with the following query, which will wait for 5 seconds:

 WAITFOR DELAY '00:00:05';