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

Add more fields dynamically to dialog

Contributor ,
Aug 03, 2010 Aug 03, 2010

Is it possible in an extension to have a button for the user to add another row of controls? Here's the scenario: A <video> tag can have any number of SOURCE tags. I'd like to add a [+] button so users can add another SOURCE tag row.

However, I read that you can't use the document.write() function in an extension. So how do you achieve this effect? Thanks.

TOPICS
Extensions
644
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
Adobe Employee ,
Aug 08, 2010 Aug 08, 2010
LATEST

Is it possible in an extension to have a button for the user to add another row of controls? Here's the scenario: A <video> tag can have any number of SOURCE tags. I'd like to add a [+] button so users can add another SOURCE tag row.

However, I read that you can't use the document.write() function in an extension. So how do you achieve this effect? Thanks.

Take a look at the Recordset dialog. You can add as many fields as you like, and they get listed in a multiline text box (i.e. <textarea>).

HTH,

Randy

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