• Resolved cssqueen

    (@cssqueen)


    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://ww.wp.xz.cn/extend/plugins/dmsguestbook/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Thread Starter cssqueen

    (@cssqueen)

    it worked!

    thanks so much 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: DMSGuestbook] edit mandatory fields’ is closed to new replies.