Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
...
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.
Note |
---|
The image, video, trigger, table, upload , and pagebreak controls are not allowed in a custom control. You will see this message if you try to publish a section that contains any of these controls: "Sorry - the custom control contains a control that is not allowed in the custom palette." |
Publishing Controls with Rules
...
The assigned prefixes will show in the Form Outline. This is helpful when writing the rules for the second and third instances.
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 (C196a.value.length > 0) { C196a.value = 'sour'; } if (C198a.value.length > 0) { C198a.value ='sweet and sour'; } |
...