(10-29-2019, 12:57 PM)php_rocs Wrote: (10-29-2019, 11:38 AM)xaibi Wrote: Hello, no i did not should i write this (height="40px")
Will this work?
No, for textarea you must set the attributes rows and or cols. You could also set a default value called placeholder.
reference: https://www.w3schools.com/tags/tag_textarea.asp
I did this but nothing happened. This is the my code.
Code:
<!--OBJECTIVE START-->
<div class="cv-section-title">
<p class="font-weight-600 text-16">Objective</p>
</div>
<div class="form-row">
<div class="col-1">
<!--just to align labels-->
</div>
</div>
<?php if($update_cv):?>
<?php foreach($cv_objectives as $a): ?>
<div class="form-row">
<div class="form-group col">
<textarea rows="10" cols="30" placeholder="Type Your Objective" class="form-control" value="<?=$a->description?>" name="objective_descriptions[]" /><?=$a->description?></textarea>
</div>
</div>
<?php endforeach; ?>
<? endif ;?>
<!--OBJECTIVE END-->
(10-29-2019, 05:05 PM)InsiteFX Wrote: I think he is talking about using Visual Editor which is a WordPress editor.
Correct me if I' am wrong.
You are right but I think it's tough for me to implement visual editor. So I just want to fix the textarea section. Already posted my code.