Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Unhiding multiple text fields in userforms module

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 557 Views
  • gakenny
    Avatar
    Community Member
    153 Posts

    Unhiding multiple text fields in userforms module Link to this post

    Hello,

    I am generating a form using the current stable versions of both SilverStripe and the UserForms module:
    SilverStripe v3.0.2
    UserForms v1.0

    On this form I have created a Dropdown Field that is Visible and five Text Fields that are hidden. The same custom rule has been defined for each of the Text Fields to be displayed when a specific value is selected from the Dropdown Field.

    However, when selecting the specific value from the Dropdown Field, only the LAST Text Field is displayed with the remaining Text Fields remaining hidden. This did work in earlier versions (<v3.0) of SilverStripe and the UserForms module with the same rules defined.

    Is there a known workaround to this issue?

    Thanks,

    Gary

  • gakenny
    Avatar
    Community Member
    153 Posts

    Re: Unhiding multiple text fields in userforms module Link to this post

    Hello,

    I am still having issues hiding and unhiding fields using the UserForms module.

    Using the latest version of SilverStripe 3.0.5 and either UserForms v1.0 or UserForms Latest Master Build, I am unable to use the hide/unhide attribute to hide a field. I have set the default display method for the field on the form as hidden and it is still displayed.

    Is there a known issue that may be causing this to occur?

    Cheers,

    Gary

  • Willr
    Avatar
    Forum Moderator
    5503 Posts
  • gakenny
    Avatar
    Community Member
    153 Posts

    Re: Unhiding multiple text fields in userforms module Link to this post

    Thanks Will,

    I can confirm that this issue is resolved in the latest master build. With this download, I did have to recreate the thirdparty folder and repackage locally before uncompressing in a shared server environment. Functionally, this download seems complete at this stage.

    Thanks for looking at this and for your response.

    Kind regards,

    Gary

    557 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.