Skip to main content
Privacy
Contact
How to enable Javascript
Sign Up
Log in
Welcome to the Ninox community
Search all topics or
ask a question
Learn and Share
Get help
Service status
Documentation
Setup
Databases
Automation
My account
Administration
Webinars
Overview
Profile
Sean
Sean
1760
79
0
Joined: Tue Jul 31 23:45:13 UTC 2018
Follow
Coding Dart/Flutter in my spare time
My Posts
Latest Posts
Re: How to enforce unique values in text field?
@erik I have attached a simple demonstration DB. You can replace the field isDisplayed with a user role. The Formula field Toggle Duplicate Icon can't be hidden with Display field only,…
Attachment
Sean
Sean
9 mths ago
1
Get help
Reported - view
Re: Expression to extract text in a string to the right after a dash character
This one-liner works with the example given. extractx(YourTextField, "(?:""|“)(\w+)(?:""|”)", "$1")
Sean
Sean
9 mths ago
1
Get help
Reported - view
Re: Copy to Clibboard button
@Silvia You put the code in a Formula field. As far as I know, the code only works in a Form view and not in the Table view.
Sean
Sean
10 mths ago
Get help
Reported - view
Re: Dropdown menu on database icon not working
You’re not crazy. I installed the latest Mac app version on my old MacBook and see the same thing. I have an older version on my new MacBook and the menu still works normally.
Sean
Sean
10 mths ago
Get help
Reported - view
Re: Mac app update to 3.11
I'm still using macOS version 3.9.6
Sean
Sean
11 mths ago
1
Get help
Reported - view
Re: Copy to Clibboard button
@manuel_cha2 Hello, it took a little longer than 5 minutes, but I got there
. Since the source, MSG, is HTML, I put it inside the string function, string(MSG), and that worked.…
Attachment
Sean
Sean
11 mths ago
1
Get help
Reported - view
Re: Copy to Clibboard button
I was very surprised when I first saw that this thread had a "pinned" and "accepted" answer. I haven't seen this anywhere else on the forum. It is more surprising given that execCommand() was…
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 You're welcome. I'm glad it worked.
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 Try the writeText button in the Clipboard API Test formula.
Attachment
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 I don't have an Android phone, sorry. On my Mac, everything that is in the Text field is copied to the clipboard. Where is it getting cut off on the Android phones?
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 I think it is more likely that there is another white space character like a tab that is causing the problem. Can you upload another database?
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 The code needs to be placed in a Formula field. I don't think JavaScript can be run from a Ninox Button element. I attached a file with two buttons that run the code.…
Attachment
Sean
Sean
11 mths ago
1
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 I will look at it tonight.
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 This worked for me. Let me know if it works for you. html(" <button onclick='copyToClipboard(""" + replace(YourFieldToBeCopied, " ", "\n") + """)'>Copy to clipboard</button> <script> function…
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
I should have asked whether you are using the original version or the Ninext version. I can't get anything after the first line break to copy.
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@manuel_cha2 Try replacing textarea with pre. I can’t test it right now.
Sean
Sean
11 mths ago
Get help
Reported - view
Re: index with regex
@Jacques TUR You can also make it a one-liner... index("ABC123", extractx("ABC123", "\d+"))
Sean
Sean
11 mths ago
Get help
Reported - view
Re: index with regex
You can use the extractx function in the index function. You can see an example of this here... https://forum.ninox.com/t/35hrtfc/extractx-g-flag-workaround
Sean
Sean
11 mths ago
Get help
Reported - view
Re: Interesting HTML formatting
You can add a class to <thead> and then style the header by that class. I moved the color code out of the thead,tfoot style and into the class style and got an interesting result on the second data…
Attachment
Sean
Sean
1 yr ago
Learn and Share
Reported - view
Re: How to append values to an array
@Alain Fontaine said: The only known way, as far as I know, to add something to an array, and get an *array* as the result, is to use the "array()" function.…
Sean
Sean
1 yr ago
Get help
Reported - view
Re: How to Iteratively Add Items to a New Array
https://forum.ninox.com/t/h7hstxz#x2hstnq
Sean
Sean
1 yr ago
1
Learn and Share
Reported - view
Re: What does this mean?
Ninox will need to update their code. https://developer.apple.com/documentation/eventkit/ekeventstore/1507547-requestaccesstoentitytype
Sean
Sean
1 yr ago
1
Get help
Reported - view
Re: Help with multiline text field inside an html() function
You can use this formula to do that - html(replacex(MultilineField, "\n", "g", "<br>"))
Sean
Sean
1 yr ago
2
Get help
Reported - view
Re: There must be a better way...
@Alain Fontaine , @Fred Thanks for posting your example databases.
Sean
Sean
1 yr ago
Get help
Reported - view
Re: There must be a better way...
@Alain Fontaine I am very interested in this. Would you mind posting your test db?
Sean
Sean
1 yr ago
Get help
Reported - view
1
2
3
4
5
71
Ninox-Website
Overview
Learn and Share
Get help
Service status
Documentation
Setup
Installed apps
Public Cloud
Private Cloud
On-Premises
Databases
Tables
Table relationships
Fields and elements
Pages
Views
Import and export
Modules
Printing
Templates
Use cases
Automation
Scripting
Functions
API
My account
Subscriptions
Administration
Manage workspaces
Manage collaborators
Access permissions
Usage overview
Process monitor
View all topics