I have a problem, in the purchase order, if I want to add a note in the note area and I use single quotation mark in my note all the Purchase order disappear, I try with all the 3 version I have and all had the same problem. this is the code from edit were is the problem. with the single quotation mark in the Textarea.
<div class="clearfix"></div>
<div class="form-group">
<?= lang('note', 'ponote'); ?>
<?php echo form_textarea ('note',(( $_POST['note'] ?? ' ' )), 'class="form-control" id="ponote" style="margin-top: 10px; height: 100px;"'); ?>
</div>
I google the problem and they said is in php scrip. I have to use something else in the code to make work but I don’t know because I try many things already and nothing work. can you guys help me.
- MSAnswered
Hello,
Can you try this on live demo as I remember there shouldn’t be any issue with single or double quote in note.
Thank you
- OBAnswered
you can see the Purchase Order but if you try to edit is when everything disappears. you can see at the screenshot. I created one Purchase Order to show you how is the problem is with ( ’ ) I have heard is from php code Textarea. ( form_textarea ) but you know better than me. just help me how to fix that please.
- MSAnswered
Hello,
I am sorry for late reply.
I have tried to fix it and update the live demo. Can you please help me test before I release the update.
Thank you
- Login to Reply