Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Popular Posts

Tags

2008 2008 Express Add AFTER alert Alias Aliases Alter Alternating And ASC Assist BETA Blog Cancel Check ON Checkbox Checkbox Group Color Column Columns Combo Box Composite Confirm Confirm Message Control CREATE CREATE TABLE Data Data Springs Database DDL DELETE Delete Confirm Demo Demonstration DESC Direct Access DNN DotNetNuke Drop Drop Constratint Drop Down Drop Down List DS Dynamic Dynamic Blog Dynamic Forms Dynamic Registration Dynamic Views Edit Event Example Express Fade In Fade Out Field Filters FK Forms Full-Table Scan Generating Generator Generators Great Ideas Group Help HTML Increase Index Indexes Input Integrity jQuery Label Listbox Listener Message Modify My Account MySQL No NULL Often Ok ON Optimization Optimize Option Options Oracle Order By Perform Performance PK Popup PostreSQL Queries Query QuestionOptionValue Radio Button Radio Button Group References referential Round Script Search Search Filters SearchOption SearchOptionValue Select Server Snippet Sort Springs SQL SQL Driven SQL Driven Query SQL Express SQL Server SQL Server 2005 SQL Server 2008 SQL Server 2008 Express SQL Server 2008 R2 SQL Server Express SSMS Stored Stored Procedure TABLE Tables Temporary Tool Tools Tooltip Tooltips Transact-SQL Trials Triggers TSQL T-SQL Unique UPDATE Use Useful Views Widget Widgets Window Yes [userimage] 10 64 bit Ability ABS Action Active Forums Alleviate Alternating Colors Alternating Rows Analytics ARB asp.net asp.net validation AuthARB Authorize.NET Avoid Back Button Basecamp Blog Blog Posts Blogging Browser Browser Back Browser Close Browser History Browser Script Button cascading style sheet Case Char Character CharAt CharAt() Check chip levinson Click client side validation Close Browser Close Window Collection 5.0 Comment Compatibility Compatible Completion completion event Confirm Message Conform Constraints content localization Count Timer Countdown CRM css csv Cursor Custom Custom HTML Custom JavaScript Custom JavaScript File customer feedback Customize Data Data Integrity Data Springs Data Springs Blog Data Springs Collection Data Springs Development Data Springs Planning Data Springs Training Databases DataSprings Date Time JavaScript Debug Info default value Delete Demonstration DF DNN DNN Authentication DNN Blog DNN Core Profile Property dnn html module dnn modules dnn schedule error dnn schedule multiple DNN Store document document.getElementById DotNetNuke dotnetnuke 5.4.4 DotNetNuke Analytics DotNetNuke Forums DotNetNuke JavaScript DotNetNuke Modules dotnetnuke reporting dotnetnuke scheduler dotnetnuke user image Double Double Quotes DR DROP Drop Constraint DropDown Login DS dynamic Dynamic Data dynamic fields Dynamic Form Dynamic Forms dynamic forms silent post Dynamic Forms Tutorial dynamic login Dynamic PDF Form Completion Event dynamic registration dynamic registration silent post dynamic registration user image dynamic user directory dynamic views DynamicRegistration_Question DynamicRegistration_QuestionResponse email email issues Encapsulated Encapsulation Even Event Event Viewer Example Excel Execute Export Export to Excel Facebook Facebook Connect Field FieldID First FirstName Fix Foreign Key Form Form Post Formatting Forms Forum Flow Full Table Scan Fully Function Google Analytics Google Analytics Ecommerce Great Great ideas Grid guides hidden field Hide Show Rows Highrise Highrise API Hourly Services HTML HTTP Post iDeal IE IE 10 Image Image Button Include Inconsistancy Info Information Injection INSERT Integration Interactive User Import Interface internet Internet Explorer iPAD iPAD App for Highrise iPAD Highrise App Items JavaScript JavaScript hide show JS Function Layout Lead Generation Learn Left Left Quote Link LinkedIn list import Live Blog localization Log Logic Login login module login skin object Loop Mandeeps Match Message Microsoft Live Writer module configuration Modules Monthly Services Name Netherlands New News Blog NL NOT NULL oAuth2 Odd OnClick Open Web Studio opt in email OWS Part 1 Part 2 Passed payment gateway paypal Phone Number Placement Post Postback Posts Premium Integration Premium Services Premium Support Primary Key Procedure Products profile Quarterly Services Question question fields Question Loop Question Value QuestionOption Quick Quotes Recommend Recommendation Recurring Billing Redirect Referential Integrity registration Rendered Replace replace html text report views reports Resolution Resource resource files resx Retrieve Retrieving Right Right Quote Rows Ryan Bakerink Sales Force SalesForce Script Scripting Scripts Sequential Access server side validation Silent Post Single Single Quotes Single Sign On skin object Snowcovered Solution sp Springs SQL sql 2005 pivot sql default value SQL Example sql import SQL Injection sql query sql replace statement sql reports SQL Server sql server 2005 SSL SSO stored stored procedure String style sheet stylesheet Submit Submit Button Submit Image Submit Link success story Suggest Suggestion Support Syntax Table technical techwise research Temp test credit card numbers testimonial Text/HTML thumbnail image Time Timer Tip Token Topic Transaction Trial Trigger TSQL T-SQL Tutorial Twitter Types of Constraints Unique Update Highrise user user directory user profile image users online Variable View Web Based Work Around writer writing xls xlsx XML

In the Flow

rss

Data Springs, Inc. - An online diary and web log from staff and customers for premium DotNetNuke resources, Data Springs Modules, and Data Springs Services.


Receive Dynamic Forms / Dynamic Registration Silent HTTP Posts

Several clients have asked us recently about how Dynamic Forms and Dynamic Registration can accept silent posts and I wanted to create a quick blog post that highlights how to do this. First... The ability to accept silent posts (which is what this blog post is referring to) is separate from the features within Dynamic Forms/Dynamic Registration completion events that SEND HTTP Posts. You could technically use Dynamic Forms to send a silent post via Dynamic Forms to another Dynamic Forms but in general this blog post covers how to use these modules to 'Receive' silent HTTP Posts.

First - Why use or integrate receiving a silent post into Dynamic Forms and Dynamic Registration? Simple! You can take advantage of all of the features including the ability to submit form data, ability to register a user within DNN, ability to utilize all form completion events within the modules etc... So you could technically use PHP/Joomla/Flash or Action SCript, or maybe another DNN Site that might be sending an HTTP Form Post to your module and you can then utilize all of the features of Dynamic Forms and Dynamic Registration as if the user went to the site and typed in all of those fields directly.

Lets start with the very basics and most important steps:
1. To post to either a Dynamic Forms instance or Dynamic Registration instance you need to include a parameter in the URL or in the post for SPost=True. So at the very end of your URL you should include ?SPost=True or make sure you send the SPost variable as one of the form post options with the value of True.

2. Both Dynamic Forms and Dynamic Registration accept form posts once the SPost variable is passed with a value of true and ALSO based on the short field name of each field on your form. So in other words if you have a short field name of 'FName' for the field 'First Name' on your form, then you should be passing a form post of FName to the URL.

3. As with other posts to / from somewhere you must keep in mind that if the module is receiving a silent post it shouldn't be behind a login. This is a common mistake when integrating components because whatever is sending the post out is probably not authenticated on your DotNetNuke site.

4.  The silent post will be treated just as if the user came and submitted these details to the form. What does this mean? Well most importantly this means that if you are not passing a field that is required the form would be submitted. So this applies to any validation you are using such as standard validation or SQL Validation etc... Things to check! Make sure you disable CAPTCHA for the form when using the silent post feature.  You could do this by either creating a new forms / registration instance or you could do this by using the question events feature to show/hide the CAPTCHA fields. Basically you could create a hidden field called SPost and when that field is set to True you could HIDE CAPTCHA. This way the field would be hidden for the silent posts. Just make sure that the SPost hidden field has a sort order that is smaller then the CAPTCHA field.

Its that simple! Really, you should be up and running quickly. You can test this by sending to/from another Dynamic Forms instance if you would like. You can test this using a demonstration we are working on here:
http://www.datasprings.com/products/dnn-modules/Dynamic-Forms/Dynamic-Forms-demo-33-silent-post-demonstration


We also have some other forums for showing how Opt In Email can accept silent posts here:
http://www.datasprings.com/products/product-forums/aft/7619

I did another blog post on this topic but wasn't as clear at the time... You can still refer to it here:
http://www.datasprings.com/news/blog/postid/9



Thanks... I would be interested in hearing any feedback on this topic!

-Chad



Comments are closed.
Showing 2 Comments
Avatar  MHuijbregts 7 years ago

Hi Ricky,

I just figured this out on my localhost machine. The "Silent Post (DF/DR URL)" field should be used to enter the page on which you have installed DR and add the ?SPost=True at the end of the url.

Currently it is using the users initials in the registration process instead of the full names. I guess this will be my next hurdle ;).

Cheers,
Marc

Avatar  Ricky Jones 7 years ago

could you please post an example of what the URL would look like sending a silent post to the dynamic registration module. Thanks!

Recent Comments

 
 

Join our mailing list...

Get current news and events the easy way
 
 
   
Subscribe Me

Recent Blogs...

 
Copyright 2005 - 2011 by Data Springs, Inc.