Title: Custom Fields
Last modified: December 4, 2019

---

# Custom Fields

 *  [larinmj23](https://wordpress.org/support/users/larinmj23/)
 * (@larinmj23)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-332/)
 * Olá pessoal!
    Gostaria de um help no seguinte… tenho um campo custom field chamado‘
   tipo_de_servicos’ que é tipo texto… Gostaria de pegar todos os valores inseridos
   nele e apresentar em um select/dropdown … alguém pode me ajudar?

Viewing 1 replies (of 1 total)

 *  [armaank726](https://wordpress.org/support/users/armaank726/)
 * (@armaank726)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-332/#post-12205362)
 * To the extent i understand your problem, here is what you can do by jQuery
 * I needed something similar in a case when i had some fixed Options and i wanted
   one other option to be editable! In this case i made a hidden input that would
   overlap the select option and would be editable and used jQuery to make it all
   work seamlessly.
 * I am sharing the code:
    var initialText = $(‘.editable’).val(); $(‘.editOption’).
   val(initialText);
 * $(‘#test’).change(function(){
    var selected = $(‘option:selected’, this).attr(‘
   class’); var optionText = $(‘.editable’).text();
 * if(selected == “editable”){
    $(‘.editOption’).show();
 *  $(‘.editOption’).keyup(function(){
    var editText = $(‘.editOption’).val(); $(‘.
   editable’).val(editText); $(‘.editable’).html(editText); });
 * }else{
    $(‘.editOption’).hide(); } });

Viewing 1 replies (of 1 total)

The topic ‘Custom Fields’ is closed to new replies.

## Tags

 * [custom field](https://wordpress.org/support/topic-tag/custom-field/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [armaank726](https://wordpress.org/support/users/armaank726/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-332/#post-12205362)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
