Menu

Action Form Notes

Action Form is a module developed by PlantAnApp for the DNN Content Management System and Development Platform. The developers at LetItShine.biz 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

Pop Up a Page, or a Page with a Form on it

Mark Buelsing 0 4112 Article rating: No rating

If you want to pop up a page on top of the current one, add the following to the end of the querystring to remove the page skin and containers.

?dnnprintmode=true&SkinSrc=%5bG%5dSkins%2f_default%2fNo+Skin&
ContainerSrc=%5bG%5dContainers%2f_default%2fNo+Container

 

If this is a form, add the following to have the form close when it is submitted.

&afcallparentonsubmit=angridEditDone

Open Form in Popup With Querystring Parameters

Mark Buelsing 0 2937 Article rating: 5.0

Using the javascript API you can open Action Form in popup by calling the next javascript method

dnnsf.api.actionForm.openPopupById('1234', {'param':'valueofparam','param2':'valueofparam2'},true)

 

Also works for simply initializing a form already on the page

dnnsf.api.actionForm.initForm('1234', {'param':'valueofparam','param2':’valueofparam2'})

Move Pop-Up Form title Left of X

Mark Buelsing 0 2884 Article rating: No rating

Action Form, the pop-up form title shows in the wrong place, to the right of the X to close the form. Use this script to move the text to the left. Put it in the initialization Scripts in the form settings.

 

$('.modal-header h4').insertBefore($('.modal-header button'));

RSS