Surveys/Portal Forms - Quick Reference

Modified on Thu, 27 Nov at 4:59 PM

TABLE OF CONTENTS



Show/Hide Fields

Checkbox

  • Add a Checkbox and a field to appear dynamically
  • Set the Checkbox dropdown to Show/Hide
  • Put the ID of the dynamic field into the Field Ids panel for the Checkbox

Radio Buttons

  • Add a Radio Button, this example uses one with three items: 1, 2, 3
  • Set the Radio Button dropdown to Show/Hide
  • Add fields to show dynamically, this example uses three Special Text Fields, "You chose 1", "You chose 2", "You chose 3" 
  • Put the IDs of the dynamic fields into the Multi Ids panel of the Radio Button


Custom Fields

To add a custom field using the FieldId firstly hover over the field in any asset (e.g. User Migration) to see the FieldId:

Then add a new field to the survey:

  • Special Control: Text
  • Special Control Text: [Module-CustomForm-2684]

Note that shortened module names are supported.


Example:



Images

To add an image at the top of the survey:

  • Add the image as a resource: Administration -> Project Resources -> Add Resource
  • Make a note of the file name (in this example companylogo.png)
  • Administration -> <module> -> Surveys -> Settings -> Banner Area:
    <div style="text-align: center"><img src="[Project-Url-Resource-companylogo.png]" /></div><br>
  • It's also possible to have the banner image dynamically resize as the browser window is resized:
    <img src="[Project-Url-Resource-companylogo.png]" class="img-fluid">


To add an inline image as a field in a Survey:

  • Survey -> New Field


URLs (hyperlinks)

Displays a static URL.


Display FieldSettingExample
Special Control: Text (Parsed)Special Control Text: [URL]http://www.managementstudio.com
or
Visit the project page at <https://intranet/project> for more information


->User Migrations->Discovery (1). Any custom form can be utilisedlised.

Click New Field (2)

Enter the field label and select Hyperlink from the display as column (3)


NB If its set to read only it shows as a link, if it's not it shows as a text box for the end user to edit on the survey



Click Save Changes (5)


Add a list of applications to a User Survey

  • Administration -> User Migrations -> Surveys -> Display Fields
  • New Field -> Special Control -> Link-Applications

Tip: To exclude "Out of scope" apps from this list:

 


To rename the "Keep" column header:

  • Right click on the word keep and inspect the element to get its ID. It will look something like ‘survey-header-id-184-Keep’ 
  • Paste the ID into this java script and save it in the Custom JavaScript section of the survey. Note # at the start of the Id, this is required. $("#survey-header-id-184-Keep").html("Keep 123");

Text Colour or Style

Use CSS to change the style of all headers etc.


To change "h5" headers to red use CSS h5 {color: red;}

Output:



Blueprint Dropdowns

Display a Blueprint dropdown list. 

Full help: https://support.managementstudio.com/a/solutions/articles/14000109918#Blueprint-Dropdowns


Display FieldSettingExample
Special ControlBlueprintsn/a
Special Control Text[Text to appear above dropdown]Please select your department:
Special Control Args
FolderId: [BlueprintId];

ShowAs: ["Name" or "Path"];

OnChange: ["Move" or "Add"];

CanSelectNone: ["Yes" or "No"];

FolderId: 5; 
ShowAs: Name; 
OnChange: Add; 
CanSelectNone: Yes;



Further Support

If you require further support, please visit ManagementStudio's Service Desk to search the knowledge base or create a new support ticket.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article