Skip to main content
Ninox-Website
Ninox-Documentation
How to enable Javascript
Sign Up
Log in
Learn & Share
Get help
Webinars
All topics
Contact
Privacy
Overview
Profile
Sean
Sean
1711
56
0
Joined: Tue Jul 31 23:45:13 UTC 2018
Follow
Coding Dart/Flutter in my spare time
My Posts
Latest Posts
Re: Need help with my JS/HTML Kanban Board
Hi @MP I got the drag and drop to work through trial and error elimination. I changed a little bit of the CSS just for clarity in my testing. I'm not sure about the adding part and don't know when I…
Attachment
Sean
Sean
yesterday
Get help
Reported - view
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
4 wk 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
1 mth 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
1 mth 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
2 mths ago
Get help
Reported - view
Re: Mac app update to 3.11
I'm still using macOS version 3.9.6
Sean
Sean
2 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
2 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
3 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 You're welcome. I'm glad it worked.
Sean
Sean
3 mths ago
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 Try the writeText button in the Clipboard API Test formula.
Attachment
Sean
Sean
3 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
3 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
3 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
3 mths ago
1
Get help
Reported - view
Re: Copy to Clibboard button
@我是我的我 I will look at it tonight.
Sean
Sean
3 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
3 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
3 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
3 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
3 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
3 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
3 mths ago
Learn & 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
4 mths ago
Get help
Reported - view
Re: How to Iteratively Add Items to a New Array
https://forum.ninox.com/t/h7hstxz#x2hstnq
Sean
Sean
4 mths ago
1
Learn & 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
4 mths 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
4 mths ago
2
Get help
Reported - view
Re: There must be a better way...
@Alain Fontaine , @Fred Thanks for posting your example databases.
Sean
Sean
4 mths ago
Get help
Reported - view
1
2
3
4
5
69
Ninox-Website
Ninox-Documentation
Overview
Learn & Share
Get help
Webinars
View all topics