Support » Plugin: Yet another ajax paged comments (YAAPC) » [Plugin: Yet another ajax paged comments (YAAPC)] want to add somthing to the plugin

  • hi… i want to add a button to the plugin validator.
    when visitors don’t fill in the form i want a button to popup (not text like now)
    that will direct the visitor to the relavent field…
    i tried to replace this:
    beforeSubmit: function() {
    if(form.find(‘#author’)[0]) {
    if(form.find(‘#author’).val() == ”) {
    msg.html(‘<div class=”notice”>’+’fill in the name’+'</div>’);

    with this
    beforeSubmit: function() {
    if(form.find(‘#author’)[0]) {
    if(form.find(‘#author’).val() == ”) {
    msg.html(‘<div class=”notice”>’+’fix the field‘+'</div>’);

    but when i do this it’s jumping” me to the old wordpress validator in the external page.

    how do i do this ?

    thank you

  • The topic ‘[Plugin: Yet another ajax paged comments (YAAPC)] want to add somthing to the plugin’ is closed to new replies.