Jump to content

How to replace text


Recommended Posts

Hello,

<select data-drupal-selector="edit-field-property-type-value" class="form-select form-control" id="edit-field-property-type-value" name="field_property_type_value"><option value="All" selected="selected">- Any -</option><option value="Apartment">Apartment</option><option value="Duplex">Multi-Stories Home</option><option value="Single Home">Single Home</option><option value="Town Home">Town Home</option></select>

How to replace the first option "--Any --" by "-- type --"?

Thank you!

Link to post
Share on other sites
On 3/25/2021 at 10:56 AM, newcoder1010 said:

Hello,


<select data-drupal-selector="edit-field-property-type-value" class="form-select form-control" id="edit-field-property-type-value" name="field_property_type_value"><option value="All" selected="selected">- Any -</option><option value="Apartment">Apartment</option><option value="Duplex">Multi-Stories Home</option><option value="Single Home">Single Home</option><option value="Town Home">Town Home</option></select>

How to replace the first option "--Any --" by "-- type --"?

Thank you!

Without anymore information given

<select data-drupal-selector="edit-field-property-type-value" class="form-select form-control" id="edit-field-property-type-value" name="field_property_type_value">
<option value="Apartment">Apartment</option>
<option value="Duplex">Multi-Stories Home</option>
<option value="Single Home">Single Home</option>
<option value="Town Home">Town Home</option>
</select>

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...