Skip to Content
avatar image
Former Member

Design studio- issue with set title in openPromptDialog

Dear community.

I have use "DS_1.openPromptDialog(300, 200);" open a new dialog,but now I want to change the can I change the title as I wanted?

53qxe.png (6.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 20, 2016 at 08:10 AM

    Hi Zhang,

    This is a standard field which is translated according to your language setting. If you are not happy with the standard text you can indeed try to override it using CSS. A selector could look like this:





    visibility: visible;

    content: "There you go";


    Make sure the span's id is correct when you test. I am not sure if it is recalculated.

    You can find some more styling directions here:

    CSS is a very wide topic.

    Kind regards


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Martin Pankraz

      I tried once again,when we use openPromptDialog to open a dialog,the id of span was rand,so We'd better use class to set css.That's my suggestion.