-
Where do you intend to use this? It looks like it would be for the field if only numbers were entered... In which case, in a rule on the field you wish to format, set the same field using this formula, probably with a condition that the field doesn't contain () or -. See attached sample - save the file locally, right click and select design.
-
Can you tell me where in the form to look for this?
-
As with the CSS question, this sort of modification won't be possible in an Office 365 environment.
-
With Office 365, this work around is not an option - we don't have access to the server files, I'm afraid.
-
So - this link will help you with your line break: https://docs.microsoft.com/en-us/archive/blogs/infopath/inserting-line-breaks-into-text-using-rules
As to a loop - no such luck without code. :)
-
If you can use the user profile service, you can set the account id and the display name fields in the people picker to set it. :)
-
Hmmmm. I mean.... maybe? Perhaps you could use translate to remove everything that isn't a number, then split it up and add in the parenthesis and the dash... but then, who knows if someone is going to add a country code or something. That might get a little tricky. Maybe have a field (number only) for country code (if needed) and another ...
-
Unfortunately, without using code, you'll need to use specific rules for this on your submit rules. So, you could have in your main data source an "error" field, and if a field is missing data, add to the error message field and display that on your form. I'm attaching a simple sample of what I'd do. Save it locally by right ...
-
So - is this issue only in modern browsers, like Edge & Chrome? Are you using On-Prem SharePoint or Office 365?
-
Unfortunately, that's just the way the list forms work, if I recall. In view mode, buttons don't show.