• Resolved bbappybabs

    (@bbappybabs)


    In PIE registration form when I am trying to add HTML script field in the edit form panel, it doesn’t work properly. When I am adding any html code, it just returns the html code itself.
    For example if I try to add “something” in the html script edit field it returns the whole html code “PIE registration form no effect of html script.
    It seems PIE registration is not properly configured their HTML script adding option.
    I think the html code must be encoded while updating into database and then again decoded back while outputting.
    How do I solve it?

    • This topic was modified 8 years, 8 months ago by bbappybabs.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor genetech

    (@genetech)

    Hi, We were able to recreate the issue you mentioned. We are working on it and will provide a patch for this after QA.

    Thanks,
    Kirmani

    Plugin Contributor genetech

    (@genetech)

    This will be fixed in the next release. For now please comment out the line 2348 pie-register/pie-register.php (3.0.4 version)
    $fv[‘html’] = htmlentities(stripslashes($fv[‘html’]), ENT_QUOTES | ENT_IGNORE, “UTF-8”);

    to

    //$fv[‘html’] = htmlentities(stripslashes($fv[‘html’]), ENT_QUOTES | ENT_IGNORE, “UTF-8”);

    Best,
    Kirmani

    Thread Starter bbappybabs

    (@bbappybabs)

    Well that works for now. But it doesn’t solve everything, it still has some issues. Please check it out… thanks Kirmani

    • This reply was modified 8 years, 7 months ago by bbappybabs.
    Plugin Contributor genetech

    (@genetech)

    Hi, Can you please share what other issues were still there so that I can have QA recreate those issues?

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

The topic ‘HTML script field bugs in PIE Registration Form’ is closed to new replies.