• Actually I will use that field to gather the student ID number of users who write a comment, but I need the existing website field in the comments section to be a required field. Can anyone tell me how to do that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I don’t knwo how to do that, but just out of curiousity: are you sure you can legally do that? I mean to store the ID numbers of the students?

    I have no idea… but just from looking at the code – have you tried adding the <?php if ($req) _e(‘(required)’); ?> to the line you want required?

    It may not work. I have not tried it…. just throwing that out there. I’d guess it don’t and I shouldn’t even have replied – but anyway LOL

    I also question… is that legal?

    Thread Starter snoogly

    (@snoogly)

    I will give that code a try, thanks.

    This will be used on a password protected site in a self-access centre for students to do course work. Entering ID numbers is essential to keep track of their progress. We have all the ID numbers within our department – we just need to tie a particular entry on the site to a particular student.

    good luck – like i said, i don’t have a clue if it’ll work but it’s the same code called for name/email on my site that requires name/email… so maybe it’ll work for that as well. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I make website a required field for comments?’ is closed to new replies.