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

Upload images question; limit file size

Explorer ,
Apr 14, 2021 Apr 14, 2021

Copy link to clipboard

Copied

Using

Thanks to this community, I created a button that lets the user upload an image into an image field:

 

this.getField("image").buttonImportIcon();

 

I also learned that it is not possible to "reset" the image field; I need to link the "reset" button to a blank image. (This is a major annoyance.)

 

My last question is: how do I ensure that the user does not upload a large (greater than 300 kb) image? I can't figure out the code for this.

 

Thanks.

 

 

TOPICS
PDF forms

Views

123

Translate

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
no replies

Have something to add?

Join the conversation