# Ask Developers

**URL:** https://forums.knack.com/c/api-customization/ask-developers/25.md?page=1

[Latest](https://forums.knack.com/latest.md) · [Categories](https://forums.knack.com/categories.md) · [Tags](https://forums.knack.com/tags.md)

**Page:** 2

---

## [Showing different 'view' in page on mobile device](https://forums.knack.com/t/showing-different-view-in-page-on-mobile-device/18552)

<div class="topic-metadata">

**Author:** [@Richard13](https://forums.knack.com/u/Richard13)\
**Replies:** 2\
**Last updated:** [February 14, 2025, 5:45am UTC](https://forums.knack.com/t/showing-different-view-in-page-on-mobile-device/18552 "2025-02-14T05:45:49Z")

</div>

I’ve learned enough about Knack now (just about!) to create the look I would like to embed in a Squarespace webpage - and I can do this for either a pc browser or a mobile device. But what I don’t know is if it is poss…

---

## [How to eliminate comas between images](https://forums.knack.com/t/how-to-eliminate-comas-between-images/18684)

<div class="topic-metadata">

**Author:** [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Replies:** 4\
**Last updated:** [February 5, 2025, 9:18am UTC](https://forums.knack.com/t/how-to-eliminate-comas-between-images/18684 "2025-02-05T09:18:26Z")

</div>

Hi guys, this is a detail thing but nice to solve, albeit not easy. 2 times tried and failed over various years. Not even the AI can get it right! :wink: My field 422 is an image field inside a user object. (user pictur…

---

## [Erase Info Bar but keep Current user](https://forums.knack.com/t/erase-info-bar-but-keep-current-user/18656)

<div class="topic-metadata">

**Author:** [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Replies:** 4\
**Last updated:** [January 29, 2025, 9:10pm UTC](https://forums.knack.com/t/erase-info-bar-but-keep-current-user/18656 "2025-01-29T21:10:46Z")

</div>

A big fight happening with this one… :sweat\_smile: the code I had but in movil screen included a big space a the top for the empty info bar. div.kn-current\_user { margin-top: -55px; margin-left: 800px; } .kn-info-bar…

---

## [Help! Embedded app is messing up my search dropdowns for connected records](https://forums.knack.com/t/help-embedded-app-is-messing-up-my-search-dropdowns-for-connected-records/9005)

<div class="topic-metadata">

**Author:** [@JonathanTa88854](https://forums.knack.com/u/JonathanTa88854)\
**Replies:** 1\
**Last updated:** [January 23, 2025, 8:32pm UTC](https://forums.knack.com/t/help-embedded-app-is-messing-up-my-search-dropdowns-for-connected-records/9005 "2025-01-23T20:32:46Z")

</div>

When I embed my app in a website, the dropdowns in my search menus are messed up, but only when trying to select connected records. When they are for multiple-choice options for the same record, everything looks fine. It…

---

## [Integrate auth0 or other 2FA](https://forums.knack.com/t/integrate-auth0-or-other-2fa/13914)

<div class="topic-metadata">

**Author:** [@Peter7](https://forums.knack.com/u/Peter7)\
**Replies:** 12\
**Last updated:** [January 22, 2025, 8:01pm UTC](https://forums.knack.com/t/integrate-auth0-or-other-2fa/13914 "2025-01-22T20:01:04Z")

</div>

Greetings all. I am looking for guidance on integrating auth0 into my knack app and am having a hard time finding documentation for those of us who are not developers (the whole idea behind low or no code wink:) I have c…

---

## [Hide action button based on logger in user](https://forums.knack.com/t/hide-action-button-based-on-logger-in-user/18530)

<div class="topic-metadata">

**Author:** [@AnthonyF96](https://forums.knack.com/u/AnthonyF96)\
**Replies:** 2\
**Last updated:** [January 15, 2025, 8:22pm UTC](https://forums.knack.com/t/hide-action-button-based-on-logger-in-user/18530 "2025-01-15T20:22:52Z")

</div>

I am developing an event registration system with an action button to ‘Book a spot’; once clicked, it grabs the logged-in account, the date and time, and the event’s name. To prevent duplicate registrations, I would lik…

---

## [Calculate Mileage with native Knack maps](https://forums.knack.com/t/calculate-mileage-with-native-knack-maps/13093)

<div class="topic-metadata">

**Author:** [@Kyle](https://forums.knack.com/u/Kyle)\
**Replies:** 8\
**Last updated:** [January 6, 2025, 2:17pm UTC](https://forums.knack.com/t/calculate-mileage-with-native-knack-maps/13093 "2025-01-06T14:17:13Z")

</div>

How do I calculate mileage from point a to point b using native Knack mapping?

---

## [Add Stylish Outlines to Your Views!](https://forums.knack.com/t/add-stylish-outlines-to-your-views/18387)

<div class="topic-metadata">

**Author:** [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Replies:** 2\
**Last updated:** [December 31, 2024, 9:45pm UTC](https://forums.knack.com/t/add-stylish-outlines-to-your-views/18387 "2024-12-31T21:45:24Z")

</div>

As the holiday season rolls in, I’ve been experimenting with ways to enhance Knack dashboards. One simple but effective tweak I’ve discovered is adding outlines to your views, making your data much easier to digest visua…

---

## [Details View, Connected field value links to connected record](https://forums.knack.com/t/details-view-connected-field-value-links-to-connected-record/18404)

<div class="topic-metadata">

**Author:** [@Nathan7](https://forums.knack.com/u/Nathan7)\
**Replies:** 4\
**Last updated:** [December 22, 2024, 11:40pm UTC](https://forums.knack.com/t/details-view-connected-field-value-links-to-connected-record/18404 "2024-12-22T23:40:17Z")

</div>

Hello. I’m pretty new to Knack but I feel like I have a pretty good handle on the main feature set. That said I’m struggling to find an elegant way to accomplish a particular goal. I am building a fairly basic project m…

---

## [Help with popup scene on a custom button](https://forums.knack.com/t/help-with-popup-scene-on-a-custom-button/18220)

<div class="topic-metadata">

**Author:** [@Stephen4](https://forums.knack.com/u/Stephen4)\
**Replies:** 2\
**Last updated:** [November 24, 2024, 5:31am UTC](https://forums.knack.com/t/help-with-popup-scene-on-a-custom-button/18220 "2024-11-24T05:31:02Z")

</div>

I need help with some code. I have an input form linked to a table. My code adds a preview button to the input form next to the submit button. I want the preview button to (1) save the record from the current form into …

---

## [Open/view modal popup link on hover?](https://forums.knack.com/t/open-view-modal-popup-link-on-hover/18142)

<div class="topic-metadata">

**Author:** [@sam1](https://forums.knack.com/u/sam1)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 9:48pm UTC](https://forums.knack.com/t/open-view-modal-popup-link-on-hover/18142 "2024-11-14T21:48:00Z")

</div>

Hello Community! I’m looking for a way to display my modal popup from simply hovering over a field/link in a table. I have a “Log Notes” field/link created for just about every table in my app and it would be great if …

---

## [API request and Python](https://forums.knack.com/t/api-request-and-python/17952)

<div class="topic-metadata">

**Author:** [@lucas.cury](https://forums.knack.com/u/lucas.cury)\
**Replies:** 24\
**Last updated:** [November 1, 2024, 4:45pm UTC](https://forums.knack.com/t/api-request-and-python/17952 "2024-11-01T16:45:29Z")

</div>

Hello Everyone, PLease be patient. I’m almost a zero knowledge in coding. But I would like to learn. So please, be patient once the question will be veeeery basic: I’m learning to use Knack and API with an simple app. …

---

## [Limit File Type Uploads to Spreadsheets Only (.xlsx, .xls, and .csv)](https://forums.knack.com/t/limit-file-type-uploads-to-spreadsheets-only-xlsx-xls-and-csv/18039)

<div class="topic-metadata">

**Author:** [@Quynh-Tram](https://forums.knack.com/u/Quynh-Tram)\
**Replies:** 2\
**Last updated:** [October 16, 2024, 3:52pm UTC](https://forums.knack.com/t/limit-file-type-uploads-to-spreadsheets-only-xlsx-xls-and-csv/18039 "2024-10-16T15:52:02Z")

</div>

How can I limit the file types to three types for spreadsheets only - .xlsx, .xls, and .csv. I can see the validation rules, but it seems it is only for one file type. u

---

## [Real-time Update of Equation Field based on Number Field](https://forums.knack.com/t/real-time-update-of-equation-field-based-on-number-field/17724)

<div class="topic-metadata">

**Author:** [@Quynh-Tram](https://forums.knack.com/u/Quynh-Tram)\
**Replies:** 8\
**Last updated:** [September 8, 2024, 5:09pm UTC](https://forums.knack.com/t/real-time-update-of-equation-field-based-on-number-field/17724 "2024-09-08T17:09:39Z")

</div>

Hi! I have a number field (number of program hours) that informs an equation field (75% of program hours). i have both fields in a modal pop-up form page, and i want the equation field to update live in real-time when th…

---

## [Hide form field based on field from another connected object](https://forums.knack.com/t/hide-form-field-based-on-field-from-another-connected-object/8310)

<div class="topic-metadata">

**Author:** [@Chris44896](https://forums.knack.com/u/Chris44896)\
**Replies:** 5\
**Last updated:** [September 2, 2024, 6:00am UTC](https://forums.knack.com/t/hide-form-field-based-on-field-from-another-connected-object/8310 "2024-09-02T06:00:13Z")

</div>

I have an app that I am creating to input data from a client. When I added a "visit" record to a "client" I want to hide a field in the "visit" record. However, it seems that I can only hide a view, not just a field in a…

---

## [CSS for font-size in drop down lists](https://forums.knack.com/t/css-for-font-size-in-drop-down-lists/17814)

<div class="topic-metadata">

**Author:** [@NeilParkin60970](https://forums.knack.com/u/NeilParkin60970)\
**Replies:** 0\
**Last updated:** [September 1, 2024, 8:37am UTC](https://forums.knack.com/t/css-for-font-size-in-drop-down-lists/17814 "2024-09-01T08:37:28Z")

</div>

I’m building a screen that will be used on a small touchscreen monitor. One of the key interactions is to select a value from a drop down list, only the text is much too small. I can resize the title text for the field.…

---

## [Webmerge (Formstack) alternatives for document production?](https://forums.knack.com/t/webmerge-formstack-alternatives-for-document-production/8260)

<div class="topic-metadata">

**Author:** [@BRUNOCERQU60563](https://forums.knack.com/u/BRUNOCERQU60563)\
**Replies:** 13\
**Last updated:** [August 28, 2024, 5:34pm UTC](https://forums.knack.com/t/webmerge-formstack-alternatives-for-document-production/8260 "2024-08-28T17:34:05Z")

</div>

Hi, We currently have an app that uses webmerge to produce several documents in pdf (certificates, reports, etc) with some rules to automatically change the text and some checkboxes on the document itself, although it's…

---

## [Hide App Header on a Certain Page](https://forums.knack.com/t/hide-app-header-on-a-certain-page/11449)

<div class="topic-metadata">

**Author:** [@Craig\_Anderson](https://forums.knack.com/u/Craig_Anderson)\
**Replies:** 6\
**Last updated:** [August 28, 2024, 9:45am UTC](https://forums.knack.com/t/hide-app-header-on-a-certain-page/11449 "2024-08-28T09:45:26Z")

</div>

Hi, I’m trying to hide the App Header, but only on a certain page. Does anyone have any code to achieve this? Cheers

---

## [How can you change the "Back to" link](https://forums.knack.com/t/how-can-you-change-the-back-to-link/11275)

<div class="topic-metadata">

**Author:** [@SteveV](https://forums.knack.com/u/SteveV)\
**Replies:** 6\
**Last updated:** [August 24, 2024, 9:44pm UTC](https://forums.knack.com/t/how-can-you-change-the-back-to-link/11275 "2024-08-24T21:44:52Z")

</div>

At the bottom of every page there is a friendly link saying “Back to …”, which takes the user back to the parent page. That’s great in over 90% of cases, however: Can I set the back button to go back to a different pag…

---

## [Reading cookie in cross-site context will be blocked in future Chrome versions](https://forums.knack.com/t/reading-cookie-in-cross-site-context-will-be-blocked-in-future-chrome-versions/17689)

<div class="topic-metadata">

**Author:** [@Marc](https://forums.knack.com/u/Marc)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 4:19pm UTC](https://forums.knack.com/t/reading-cookie-in-cross-site-context-will-be-blocked-in-future-chrome-versions/17689 "2024-08-20T16:19:12Z")

</div>

Does anyone know if this will cause and issue with embedding Knack apps in the future. My Chrome browser is popping up with warnings. I just want to make sure.

---

## [API calls with a GET command returns empty records](https://forums.knack.com/t/api-calls-with-a-get-command-returns-empty-records/14231)

<div class="topic-metadata">

**Author:** [@NormandDefayette\_CortexRD](https://forums.knack.com/u/NormandDefayette_CortexRD)\
**Replies:** 1\
**Last updated:** [August 19, 2024, 10:19am UTC](https://forums.knack.com/t/api-calls-with-a-get-command-returns-empty-records/14231 "2024-08-19T10:19:27Z")

</div>

I’ve come across a few instances where I do a simple GET API call on a grid and it returns nothing, i.e. records: \[\]. This is the test code I use. It simply finds the first table in the page and returns the data from i…

---

## [How do I stick a kn-details-group to the buttom?](https://forums.knack.com/t/how-do-i-stick-a-kn-details-group-to-the-buttom/17693)

<div class="topic-metadata">

**Author:** [@Alteco](https://forums.knack.com/u/Alteco)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 7:53am UTC](https://forums.knack.com/t/how-do-i-stick-a-kn-details-group-to-the-buttom/17693 "2024-08-12T07:53:05Z")

</div>

Hi, Does anyone know how I make these three buttons stick to button in a list view? I’ve already have this inserted in CSS: #view\_871 .kn-list-item-container { border: solid 1px #195E93; -webkit-box-shadow: -1px …

---

## [Parsing Multi Line 'Textarea' Paragraph Data into Fields by line number](https://forums.knack.com/t/parsing-multi-line-textarea-paragraph-data-into-fields-by-line-number/6999)

<div class="topic-metadata">

**Author:** [@ChrisBampt93621](https://forums.knack.com/u/ChrisBampt93621)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 4:09am UTC](https://forums.knack.com/t/parsing-multi-line-textarea-paragraph-data-into-fields-by-line-number/6999 "2024-08-01T04:09:08Z")

</div>

Hello, Paid work! Can anyone offer some consultancy / A Solution? I am importing data (via a Zapier Action) from an external data feed using Knack. One of the field types I am importing is from a Data Matrix with Row…

---

## [Using Regex function](https://forums.knack.com/t/using-regex-function/8239)

<div class="topic-metadata">

**Author:** [@WilliamTho78175](https://forums.knack.com/u/WilliamTho78175)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 3:58am UTC](https://forums.knack.com/t/using-regex-function/8239 "2024-08-01T03:58:14Z")

</div>

Hi, I need to parse a text string in Knack. It is made up of several components each separated by a comma. I want to extract each component and place each in it's separate text field. I can do this now using a Left, r…

---

## [Hide "All day" and "Repeat" options on Date/Time field?](https://forums.knack.com/t/hide-all-day-and-repeat-options-on-date-time-field/9225)

<div class="topic-metadata">

**Author:** [@GrahamPell93538](https://forums.knack.com/u/GrahamPell93538)\
**Replies:** 6\
**Last updated:** [August 1, 2024, 2:05am UTC](https://forums.knack.com/t/hide-all-day-and-repeat-options-on-date-time-field/9225 "2024-08-01T02:05:05Z")

</div>

Hi, I am trying to set up basic time tracking for employees, and would like to be able to use the calendar function with the time entries. I've tried many different ways to set this up but am running into problems. Th…

---

## [Logout Trigger?](https://forums.knack.com/t/logout-trigger/12274)

<div class="topic-metadata">

**Author:** [@Travis](https://forums.knack.com/u/Travis)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 11:20pm UTC](https://forums.knack.com/t/logout-trigger/12274 "2024-07-29T23:20:25Z")

</div>

I’m attempting to write a function that will log the user out if they meet specific criteria. I’ve got it all working up to the logout part. I attempted to use .trigger and .click to click the logout link on render but t…

---

## [Help with CSS, set max row height on table](https://forums.knack.com/t/help-with-css-set-max-row-height-on-table/12337)

<div class="topic-metadata">

**Author:** [@Gerry](https://forums.knack.com/u/Gerry)\
**Replies:** 5\
**Last updated:** [July 11, 2024, 11:12pm UTC](https://forums.knack.com/t/help-with-css-set-max-row-height-on-table/12337 "2024-07-11T23:12:27Z")

</div>

Hi all, I am trying to set the maximum row height for a table, and I tried some CSS and got what I think was a workable solution. I hardcoded the column #’s, and I thought if I specified the view ID, it would limit it to…

---

## [Code to move Location of Validation Rule Message](https://forums.knack.com/t/code-to-move-location-of-validation-rule-message/8701)

<div class="topic-metadata">

**Author:** [@TimMurray32105](https://forums.knack.com/u/TimMurray32105)\
**Replies:** 7\
**Last updated:** [July 2, 2024, 11:47am UTC](https://forums.knack.com/t/code-to-move-location-of-validation-rule-message/8701 "2024-07-02T11:47:41Z")

</div>

So I have a form when the validation rule pops up because it was triggered it displays at the top of the form. Because of the form size the user wont see it unless they scroll back to the top of the page. Does anyone hav…

---

## [Prevent Selection in Dropdown if \< 24 hours away from current time](https://forums.knack.com/t/prevent-selection-in-dropdown-if-24-hours-away-from-current-time/17493)

<div class="topic-metadata">

**Author:** [@Quynh-Tram](https://forums.knack.com/u/Quynh-Tram)\
**Replies:** 3\
**Last updated:** [July 1, 2024, 7:29pm UTC](https://forums.knack.com/t/prevent-selection-in-dropdown-if-24-hours-away-from-current-time/17493 "2024-07-01T19:29:52Z")

</div>

How can I prevent a user from selecting or submitting an event from the dropdown menu of a field in a form if the date/time is less than 24 hours away from the current time?

---

## [Starting a Task by Javascript](https://forums.knack.com/t/starting-a-task-by-javascript/13552)

<div class="topic-metadata">

**Author:** [@NormandDefayette\_CortexRD](https://forums.knack.com/u/NormandDefayette_CortexRD)\
**Replies:** 10\
**Last updated:** [June 26, 2024, 4:24pm UTC](https://forums.knack.com/t/starting-a-task-by-javascript/13552 "2024-06-26T16:24:38Z")

</div>

Does anyone know if it’s possible to start an Object’s task programmatically using Javascript? Currently, only scheduled options are available but I need to do it on specific event, not cyclic period. I dug deep into t…

[Previous page](https://forums.knack.com/c/api-customization/ask-developers/25.md)

[Next page](https://forums.knack.com/c/api-customization/ask-developers/25.md?page=2)
