
-
AuthorPosts
-
September 29, 2020 at 10:11 pm #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.
October 2, 2020 at 1:06 pm #1250044Hey 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,
VictoriaOctober 2, 2020 at 2:57 pm #1250101Victoria, 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.
October 2, 2020 at 2:59 pm #1250102Just replace [textarea here] with <textarea></textarea> to break a page (backend editor page)
October 4, 2020 at 6:06 pm #1250435Hi Peter,
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,
VictoriaOctober 5, 2020 at 12:50 am #1250506Victoria, 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.
October 5, 2020 at 8:40 pm #1250644escape 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.
October 6, 2020 at 4:39 pm #1250882No answers… Can you escalate this issue to your supervisor or senior developers?
October 9, 2020 at 2:45 pm #1251719Hi,
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_APIUnfortunately, 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,
IsmaelOctober 10, 2020 at 12:23 am #12517621) 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/
-
This topic was modified 4 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.