Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...basic module about form to [sql to] textbasic module about form to [sql to] text
Previous
 
Next
New Post
6/28/2014 8:35 PM
 

hello,

I am new at dnn but would be very interestedin a very basic example to make a form on a first page (for example to ask for "compute the square root of: ___ Submit") and get the result on the second page?

 Ideally also a link with the sql database behind (such as storing the number and the user-id if the person is loggedin).

with such a thing, I guess that any new DNNizen can catch up to easily start its own apps. 

Thank you in advance,

Edouard

 
New Post
6/29/2014 7:53 AM
 
It’s likely a little more than a basic requirement for a beginner that has no programming skill.  

If you have some programming skills: Not sure about other forms/templates modules but this could be done using a module like xMod Pro. 

You don’t really need to place the answer value in the database. In the form, you could place a label with your question and validate the input textbox. Below the textbox use a xMod redirect button.  If the button is clicked and the textbox has an incorrect answer an error message can be displayed.

If you really want to store the value in the database you’ll need to insert the value to a hidden field in your form and use comparison validation for data vs. input. If the value inserted into the textbox is different an error message will be displayed. The xMod redirect button can be programmed to pass POST or GET parameters.

Regards
MIke
 
New Post
7/7/2014 4:23 AM
 

Hi

To learn you can go through DNN wiki - Module development page. If you want to go through codes then from DNN  Forge section you can download modules with source code and learn how it is interacting with database and DNN Api.

Thanks
Sibabrata Dash
Mindfire Solutions

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...basic module about form to [sql to] textbasic module about form to [sql to] text


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out