Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lachlann 344 posts 626 karma points
    Apr 15, 2015 @ 16:28
    Lachlann
    0

    Form Picker as Dropdown not Radio Checkboxes, Umbraco 7.2 Forms

    Hi All,

    I have been asking a bunch of questions today so thought I would ask then answer my own.

    By default the Form Picker for Umbraco Forms is a radio button list with a clear link (to clear a selection). The client I am working for is likley to have a very large list of forms so we thought it would be better if the control was displayed as a select drop down.

  • Lachlann 344 posts 626 karma points
    Apr 15, 2015 @ 16:30
    Lachlann
    102

    to change this you need to find the formpicker.html view in: App_Plugins/UmbracoForms/Backoffice/PropertyEditors

    Then change the radio list to:

         <select  ng-model="model.value" ng-options="form.id as form.name for form in forms">
            <option selected value="">Select a form</option> 
         </select>

    Hopefully this helps some one out :)

    L

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies