Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

x button in Text Entry box when I preview it on an HTML 5 browser

Explorer ,
Oct 14, 2016 Oct 14, 2016

Dear all,

I use Captivate 9 (version 9.0.1.320) on Windows 7.

When I preview a project with text box entries on HTML 5 browser, a close button appears after entering my input (see the attached image).

That x button clears off my input. How can I get rid of that. It is probably worth mentioning that it doesn't matter whether or not I have the Retain Text check box ticked.

Thank you in advance,
Iasmi

397
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Oct 17, 2016 Oct 17, 2016

If don't want to see the X in preview you will either need to create a CSS file in the HTML templates directory and include the CSS file in the index.html or add the style to the index.hrml.

C:\Program Files\Adobe\Adobe Captivate 8 x64\HTML\index.html

Add:

<style>

::-ms-clear {

      display: none;

  }

</style>

Ad it just above the  open script tag <script>

Translate
People's Champ ,
Oct 14, 2016 Oct 14, 2016

If it's html5 you can add this to the CPLibraryAll.css  file:

::-ms-clear {

      display: none;

  }

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 17, 2016 Oct 17, 2016

Hi TLCMediaDesign,

I've added the suggested tags in the css file but I cannot see any difference, when previewing the project on a HTML 5 browser.

However, when I published the project and opened the html document the x button is not there, probably because it plays the project from my local folder.

Kind regards,
Iasmi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Oct 17, 2016 Oct 17, 2016

If don't want to see the X in preview you will either need to create a CSS file in the HTML templates directory and include the CSS file in the index.html or add the style to the index.hrml.

C:\Program Files\Adobe\Adobe Captivate 8 x64\HTML\index.html

Add:

<style>

::-ms-clear {

      display: none;

  }

</style>

Ad it just above the  open script tag <script>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 27, 2016 Oct 27, 2016
LATEST

That's correct - It now works when I open the index html.

Thanks a lot for your help TLCMediaDesign​

Kind regards,
Iasmi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources