Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Click the Finish button to save the work we have done up to this point.
  •  Click the  icon for the Employee Information form to continue editing.
  • Add a hidden text control beneath the panels named FullAddress that will be populated with the City or Town, State and Zip Code via a rule. Uncheck the Visible and Enabled properties. Click the Style tab on the Properties pane and make the width 95%. This hidden field will then be mapped for the W - 4 pdf.
  • takes full advantage of the cameras built into mobile devices. You can give the new employee an opportunity to attach a profile picture by adding the new enhanced Upload Control to your form below the address panelFullAddress hidden field. Users will see a prompt on mobile devices giving the user a choice to upload an  existing  image or take a photo with the device camera. You  

Image Added

You can specify the allowed file types to be uploaded by checking selections in the Restricted Content Types section on the Properties pane. For Example, check png if you only want to allow the upload of files with that extension.

This is the prompt that users will see on the iPhone or iPad.

Image Removed  

  

.   9. Click on the Rules button on the designer toolbar to access the Rules Editor. Click the icon then the icon to open the Rules validator screen. Give your rule a name. Copy/Paste the rule below into the rules canvas. Click the Control button in the designer toolbar to return to the form. Your rule will be saved.

...

Code Block
if (form.positionUpdated) {
  var x = _data.getParameter ("position.street_number");
  Street.value = _data.getParameter ("position.street_number") + ' ' + _data.getParameter ("position.route");
  City.value = _data.getParameter ("position.locality");
  State.value = _data.getParameter ("position.administrative_area_level_1");
  Zip.value = _data.getParameter ("position.postal_code");
}

20.

21. Add another hidden text control named FullAddress that will be populated with the City or Town, State and Zip Code via a rule. The hidden field will then be mapped for the W - 4 pdf. Here is an example of a rule that will do this:

Code Block
FullAddress.value = City.value + ' ' + State.value + ' ' + Zip.value;

...