Link to home
Start Free TrialLog in
Avatar of Wanda Marston
Wanda MarstonFlag for Canada

asked on

Creating a Sign Up Form

How do I add a "sign-up" form for my website? I would want a form for the user to fill-in, then the information goes to a database, I suppose. THEN a Thank You notice. I believe this has to be done in javascript.
Avatar of lenamtl
lenamtl
Flag of Canada image

Hi,

I'm using this PHP package, it is well coded and secure, so you can use that and then create and protect your other backend pages.
This is very good to learn.
https://codecanyon.net/item/advanced-security-php-registerlogin-system/5282621

You can use a CMS like Joomla or Wordpress that have everything ready but these are very big package, that's depend of your needs.

You can learn PHP on udemy.com
Is your website using a cms like wordpress? If so there will be plug ins.  

Otherwise you will need at the very least and html form, a page to post the data to (can be the same page as the form or separate), and finally php on the page that accepts form data to process.

This consists of multiple steps and the processing consists of multiple steps that include verifying data, cleaning data, inserting to a database etc.  More complex options will have client side validation (javascript) as well as server side validation (php) and perhaps an ajax request.

There is a lot to go over and if this is new to  you, the html form is the place to start. If you understand the form, then php that accepts form data.  Which part do you want to go over? All of it is too much for one question here.
how do you want the form presented to the user, client side javascript or php contact us, sign up page?
Avatar of Wanda Marston

ASKER

I thought a pop up form might be good, however, I sometimes hate popups.

SO I guess that might be client-side javascript.

I have several websites that are fully functioning using PHP and databases, so if it can be done with a PHP form, data into the database, then I guess I can do that.

SO my maybe the question is how does the email updates get sent out automatically to the email addresses that I have collected?

I do not use a CMS and hate Wordpress.

Thanks,
Technicallly it will not be a pop-up consider it a DIV that slides akin to the one here to the left (>>)
You can have sign-up and when clicked, it drops down the form to fill out.
much depends on how your site is organized i.e. if a div presents a form, and you submit it whether it will be limited to an update of the div or the .....
presumably if this is set, the sign-up will reflect the user's status
there is no need to prompt a user who you know is already signed up to sign up again, but you can offer the option to unsubscribe, or .... much depends on the context are these visitors to a public site who you want to extend them an option to receive a newsletter.
ASKER CERTIFIED SOLUTION
Avatar of lenamtl
lenamtl
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for your fast responses and your great suggestions.