Jump to content

How to replace text


newcoder1010
 Share

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...