Required field validation on Sign Up - azure-ad-b2c

We are using Custom SignUpSignIn Policy, and on our signUp form we have textbox, dropdown and a checkbox which are all required fields.
When a user does not fill in the necessary details,
for the text box, it is highlighted with red line around the text box and as we enter the text box, it says "This information is required." in red color text on top of the text box which is good.
But for the Dropdown and checkbox, a simple message "Missing required element [Country]" is displayed at the top of the form(not even red color text) and no highlighting on the field. User may not even notice that.
How can I achieve the same behavior as the textbox for dropdown and checkbox?
Thanks,

Wait for the ability to use JavaScript via the "shared domain" feature.
UserVoice item reference.
...as a result of ‘shared domains’ this means that you will be able to start using your tenant as a subdomain of a ‘shared domain’, in the form of {tenant name}.b2clogin.com where b2clogin.com is the ‘shared domain’. You will be able to run Javascript when you are running on this shared domain...
I just want a way for all the required field validation messages to display in Red ...
That you can achieve with custom CSS which you can do today.
But for the Dropdown and checkbox, ... , is displayed at the top of the form
Moving stuff around would require JavaScript.

Related

How to pass radio button values and checkbox values through a URL using Powerforms?

I am having trouble pre filling information from a current application onto a PowerForm. I have managed to transfer almost all of the data from the application fields onto specified fields on the PowerForm template so the applicant can just add sensitive information and sign the form.
The issue is I need to pre fill text boxes with the values of check boxes and radio button from the online application.
I am aware you can do this through the URL, but i do not know the recipient's identity in advance. Does that matter?
Someone mentioned to do the following
powerformURl&role_custometag=Value
but what do i set the value for the radio buttons and check boxes.
I do have custom tags on my template and I want the values from the check boxes and radio buttons to pre fill in those custom tags.
if this is confusing i do apologize but I can clarify some more if needed
You can pass parameters on the URL of a Powerform to update various fields in DocuSign.
The complete list of options for these is available here:
https://support.docusign.com/en/guides/ndse-user-guide-populate-custom-document-fields-in-a-web-powerform
For your case, you need to update the value of a tag which is called EnvelopeField in the URL, so if you do this:
EnvelopeField_<EnvelopeFieldName>=<value> as part of the URL, where EnvelopeFieldName is the name of your specific checkbox, you should be able to do that (value will be true/false)

Can I pass a radio button value and checkbox values through a URL using Powerforms in Docusign?

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

Partial refresh after OK in name picker control

how can I establish a partial refresh after I select the OK button in the xe:namePicker control ?
I only have the for property which does copy the selected value in the assigned field.
The onchange event for that field does not always seem to recognize the value change.
Instead of an Edit Box, I would recommend using Dojo Name Text Box, as covered here. It avoids the need for validation - with an Edit Box even though you provide a Name Picker, users can still enter values manually and can edit them after selecting from the name Picker. The Dojo Name Text Box and Dojo List Text Box are the only controls I use with pickers and almost always use onChange with them, without issue.
One caveat is that the Events tab defaults to onClick. On more than one occasion I've coded onClick instead of onChange, but it's easily identifiable and rectifiable.

Toggle a custom icon on an Action Button on Lotus Notes form

When editing the action button properties, it allows an #if statement to flip/flop two choices (lock/unlock). i.e. #If(enlock=1;"Unlock";"Lock") for the "Label" of the action button.
At the bottom of the Action properties, icons can be None, Notes, or Custom. When I select Custom, I want the #if to use either the Locked/Unlocked Notes icons. (actn084.gif and actn085.gif, respectively) Or numbers #62 (locked) and #(I don't know/can't find, the # for the unlock icon).
I've tried formula with the icon number, like in a view, "display as icons" for view column. Using an #if, I've tried the gif on local and server replica's and it didn't give any results.
Please see the example image below.
Image example: http://i.stack.imgur.com/UBac3.png
You have to add actn084.gif and actn085.gif to Resources/Images.
Then, you can use a formula
#If(enlock=1;"actn085.gif";"actn084.gif")
for calculating icon.
As an alternative, you could create two buttons and hide-when them depending on field enlock. You could assign label and icon direct to buttons without formula then.
The hide formula would be enlock=1 for first button and enlock!=1 for the second. In both buttons you would have to add #Command([RefreshHideFormulas]); at the end of your action formula to refresh the action buttons (or Call uiDoc.RefreshHideFormulas for LotusScript action code).

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

Resources