[CLOSED] Update IndicatorText from client-side

  1. #1

    [CLOSED] Update IndicatorText from client-side

    Hello,

    Can anyone show me how to update a field's "IndicatorText" from client-side (javascript)

    Ideally something like this....


           form.getForm().findField(myFieldID).indicatorText = "my updated text";

    Thanks in advance.
    Last edited by fabricio.murta; Oct 23, 2016 at 8:17 AM.
  2. #2
    or probably something more like this...


    form.getForm().findField(myFieldID).setIndicatorText("my updated text");
  3. #3
    Hello @mrVan! And sorry for the long delay in replying your question! Sometimes it can happen a post is overlooked, so in that cases sending a "nudge" (a post back to bump the thread up) may help!

    But to get what you need you should do just:

    form.getForm().findField(myFieldID).setIndicator("my updated text");
    If your text field is a runat="server" one with ID="myFieldID", you can rather just:

    App.myFieldID.setIndicator("my updated text");
    Sorry again, and hope this helps!
    Fabrício Murta
    Developer & Support Expert
  4. #4
    no worries. and it was that simple. Thanks, it works. you can close thread.
  5. #5
    Thanks for the feedback and glad it helped you!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 9
    Last Post: Oct 16, 2012, 12:05 AM
  2. Replies: 4
    Last Post: Mar 19, 2010, 11:35 AM
  3. Replies: 2
    Last Post: Feb 16, 2010, 10:30 AM
  4. Replies: 0
    Last Post: Sep 17, 2009, 8:04 AM

Posting Permissions