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

Add more fields dynamically to dialog

Contributor ,
Aug 03, 2010 Aug 03, 2010

Copy link to clipboard

Copied

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

Views

641
Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Report

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