Required Fields - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Required Fields

Required Fields 5 months 1 day ago #13896

  • markanson
  • markanson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi! I'm from ServiceTitan!
Is there any way to make a field required before being able to save the document?

Please Log in or Create an account to join the conversation.

Last edit: by markanson.

Required Fields 5 months 8 hours ago #13903

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
you can check if a field is required with the following method :
/**
         * get annotation field flag in acroForm.<br/>
         * this method require premium license
         * @return flag&1 : read-only<br/>
         * flag&2 : is required<br/>
         * flag&4 : no export.
         */
        final public int GetFieldFlag()
        {
            return Page.getAnnotFieldFlag(page.hand, hand);
        }

The set method is not supported.

Please Log in or Create an account to join the conversation.

Last edit: by Davide.

Required Fields 4 months 4 weeks ago #13909

  • markanson
  • markanson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thank you Davide,

We're not looking to check if a field is required, we're looking to make it so that a field that is set up as required (in acrobat for example) also has that same requirement respected by Radaee PDF.

Our goal is that our users are not able to save a pdf without having entered something into that required field.

Thanks,

Please Log in or Create an account to join the conversation.

Required Fields 4 months 3 weeks ago #13912

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
if a filed is flaged as required with Acrobat you can read the status using GetFieldFlag(), but you can't set required flag using radaee SDK.

You can check the status of the annots with required flag (whether is filled by the user or not) before saving the document.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum