web design malta, dnn, dotnetnuke, website design, seo

Follow DotNetMushroom on TwitterFollow DotNetMushroom on LinkedIN


Author Title  
Search by Blog Author / Keywords from above tabs or search by Blog Tags by selecting the respective tag below

Blog TagsSelect to Filter Entries

Entries Filtered byDNM

DotNetMushroom Blog


All Blog including side menu filters were {Built with DNM RAD}

Loading ...
Limit a user to enter 1 record.
Posted By:Camilleri Evan/Tags:PANELTAGS

One feature which we are being requested is the facility to allow a user to enter 1 record only. The application, for example, would ask for data about a user and the user will have to enter that data - but we do not want the user to enter more than 1 record - just the user's data only!

DotNetMushroom RAD provides a simple way for one to do this.

All that the RAD developer needs to do is to create a navigator to an edit form which edits the data that one wants to control with 1 user = 1 record. In the navigator the following navigator command is issued:

Module = (module where the edit form is placed)
Navigator Command = Filter (DNMFILTER)
Parameters: dnm_UserId = {%dnm_userid}

Usually the parameters in {} are data which is bound to the current form. The {% } syntax will get the data from DNN instead from the current form. So in DotNetMushroom RAD {%dnm_userid} refers to the current user id in DNN. The dnm_UserId (on the left hand site of the parameter) is the user id field which is automatically created in DotNetMushroom tables.

If there is not data for the filter above, then the system will prompt for new data, else the system will load the existing data to be amended.

DotNetMushroom offers
DotNetNuke © (DNN) based web
design in Malta and Worldwide
Copyright (c) 2008 - 2012

Holistic IT Group

web design malta, dnn, dotnetnuke, website design, seo