Versions Compared

Key

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

...

Next, you will see the Publish Control Template dialog where you can enter a name and description for this template, a category, and any number of comma or space-separated tags.  See the Manage Control Categories topic for instructions for adding or removing control template categories.

Image RemovedImage Added

Click Submit and you will see a confirmation page that once closed will refresh the page. If you used the drag & drop approach above, you should see the published control automatically added to your Custom pane.

...

For example, let's say you have a Section control named Section 67 Flavors which contains a text control named a. There is a rule attached to populate a with the text "sweet" when the form loads. You publish the control as read-only and carry the rule along with it. Then you create a new form and drag Section 67 Flavors into your new form three times. The Section control name of the of the first instance will not contain the prefix. However, the second and third instances will include the prefix. Now you can write a rule that will populate the control named a in the second and third instances using the assigned prefix.

Image RemovedImage Added

The assigned prefixes will show in the Form OutlineThis is helpful when writing the rules for the second and third instances.

Image RemovedImage Added

The rule shown populates the control named a in the second copy of the custom control with the word "sour" and the third copy with the text "sweet and sour" respectively whem the form loads. Notice the a controls in the second and third copies are referenced with the prefix in the rule.

Code Block
if(form.load)
{
a.value='sweet';
}
if (C196aC2a.value.length > 0) {
C196aC2a.value = 'sour';
}
if (C198aC3a.value.length > 0) {
C198aC3a.value ='sweet and sour';
}

Image RemovedImage Added

You can edit the Prefix property but

Frevvoproduct
 will not allow you to make it non-unique.

...

You can add control templates to the Custom pane by clicking the Search link found there. This will show the Search Control Templates dialog where you can search for the template you are looking for.

Image RemovedImage Added

This search dialog will show, by default, the first 10 templates ordered by the date when the control was published. You can then page through the templates by clicking Next or Previous.

...