CssQueen
Member
Posted 2 years ago #
Hello,
How would I change the mandatory field options for the former website input field, so you do not need to enter a url to sumbit the form,but just be able to enter straight text instead.
Or just delete that whole entry field all together so you do not have to have it filled out to submit the form.
not sure which file it is I edit for these changes, i tried looking through them all, and no luck!
maybe i'm missing something?
some help would be nice :)
Here is my guestbook:
thanks.
http://wordpress.org/extend/plugins/dmsguestbook/
Hi CssQueen
You have to edit the dmsguestbook.php at line 232 (looking for: /* remove all invalid chars from url field */ ) until 241.
You can comment out the whole part of it or you define your own preg_match and preg_replace.
Don't forget to set $urlcheck=1; if you have deleted the code part between line 232 and 241, otherwise your guestbook won't be work.
Greetings,
Dani
CssQueen
Member
Posted 2 years ago #
it worked!
thanks so much :)