What language do you use in the form?
Try doing English and see if the result appears. I have Cyrillic and also have problems with radio buttons and checkboxes.
Just to see how to solve the problem.
Thank you. The result is as follows.
English: OK. The output is correct.
Japanese: No output.
Try adding a “u” to the file send-pdf.php
../wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php
if(preg_match('/\b'.$val.'\b/iu', $valueTag)){
727, 738, 758, 769 lines of code
Thank you very much.
I tested it and found another problem.
If I mix 1-byte and 2-byte characters in the values of radio buttons and checkboxes, they are not output.
Also, a combination of 2-byte characters and some 2-byte symbols will not be output.
The test code used for the ‘Contact form 7’ form is as follows:
1. Radio button 1-byte characters and 2-byte symbols: [radio radio-1_2 use_label_element default:1 "180°" "2-byte spaces"]
2. Radio button 2-byte characters and 2-byte symbols: [radio radio-2_2 use_label_element default:1 "全角スペース ←ここ" "全角(括弧)"]
3. Checkbox 1-byte characters and 2-byte symbols: [checkbox checkbox-1_2 use_label_element "37℃" "全角括弧と数字(123)" "2-bite space"]
4. Checkbox 2-byte characters and 2-byte symbols: [checkbox checkbox-2_2 use_label_element "全角 スペース" "全角(括弧)"]
It may be due to the lack of font glyphs.
Could you try installing IPA fonts?
IPA font is an open source Japanese font.
The latest version is “IPAexfont00401.zip(9.3MB)” in the following link.
https://moji.or.jp/ipafont/ipaex00401/
Hello,
I’ve the same issue, I use Dutch in the form.
But when I look in my file, I see the u already exists in this line:
if(preg_match(‘/\b’.$val.’\b/iu’, $valueTag)){
Is there something that I’m missing?
I hope someone can help me out.