DokGonzo

Members
  • Posts

    6
  • Joined

  • Last visited

DokGonzo's Achievements

Newbie

Newbie (1/4)

10

Reputation

  1. I think I understand that the initial part of the PHP script would go like this: if(!isset($_POST['Checkbox'])) { do stuff }[/PHP] The problem is, I don't know how to make it "do stuff" like I want it to.
  2. In that case, then no, I'm not using a CMS. I think maybe the way I'm thinking about this won't work... using the PHP script to "edit" the HTML in the page? Like I said, I don't want a dialog box. I want formerly hidden text to display next to the checkbox.
  3. I'm actually not even sure what CMS is. My pages are pretty straightforward HTML, with a single external CSS file governing all of them.
  4. I have a simple contact form I'm using for potential clients to send me their information. I'm using a simple PHP script to email the form contents, which works fine. However, what I want to do is make it so that if a disclaimer checkbox is not checked, then the email will not send, and the user will see an error message. I don't want a dialog box or anything. What I have right now is red text that describes the error, but its default display style is set to hidden in my CSS sheet. What I'd like is for it to become visible if the checkbox is not checked, so that the user knows why the contact failed. Additionally, I have 3 areas of the form that are marked "required." I'd also like something similar to happen if any one of them is not filled in. Like if the "Name" box has not been edited, then red text appears that says something like, "You must enter your name." or something. Obviously I'm an extreme novice, so any help is much appreciated. Thanks.
  5. Hmm, thanks a lot. I successfully uninstalled the Frontpage extensions, but now when I try to go to the Password Protect Directories screen, the "Go" button is disabled.
  6. Is there a way that I can restrict access to my domain while I create the content? I'd rather not have anyone be able to see anything on my site before I finish everything and am ready for it to go live. Right now, if you go to my domain, you will see a list of directories. I'd like to make that "invisible" or password protected or something. In cPanel, it says that I can't password protect a directory because of some FrontPage issue. Anyone?