Repeatable Form elements - forms

I need to allow the users repeat some of the form fields(or form groups) in the survey forms. There should be a + or - button next to the field that if the user clicks on +, then a new field is created.
Example: https://www.rhyzz.com/repeatable-fields.html
I would be surprised to know if Qualtrics doesn't have this feature.
I google for this but no success.

You can't create new fields (choices, answers, variables, etc.) on the fly in Qualtrics. A field has to be defined in the survey for it be be saved in the response data.
You could write a JavaScript to show and hide fields to give the appearance of adding and removing fields, but you would have to define the maximum number of fields in the survey beforehand.

Related

Cannot update textbox on Access form

I have a form frm_Manage_Demand with two subforms: frm_Manage_Demand_Sub and frm_Manage_Demand_Bottom_Sub. I use the subforms to display the data from tbl_Manage_Demand. The reason I use two subforms is because there are two many fields to display on the screen in one form.
The need to allow the user to update the last two fields on the form plus an unbound textbox that is populated when the form is loaded.
I am unable to get the form to allow a user to enter data in the two fields plus the unbound textbox. All fields are set to Enabled = Yes and Locked = No. The main form has no record source. It attributes for Allow Edit, Allow Additions, Allow Deletions are all set to Yes.
The record source for the two subforms is tbl_Manage_Demand.
I created a new test form based on the tbl_Manage_Demand and I can update all fields just fine.
Any hints to solve my problem is sincerely appreciated.
I found that an unknown section of the code turned the control AllowEdits to No. So after the frm_Manage_Bottom_Sub form loaded I changed the control using Forms![frm_Manage_Demand]![frm_Manage_Demand_Bottom_Sub].Form.AllowEdits = True

How do we POST custom fields from multiple categories in Workfront

I have two custom forms A1,A2,A3 and fields a1,a2,a3 in the forms respectively. I want to create a new project with custom fields from the forms A1, A2. How should we include multiple categoryID in the POST URL
/attask/api/v10.0/PROJ?fields=parameterValues&name=XXX&DE:a1=hello&DE:a2=hello1&categoryID=<A1/A2 category ID - How should i fill it.>
I tried adding this paramter but no luck categoryIDs=5d10971f0022b132ec67f6fb6c60b3a4,5d07244000060f86c04b49527f1
I got the following error "message": "APIModel V10_0 does not support field categoryIDs (Project)"
If you attempt to set a custom field value on an object that does not yet have that field associated to it (no form on the object that contains the field), Workfront will automatically attach an appropriate form. If those forms are the only ones that utilize your fields, you should be able to simply set the field values and be done with it.
However, if you wish to attach specific custom forms without filling out the fields, or if you have a field associated with multiple forms and you want to ensure a specific form is attached, you must first attach the form(s) in one call and then update the fields in another.
To attach a custom form,
PUT <Workfront URL.../<objectID?updates={objectCategories:[{categoryID:`"<custom form ID>`",categoryOrder:<order of form, starting with 0>,objCode:`"CTGY`"}]}
Please note that this will remove any forms not explicitly specified in this call (it does not append) so you'll need to capture any existing forms and re-apply them.
Below API call worked
POST <Workfront URL.../<object>?updates={objectCategories:[{categoryID:`"<custom form ID1>`",categoryOrder:<order of form, starting with 0>,objCode:`"CTGY`"},{categoryID:`"<custom form ID2>`",categoryOrder:<order of form, starting with 0>,objCode:`"CTGY`"}]],name:"`<object_name>`", DE:a1:"hello", DE:a2:"hello1"}

find if collection not exists in mongoDB

I have a case where i have 5 forms. And user have to fill 1st, 2nd, 3rd and 4th form and every form has it's different collection(table). And in 5th form, I am displaying some fields from 1st, 2nd, 3rd and 4th form by calling GET API.
Actually, I am showing the list of 5 forms to user. User can click on any form from first 4 forms and then fill it. When user clicks on 5th form then i am calling an api to get first 4 forms fields.
Now my question is: As i am calling api in 5th form to get data from first 4 forms. If a user fill only first form, and leave other forms and clicked on 5th form as only 1st form collection exists but 2nd, 3rd and 4th form collection is not exists. So, How to handle this situtation?
can your clearify more what you want to return if 2nd..4th form is empty ..
From my point of view, you are storing forms in array or object.
If you want check empty form in get api then implement checks like
if(arr[2]==" ")
or object sendond index is empty and so on for other form(index)
Or you want to implement in post API if any form is empty then keep in input field as required or check all form value while posting form.
The solution that comes in my mind is First you should not allow the user to fill next forms if he does not fill the previous forms, you can track this by js click function and you can also add the all data in the same collection but if you want to place it in different collections still its ok.
One thing that i want to ask is how do you track that the same user filled the previous forms ? if you are tracking it by id then its easy
just when you make a api call check that if the data exist with this user name in the previous table collection then show the data else display a message to fill the previous forms first

Cannot see records in form bounded to table in Access

I have a form and it's record source is a table. I created the form separately and added the control sources to the different fields in the form and also changed it's record source. I imported values from an excel sheet into the table and when I open the form, I do not see the tabe values being displayed in the form. Any idea what I should do to see the table records in the form?
In form design mode, check the form's DataEntry property. It sounds like yours is set to Yes, which hides existing records and only allows new entries. Change it to No and you will see the existing records.
Another possibility is that a filter is active and no records match that filter.
Use a form wizard to generate a working form based on your table. Then once you can see the data being displayed in the form, customise as needed.

ms access Add, Edit, Delete Items through an Access form

I'm not real familiar with inputting data through forms. Up until now I've just been handling the data from the table. However, now I have a table with two pieces of information:
Group ID
Each ID is in a group, not all IDs are represented in the table (ie there is another table with a complete list of IDs...many to one), and multiple IDs can be associated with the same group.
I want to make a form that allows the user to add a new ID/group row, edit an existing ID's "Group," and delete an existing Row. I want the user to see the changes he/she has made. I think there's a way to show a snapshot of the table as part of the form? How do I do all this?
Have you tried a continuous form? You can use a combo to display additional information for each control/field, if that is required.
EDIT re Comment
From your comments and original post, it seems that what may suit is a main form and subform. The subform can be set to prevent editing - it will display the existing groups. The main form will have your combos and buttons.
As to the various types of form, look at the Views Allowed property for the form, you will find:
Single Form (suitable for main form)
Continuous Form (suitable for subform)
Datasheet
Link one table (or query) to the main form and your second table (or query) to a sub form. Drag your sub form onto the main form. Tie the two forms together in properties (sub form) under link master fields and link child fields add the key ID.