Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1249501

    Hi,

    I need to embed a custom contact form into a page to connect it to a CRM account. Each time I’m trying to do it the code builder is crashing and I have to restore a previous version. After a hour of troubleshooting I found that I can’t put <textarea></textarea> tag into Code Block. I click Save button and back end view is crashing.

    <div class="zcwf_col_fld">
    [textarea here]
    <div class="zcwf_col_help"></div>

    Any ideas how to fix it?

    • This topic was modified 4 years, 9 months ago by Peter.
    #1250044

    Hey Peter,

    The text field is a Textarea too so there can be conflict. Can you please try adding it is a code block and see that works?

    Also, this code is missing a closing div, if that’s all the code that you’re using, and this alone can break HTML.

    Best regards,
    Victoria

    #1250101

    Victoria, did you read my post? The code above is just a part of a long code of a contact form with CRM Javascript and CSS. All that code is working, but when I put < textarea> PageBuilder is crashing. You have login/password and can test it.

    #1250102

    Just replace [textarea here] with <textarea></textarea> to break a page (backend editor page)

    #1250435

    Hi Peter,

    Oh…
    Image 2020-10-04 at 19.04.39.png

    But the Code block is textarea too. So when you add the textarea in the textarea it breaks the html structure.

    https://stackoverflow.com/questions/32817076/html-issue-with-nested-textarea

    Best regards,
    Victoria

    #1250506

    Victoria, I understand you want to mark this topic as resolved asap, but PLEASE read my question again.

    I have to add a custom code as I do it using Avada framework. as an example. I don’t put a textarea tag into another textarea tag, so your link is not related. Please explain me how to add a custom code with textarea to codeblock or any other block to connect the website to CRM. It’s a bug and should be fixed. You have login/password. Thanks.

    • This reply was modified 4 years, 9 months ago by Peter.
    #1250644

    escape doesn’t help.

    I need to add this code: <textarea id=’CONTACTCF4′ name=’CONTACTCF4′></textarea>

    • This reply was modified 4 years, 9 months ago by Peter.
    #1250882

    No answers… Can you escalate this issue to your supervisor or senior developers?

    #1251719

    Hi,

    This should be possible but we might have to create a custom shortcode so that we do not have to directly add a textarea inside the code or text block.

    // https://developer.wordpress.org/reference/functions/add_shortcode/
    // https://codex.wordpress.org/Shortcode_API

    Unfortunately, this kind of modification is beyond the scope of support, so we will not be able to help you further.

    Thank you for understanding.

    Best regards,
    Ismael

    #1251762

    1) And of course there are two opening divs and one closing!

    2) then – if it should be a text-block element you are trying to insert shortcode will be something like:

    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-k3unomjx' admin_preview_bg='']…[/av_textblock]

    3) if it has to be a textarea tag – define for the textarea rows and cols:
    <textarea id="ABC" name="ABC" rows="4" cols="50"> … </textarea>

    4) go and get that little plugin from Günter to insert special characters: https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation
    after that place a textblock element instead and insert it like:
    ###lt###textarea id="CONTACTCF4" name="CONTACTCF4" rows="4" cols="50"###gt### ###lt###/textarea###gt###

    to 4 see here: https://webers-testseite.de/3columns/

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.