I am trying to redirect a Kentico form based on whether a checkbox is selected. I tried adding a macro in the URL direct property using the checkbox id generated by Kentico and the element name but it doesn't seem to work.
Anyone have any examples?
Thanks,
What macro are you trying to use? I just tested (with a textbox field not a checkbox field) and it worked:
/home?{%emailinput.value != "" ? "notEmpty" : "empty"%}
Assuming you have a bit field "mycheck" and your form called "mytestform"
If you put the following macro in Forms\mytestform\General\After the form is submitted-> Redirect to URL:
/{%CMSContext.Current.SiteObjects.Forms.mytestform.Items.LastItem.mycheck? "mytest2/" : "mytest1/" #%}
Based on mycheck value a user will either redirected to /mytest2/ or /mytest1/
Related
Can I add a link/url in field help of a custom field in NetSuite.
Yes. Make sure you wrap the text you set for the custom field's help display setting in html tags.
<html>Custom item field help with a link. Web site</html>
As mentioned in the help for Setting Display Options for Custom Fields:
In the Help field, enter a brief description of the kind of
information you want entered in the field.
The help is available when the name of the field is clicked.
You can enter HTML in the field. Be sure to begin your markup source
with <html> and end with </html>.
I have a screen where a user can edit a form, the form is pulling from a sharepoint list. I would like to link the value of a lookup field from this form to a new view pulling from a different sharepoint list.
Ideally the value Vendor 1 would link to a DetailsScreen for the specific vendor. The issue is I am unable to add the necessary OnSelect function to the DataCard to achieve this and even the default Navigate Function does nothing when attached to the DataCardValue. The default Navigate function does work in other elements, for example in the arrow to the right of Vendor 1, which I added as a test. I attempted the solution here, but was unsuccessful. What am I doing wrong?
I just tried with Textbox, Dropdownbox and combobox and for all of them onselect worked fine for me
Navigate(Screen2,ScreenTransition.None,{ FirstName: "CRM365" , Argument2: "SomeText" })
I would say simple try using arrow button and try navigating and then go step by step
Can I pass a radio button value and checkbox values through a URL using Powerforms in DocuSign?
These values would come directly from an application, and I wish to have them auto populate along with the other information from my website when the user clicks to sign I have everything transferring over except the radio buttons and checkbox values.
I have text fields opened where the value should be displayed, and I read you could have those values passed through the URL and shown in the custom fields...not sure how though.
I am also aware you can use the API, but you cannot combine API with the Powerform.
thanks in advance for the help
General documentation on populating fields through the PowerForm URL is available here: https://support.docusign.com/guides/ndse-user-guide-populate-custom-document-fields-in-a-web-powerform
Checkboxes can be preselected by setting their value to 'true'. For Radio buttons, it's GroupName=ValueName
so if I have a group of radio buttons labeled "Color" my URL might be https://demo.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=00000000-0000-0000-0000-000000000000&Signer 1_UserName=Example User&Signer 1_Email=user#example.com&CheckBox=true&Color=Green
Is it possible to pass values from a link to a form? I have a page with four different links and they all supposed to redirect to a form. Each on of them should have a different value and based on that show a different(in content) dropdown.? any ideas?
I haven't tested it but you should just be able to put a snippet call in the form where you want the value to be placed that is dynamic to the form. Then in the snippet just use the $_GET variable to grab the values from the url. From there you can do your logic and return the proper content for the form.
I am new to sharepoint 2007. I have a following requirement.
1) I would to create a custom list for employee where they can select the item and fill-out the form and submit.
Example : List --> Hard Disk --> Click --> Create new list -->
List has following fields 1) EmpID 2) Customer name (Text) , 3) Order Date, 4) Qty 5) Price
Once user submit the list then I would like to disable the EMPID field and allow same user to edit the other fields if required.
How can I disable the text field (Empid) in the Sharepoint 2007 ? I would appreciate any other alternate or better idea.
Thanks,
Regards
Vick
I would use jQuery for this purpose. Here is an example that describes how to hide a text field on a SharePoint form. Change the .hide() to .attr('disabled','disabled') and this will disable the text field.
If you need help with deploying jQuery, see this question.
I am not sure its a better idea or not, but for that i used to do for this common scenario
that
fist identify the textbox id in html source (through web browser view source) after that i wrote javascript function to disable textboxes i.e. EMPID or we can do through style sheet and apply style using javascript..
You can create multiple content types for the same list. Have the user fill out the content type that contains the EmpID field (put a link in the LeftNav that sends them to NewItem.aspx with the proper ContentTypeId). Make the default content type the one without the EmpID, so when they go back in and edit they won't see that EmpID field.
The downside to this is that they'll see both content types in the New button dropdown. You can name them in a way that makes sense (New Hard Disk Order, Edit Hard Disk Order)