Announcement

Collapse
No announcement yet.

Hiding the dropdown on Select.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I created a field type select, then in javascript onload form changed the text from 'edit' to 'choose' with this $('#fldedt_id_category_default').text('Choose'); also set the css of the field to hidden with this $("#id_sc_field_id_category_default").css('display ','none'); I then created a virtual field type label field, in onScriptinit I did a lookup for the Virtual field with and if else condition. job done.

    result is this Screen Shot 2015-07-11 at 09.56.53.png Screen Shot 2015-07-11 at 10.06.47.png


    so you now have a button linked to another form without the select dropdown.
    Last edited by Mescart; 07-11-2015, 06:11 AM.

    Comment

    Working...
    X