1 / 33

A2J Author ® Macros, Functions & Exiting

A2J Author ® Macros, Functions & Exiting. Dina C. Nikitaides Program Coordinator Center for Access to Justice & Technology , Chicago-Kent College of Law. A2J Author ®. Variable Macros. Variable Macros. Agenda What is a Variable Macro? Where to use Variable Macros

jered
Download Presentation

A2J Author ® Macros, Functions & Exiting

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A2J Author®Macros, Functions & Exiting Dina C. Nikitaides Program Coordinator Center for Access to Justice & Technology, Chicago-Kent College of Law

  2. A2J Author® • Variable Macros

  3. Variable Macros Agenda What is a Variable Macro? Where to use Variable Macros Interview Customization with Variable Macros

  4. What is a Variable Macro? Definition A variable macro calls the value of the variable Format The macro format is: %%[Variable name TE]%%

  5. Where to use Variable Macros • A variable macro can be used to display the value of a variable to the end-user in: • Text of a question • Text of a Learn More answer

  6. Where to use Variable Macros • A variable macro can be used to display the value of a variable to the end-user in: • Radio button & Checkbox labels • Other field labels (i.e. in front of drop down menu)

  7. Where to use Variable Macros • A variable macro can be used to display the value of a variable to the end-user in: • Step signposts

  8. Wherenotto use Variable Macros ^ • A variable macro cannot be used to display the value of a variable in: • Learn More question • Unknown number of variables collected in a loop (i.e. names of children collected in a loop)

  9. Interview Customization with Variable Macros • You can do more than simply use a variable macro to insert the end-users name in to the interview! • In a loop for personal information in a loop, collect the name first and follow up with “Enter Jane’s address” – if the end-user is entering multiple people it will help them remember who they are on • Display information collected in a loop to the end-user in the Learn More, i.e. list of assets so they know what was entered • Instead of using “child/children”, “asset(s)”, “is/are”, etc. in the interview, determine which word should be used, store that in a variable and call it out in text with a macro • Use macros in multiple choice question for the end-user to make a selection from, for example end-user enters two people as agents, then ask them to pick which one is the primary agent in a MC question.

  10. Helpful Resources • Find more information on Variable Macros • The A2J Authoring Guide: Chapter 5: Variables Tab • Pg. 46 – Question Text Macro • Pg. 47 – Macro to Set Variable’s Value • Pg. 47-48 – Macro to Set a Label • Variable Macro Training Module • A2J Guided Interview demonstrating the different ways to use macros • Included in the A2J Author Starter Kit or download from a2jauthor.org • Download the A2J Authoring Guide & Starter Kit • from www.a2jauthor.org.

  11. A2J Author® • Functions

  12. Functions Agenda Age Date Today HasAnswered Ordinal

  13. What are Functions? Definition Built in actions performed to alter data collected. Format The function format is: FUNCTION([Variable name TE])

  14. Where to use Functions • Use functions in two places: • Question Text • Conditional Statements

  15. Function: AGE AGE: Converts a date to age in years. Example: A form might require the date of birth and the statute might limit use of the form to people over the age of 18 years. Collect only the date of birth and convert it into years using the AGE function instead of asking the user to enter both. Syntax: AGE([Client birth date DA])

  16. Function: DATE DATE: Converts days into mm/dd/yy date. Example: Determine a deadline for an answer 30 days from notice date. Syntax: DATE([Notice date DA]+30)

  17. Function: TODAY TODAY: Returns today’s date. Example: Determine if a user is within a 90 day statute of limitations. Syntax: (TODAY - 90)

  18. Function: ORDINAL ORDINAL: Returns the ordinal form of number. Example: In an interview with a repeat loop where the user enters “3” as the number of assets they have first, use ORDINAL function to ask the follow up questions about the “first”, “second” and “third” assets. Syntax: ORDINAL(AssetCount)

  19. Function: HASANSWERED HASANSWERED: Returns a true/false value if a variable has a value. Example: Before condensing three-part name (first, middle & last) into one “full name”, test to determine whether a user has entered a middle name. Syntax: HASANSWERED([Client middle name TE])

  20. Syntax Reminders • The function names “DOLLAR”, “ORDINAL”, “SUM”, etc. are applied to the variable with (parentheses) • Example: DOLLAR([Client total asset value NU]) • Variable names with spaces must be wrapped in [brackets] • Example: [Client total asset value NU] • To show the value of a variable or function applied to the variable in question text, wrap the phrase in %%double percentage signs%% • Example: %%DOLLAR([Client total asset value NU])%%

  21. A2J Author®New User Training • Exiting

  22. Buttons with Functions & Exiting Agenda Success – Process Form Exit-User does not qualify Exit to Save Exit-Save Incomplete Form Exit-Resume Interview

  23. Button: Success – Process Form The “[Success - Process Form]” button function takes a users to LHI to get the completed document. Use this button function only once in an interview.

  24. Button: Exit-User Does Not Qualify The “[Exit - User does not qualify]” button function closes the A2J Guided Interview.

  25. Button: Exit-User Does Not Qualify The “[Exit - User does not qualify]” function can take users to a website upon exiting the interview.

  26. Exit To Save Give users the option to exit an incomplete interview at any time and save their answers on LHI.

  27. Exit To Save Create one question that is not linked to any other questions in the interview.

  28. Exit To Save Identify the single question as the “Exit” question below the question list. That question will then appear when the “Exit” button is selected by users.

  29. Button: Exit – Save Incomplete Form The “[Exit – Save Incomplete Form]” button function takes users to LHI to save answers.

  30. Button: Exit – Resume Interview The “[Exit – Resume Interview]” button function takes users back to the question they were on when they clicked “Exit” from the top grey menu bar.

  31. Button: Exit – Resume Interview “[Exit – Resume Interview]” and [Back to prior question] sound like they do the same thing, but they are NOT interchangeable. Once a user clicks “Exit” from the top grey menu bar, the exit process is triggered removing the user from the main interview and [Back to prior question] will not work.

  32. Additional Resources • A2J Authoring Guide • Chapter 7 Creating Questions – Pgs. 105-108 Setting a Question’s Destination (with buttons) • Online A2J Authoring Guide on www.a2jauthor.org • Interview Questions – Tutorials – Creating Questions – Buttons • Trainings & Presentations on www.a2jauthor.org • Recorded trainings & presentations of various topics

  33. Questions? Feedback? Dina C. Nikitaides Program Coordinator Center for Access to Justice & Technology, Chicago-Kent College of Law dnikitaides@kentlaw.edu 312-906-5331

More Related