User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 401,622 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,853 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 359 | Replies: 3
Reply
Join Date: Jul 2006
Posts: 107
Reputation: ryy705 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
ryy705 ryy705 is offline Offline
Junior Poster

Question about creating Consent Forms

  #1  
Dec 19th, 2007
Hello,

How are editable consent forms created? Am I supposed to use text files that can be modified by the admin? Or am I supposed to put the text in a the database? What is the norm? Thanks in advance.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2007
Posts: 106
Reputation: Designer_101 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
Designer_101 Designer_101 is offline Offline
Junior Poster

Re: Question about creating Consent Forms

  #2  
Dec 21st, 2007
Hi
Using a form you can have the user type in there data and then onsubmit, link to another page. On that page you should have the writing to a text file all the seperate data on different lines. If you want you can have it write to two text files and make it so only one of them can have data deleated from, therefore creating an admin accound. Obviously this is a simple way a much more complex and reliable way would be to use a database. If you give me an idea of what you want i could write the code for you.
Reply With Quote  
Join Date: Jul 2006
Posts: 107
Reputation: ryy705 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
ryy705 ryy705 is offline Offline
Junior Poster

Re: Question about creating Consent Forms

  #3  
Dec 21st, 2007
Thanks for the reply. But I wish to create consent forms. Where the user views the agreement and then hits the submit button. I need to give the admin the right to edit the text displayed in the consent form. What is the norm for doing this? Do I save the text in the database or should I create text files?
Reply With Quote  
Join Date: Feb 2007
Location: St. Vincent and the Grenadines, Caribbean
Posts: 961
Reputation: scru is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 39
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Shark

Re: Question about creating Consent Forms

  #4  
Dec 21st, 2007
Originally Posted by ryy705 View Post
What is the norm for doing this? Do I save the text in the database or should I create text files?

Forget the norm. Do what best suits you.

If your site is not already run on a database, creating one *just* for the consent form can be expensive. In that case I would stick with the text file.

However, if the site is already run on a database, maintaining this feature through the database will not take much effort at all, and I most likely would suggest you do that.

There would also be other factors for you. My advice would be to weigh in the rpos and the cons to each, crossing out or amplifying each ones that apply to you according to you situation. In the end, you should pick hat is the best fit for your website, and not something else for the sake of conforming to the norm.
Half and a half meck a whole, and I donned it a hundrid purcent
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 5:43 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC