Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEMO- Form Field properties JSON #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mutumbakato
Copy link
Collaborator

@mutumbakato mutumbakato commented Sep 29, 2024

Details

This PR demonstrates the custom code required to get form field properties as Instant JSON. The date format can be determined from the formats under additionalActions peoperty. There you'll see the onInput format, which is the expected input format and onFormat, which is the displayed format. You can use the onInput format to update your input.

NOTE: This PR is for demonstration purpose only and should not be mereged.

@@ -453,6 +456,37 @@ + (id)getFormFieldValueForFieldWithFullyQualifiedName:(NSString *)fullyQualified
return formFieldValue;
}

+(id) getFormFieldPropertiesWithFullyQualifiedName:(NSString *) fullyQualifiedName forViewControlelr: (PSPDFViewController *) pdfViewController {
Copy link
Collaborator Author

@mutumbakato mutumbakato Sep 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get form Fiel properties by fullyQualifiedName as JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant