Karlo Huezo

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Sync timers across pages #10689

    Hello,

    As you noted, timers will only run for the page they are added to, and only after being started. Once you leave that page the timer stops and will need another behavior containing a “Start/Stop” to begin again.

    This being said, what I suggest is the following:
    1) Add a helper field to your form. This can be on any page and is intended to be hidden. Set the default value to “0”.
    2) Add a timer to each page on your form. Be sure to set the properties so that timer loops.
    3) On “Page is Opened”, add a behavior to start the timer. This will be done for each timer on each page (Page 1 – timer 1 start, Page 2 – timer 2 start…)
    4) On each timer, place a “Set Field” command in the “Timer makes interval step” behavior. The Set Field will be configured to modify the hidden helper field.
    Set the value to “Formula” and configure the formula for “Hidden Helper Field + 1”
    5) On the hidden helper field, add to the “Input changes field data” behavior a simple branch where the value is “Hidden Helper Field – is equal to – (your designated number of seconds). On the True path, set your “Show Message”, then add another Set Field that sets the hidden helper back to 0.

    This will increment the hidden helper field +1 for each second any one of the timer steps up. Once the hidden helper field reaches your designated time, it will display the message and reset.

    If you need further assistance with this, please submit a support ticket.

    Thank you!

    Karlo

    in reply to: Loading an image while a form is running #10519

    Hello,

    The image does need to be hosted in a location accessible to the PerfectForms server (OnPremise) or online.

    A quick and easy way to do this within PerfectForms is to make a simple form containing a file attachment object (or multiple objects) and a submit button. Open an instance of that form and add your image(s). You can right click and copy the source URL of each attachment and keep those aside in a notepad. Submit that instance. You can now use those URLs in your other forms as picture source URLs. Another option is to use the Set Property >> source attachment, if you’re looking to display an image as it’s appended to the same form. You will want to account for the space that the image would potentially use, though. I also recommend hiding the picture object by default and using a set state to reveal it once the file attachment object has a value in it.

    I hope this helps!

    Thanks,

    Karlo

    in reply to: Behavior based on time #10517

    Hello,

    This can be accomplished with the use of simple branches and date related functions. For instance, you may capture the current date when your form is submitted for the first time. Using a set Field with the “Date Add” function, you can set a (hidden) field with a future date, say 30 days after first submit date. On form is opened, you can add a simple branch that checks for that date, and if it matches, it will run your behavior containing a Set Next Stage and submit. Note: these actions cannot happen automatically in the background. They would require a user to open the instance.

    More advanced (automation) functionality may rely on a web service using our endpoints to access and update the instance in the background.

    Thanks,

    Karlo

    in reply to: Next Page, Scroll to Top? #10514

    Hello Mike,

    Try using the “Show” command. This will set the focus towards a specified object. Set the target to the top field in your form page, and place the behavior on the “page is opened”.

    Thanks,

    Karlo

    in reply to: find instance ID #10046

    Hello!

    The instance ID or number would need to have been set within a field in the form for you to view it. This would at least allow that number to display in the Data History of the instance.

    For easy reference within the instance list, use your instance ID or number in a formula applied to your instance name. This is modified in the Form properties. I recommend setting the instance name to the name or direct reference of the submitter/subject + Instance Number. This should help in identifying those instances.

    For more information, refer to the following:

    Difference between instance number and ID

    Form Instance Name

    in reply to: change position of an object when event fires!! #10044

    Hello,

    To change the position of an object, use the “Set Property” command. This should give you the option to modify the left and top position, along with size, color, and other basic properties. More can be read here:

    Set Properties

    Thanks!

    in reply to: Dynamic layout changes #9967

    Hello,

    To accomplish this, you will want to use the “Set Property” command.

    /Documentation/manual/html/index.html?fl_set_property.htm

    This will allow you to specify things like object location, color and other properties as triggered by behaviors in the form. Alternatively, you can use the “Set State” command to modify visibility and accessibility.

    /Documentation/manual/html/index.html?fl_set_state.htm

    An example of use here would be to hide specific fields in your form by default, then use “Set State” to display them when a specified field contains data. You can then use the “Set Property” to bring the visible field into attention by moving it closer to the field that was recently edited.

    Thanks,

    Karlo

    in reply to: Pulling data from Google Maps or MapQuest into a form? #9964

    Hello,

    There may be a few different ways to do this, but they would require use of the Google API, or the ability to receive JavaScript calls.

    The first example, you may want to play with inserting the map directly into the form. Using a “Text” field, select the “HTML” box in your properties to allow you to insert code into the text value. This code would reference the map you would like to insert. You may need to adjust it for proper fitment. Now, utilizing their API, you may be able to set up communications between the form and the map itself. Please refer to their documentation:
    //developers.google.com/maps/

    The other option would be to embed both the form and the map in a web page. Utilizing our JavaScript Calling ability, we can insert values produced by the map into fields within the form.

    /Documentation/manual/html/index.html?fl_call_javascript_properties.htm

    /Documentation/manual/html/index.html?fl_passing_data_from_a_web_page_i.htm

    Either way may take some development, but I hope this leads you in the right path.

    Thanks!

    Karlo

    in reply to: Notification Email – Will not insert field #9962

    Hello!

    Can you tell me if the subject has been copy/pasted from another notification? If this is the case, please remove the field references, then insert them again by selecting the field directly into the subject line. The pasting may have disconnected a reference to the field that is necessary for it to work properly. You can paste text into the notification subject or text body, but always manually insert the fields to ensure accuracy.

    Thanks,

    Karlo

    in reply to: Formatting time win AM/PM #9838

    Hello,

    The UTIL current time strictly returns 24-hour time. An easy way to convert this would be to use a Time Input field as your target field. A time input field is configured for 24 hour by default, but you can uncheck that option for 12 hour time. If you are using a “Set Field” command, have it set your Time Input field to “Util – Current time”. So long as the Time Input is configured for 12 hour, it will properly convert it to display AM and PM for you.

    I hope this answers your questions.

    Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
Do NOT follow this link or you will be banned from the site!