How To

Share all the handy tips and tricks about Wappler usage here! Don’t be shy!

About the How To category

Share all the handy tips and tricks about Wappler usage here! Don’t be shy!

Max Length Validation Not displaying

The validation is not displaying when the input hits the 26th character. Anyone see what I’m missing?

Two Questions Regarding Bootstrap Colors

I was wondering how to add a new color to Bootstrap(like primary, info, danger, etc) I saw this but when I add a color I get an error This is what the “theme colors” variable had by default …

Node.js Mailer issue

I’m implementing a new user registration. All is going well except the mailer is throwing an error. I’ve confirmed that the app/lib/modules/mail.js file is on the server and that nodemailer is liste…

Form to email outlook could not verify identity of sender

Form to email outlook could not verify identity of sender. form working - however test email live results in above message in outlook anyone have a workaround

Long Deploy Time (Docker)

Ok found the problem… seems at Digital Ocean with the very small servers of $4, you have very little memory and when running and web server and Traefik more memory is required otherwise indeed npm ins…

Form Browser go to not functioning as expected live

Well you need to uncheck the “Internal” checkbox for the redirect event. This is used for others, specific options, but not in your case.

Displaying User's Timezone Name

TL;DR: get the timezone abbrev and IANA name client-side from App Connect. I’m building a validated app for user’s that both travel across multiple timezones with the same device and also for users t…

Repeat Core Action and CSV

You need to repeat the import step, not a just a single column like [0].schedule So select the import step as a repeat expression.

Wappler keeps on renaming my query parameter on the API Data Source

This is because the App Connect components are DOM based and are case insensitive. Parameters that are passed within the attribute name will therefor always be made lowercase.

Dmx-bind:value not working within a form inside a repeat

This was the fix. Thanks @bpj! I changed dmx-bind:value="Description" to dmx-bind:value="$value.Description" Data Store and Form Repeat

Pass a Javascript Array to a Server Connect - $_GET array can't output

I have some javascript code that produces an array of values that I want to add to my database. I created the array in the $_GET with the intention of sending the array via dmx.parse('insert_pl.load(…

Adding weeks on to a variable, does not advance the month

The code I am using is <button id="btn23" class="btn btn-light" dmx-on:click="check_avilable.load({service: inp_package.value, start_date: check_avilable.data.api.data[0].start_datetime.addWeeks(1)}…

Using OAuth2 Connector with Discord

Hey Does anyone have a how tow for signing up with Discord or could help me? I haven’t been using Wappler for long time and am not very familiar with the subject Or maybe there are plans to integ…

Change Modal Header Color

I am using a bootbox confirm and wanted to change the color of the modal it opens. You can change the button colors when setting up the action and I changed the body and footer by changing the “modal…

How to use all the new array actions

There are 14 new SC actions for arrays which are awesome but I urgently need a steer on how to use each of them. The main ones to create the array, insert data into it, read data back, etc. are all st…

How to create a scrollable BootStrap Table

I just added a CSS code and it seems to be working with vertical scroll.

Copy schema from docker DB to remote RDS DB (going from development to production)

Hello, I have a local docker environment with a docker Postgresql database. I am using this same DB set up for my staging environment hosted on EC2. However, for my production environment I will be…

Registration form does nothing

Hello Wapplers! Just got here and going through the Community Web tutorial. Stuck at where the registration form does nothing when the Register button is clicked. I’ve gone over it twice over checki…

How can I copy data into the datastore in page load?

This is another “I’m sure this is simple” scenario but I’m struggling to come up with the solution. I have a SC script which returns data which I want to be copied into the datastore. What’s the best…

Is there a way to see the network logs in Android Emulator?

Think what your after can be seen in chrome. If you go to chrome://inspect#devices . Then pick the emulated version of android.

Restricting page with two different permissions not working?

The permissions assigned to a page through Security Restrict are treated as AND. Adding both will require both permissions to be required. If you have the role in your database, you can use the IN co…

Best Free VPS Setup 2022 (Hestia on Oracle Cloud Free Tier) Complete Website + Email Tutorial

Great video tutorial Best Free VPS Setup 2022 (Hestia on Oracle Cloud Free Tier) Complete Website + Email Tutorial

Resize a webp image?

Is it possible to resize a webp image? Unfortunately, when I tried resize(Auto), it didn’t work thank you for your help

Should a Multi-Reference table/field work like a subtable for data insert?

I have multiple subtables that are inserting data without issue. I recently added a multi-reference table (Address_Contact) to the Server Connect API. But when attempting to POST data to it, it’s t…

Issue with Unauthorized Access Redirection in Login System

If you are using security provider enforcer on your php page, then the page won’t be loaded at all for unauthorized users.

Google Maps JavaScript API without a callback is not supported

We improve that in Wappler 5.3.3, so either update or do a manual fix as described in:

Dynamic click event

There is the following code: <div class="d-flex flex-column" dmx-on:click="modal_delete_message.show()"> <button id="btn" class="btn" dmx-on:click="var_updating.setValue(222)">Btn</button> </div> T…

Conditional region flash briefly on refresh

I am using conditional region to hide some sections, and they work. but on page refresh, they briefly show their contents and then vanish. I was under impression these are better to use then Show/hi…

How to change the maxmum value on y axis in chart?

I have 6 line charts on a page and would like to compare them at a glance The issue I have is the data is all scored out of 10 but the y axis on the chart only goes up to the highest figure in the da…

Can't Remove Port on Target

Try adding the A Record for www and @

Redirect to Content Page With Different Layout Does Not Work For SPA

I have a server side server action setup on a content page - which is used as security restrict. This content page - page1 - has layout page - layout1. My login page - login1 - has a different layou…

Use checkbox in a table to set query parameters

I would like to put a checkbox in every row of my employee table so I cn select several employees and then query data from those selected. I’m guessing I use some type of array to set the filter?

How do you solve cron job planning?

Let’s say every hour I want to clean up some data in the database: split up full names into a first_name, last_name. For example: first_name: "John Doe", last_name: "" Becomes: first_name: "John",…

Capacitor installation failed

Hello, I want to create an ios application via capacitor but when I want to create my project, it tries to install capacitor but there is an error that npm is not recognized as an internal command OS…

NodeJS Array Showing Extra Records

Wowza, that was a tough one for me. I got the solution, so here goes in case anyone else has similar issues: As per @Teodor suggestion, I did the work on the server side (DUH!) which makes total sens…

Sqlite connection problem "Connection String is Required"

Hello, I would like to implement a project with php/Sqlite for the first time. But fail at a simple query. What am I doing wrong? Many thanks for your help

DO server using resource manager can't connect

Ah it might be Ubuntu 22 and old rsa ssh key you are using. For new servers we automatically enable the old rsa keys compatibility but for older servers you might have to do it manually. See:

Development Environment when using Resource Manager

Now you got it right. Docker and “Docker machines” are different things. “Docker machines” is just a tool that helps with managing your Docker instances. But it is no longer officially supported. Bu…

Does Wappler support OpenID?

From what I can see in the docs it should work with the OAuth2 provider.

Wappler updates keep wiping out Redis from package.json

W 4.9.1. NodeJS Win 10 I have a project setup, where I don’t use Docker locally, but only for Staging and Production. I have a Redis turned on, it works normally. But after Wappler updates (even …

Simple (I think) Array/Repeat/Relational data problem I need some direction/a How-To On

I am trying to make a commission tracking app that in my head I think should be straight forward, but, it is not working out to be lol. In a roundabout way, I think the way I am structuring it should…

Webhook question

With our phone supplier we have the option to use web hooks for incoming calls etc. The information it sends through is: { "type": "user_inbound", "unique_call_id": "160455961758", "caller_id"…

Problems adding Traefik

Following Using Custom Domains and SSL with Let's Encrypt and Traefik I added my NameCheap domain to DigitalOcean and I can access my site via the domain name without HTTPS I added the traefik ser…

Server Connect Table Refresh

I have a admin dashboard that I replicated for 2 sites. I just changed a field’s name and deleted one on the duplicated database. Then I copied the dmx folders and admin dashboard folders to the new …

Node.js server restart clears sessions

You don’t need Redis or docker. Just select DB as option in the server connect settings > sessions tab. Server connect settings is in the server action/api panel top right. This will create a table…

Array in Data View Filter

What is happening here is that you are creating and updating the new_array object, which is not the same as the array_categories which you are displaying. If you need to add items to the dmx array ar…

Inserting a Bootstrap Button Group

Hi, I am trying to insert a Bootstrap Button Group Component into a properly setup Container > Row > Column structure. I dont see that component listed. Is this something that needs to be coded manua…

Preloader customization

Then add something like this in your custom CSS file: .dmxPreloader-spinner::after { content: "my text here"; position: relative; margin-top: 80px; display: block; width: 200px; …

Want 4 charts all aligned horizontally in one line but occasionally get 3 charts in 1 line and the 4th chart on a separate line

Hi, I am struggling to do what i think should be very straightforward I have a dashboard that has a row with 6 columns, each has an apexchart graph in. Only 4 columns are ever shown and the user sel…

How to copy a dynamic value using 'Browser'

The copy method doesn’t accept any arguments, it just executes the browsers native copy action. You probably want to use the writeTextToClipboard. dmx-on:click="browser1.writeTextToClipboard(products…

Pages location

how to move pages located in files to pages

Node.js route redirects going to content page

I’m trying to implement security on a node.js site. I’m having an issue where routing to/from the login page isn’t working properly. My login form looks like this… <form id="form_login" method="po…

Check checkboxes if value is in datastore

I have a dynamic list with a checkbox on each row. When it’s checked, the row id is inserted into the datastore. When it’s unchecked, it’s removed from the datastore. That all works perfectly. If the…

Call Framework7 functions

Pull to refresh as well as other components are available for Framework 7:

5.4.1 Theme Manager not working as expected

As explained in the docs: The Theme Manager is available for Bootstrap projects only, using Bootstrap 4 or 5.

Subdomain routing for Saas

Hi, I’m trying to make a SaaS multi-tenancy project in NodeJS A project that allow to autogenerate subdomains base on a business creation in database mysql, and then each subdomain filter the data ba…

App Failed Attempt To Build Emulator?

I’m trying my hand at building an iOS mobile app with Bootstrap 5 for the first time. However, I’ve ran into the following issue after I attempted to view the page in the iOS emulator. I’m working on …

How can I make a select the value of a field in the Data Store

You need to use: dmx-bind:value="updates.data.where(`prodID `, prodID, '==')[0].cat"

Update "refresh message" to user

Hi! In my app, the user is keeping a page on the TV and is almost never refreshed. So when I push an update, it’s often not reflected for the user on that page. Is there a way to notify the user that…

Tagify select all?

You can do it with a button. <button id="btn1" class="btn btn-primary" dmx-on:click="tagify1.addTags(serverconnect1.data.query.values(`category_id`))">Add All</button> <input is="dmx-tagify" id="t…

Filtering a database query - need help

I’ve got a query that gets orders from my database. Each order has ‘bought_products’ attached. These products have an id. Now I want to create the following filter: Show me all orders where produ…

How Can I Create a Pivot Table From Database Output?

I think you should be able to do a Set Value pointing to this pivot_table Set Value: pivot_table.values() And than use that for a CSV Export Step If that doesn’t work, I can adjust the formatter

When to use server connect in the server side data?

The server-side data is processed during the rendering of the layout and/or content page, which takes place before the App Connect code (or anything else) is loaded in the browser. You are correct, y…

Sign-Up Username suggestions when username is already used

Hi guys, All major websites out there, while Signing-up, they validate the given username and if it is already used they suggest available Usernames (“related” to the one you initially given) Given: …

Custom query not returning results when using parameters

Hi, Here is my custom query where I populated the Select statement with the required values. You will see I get a query result returned. However, when I use parameters, I get no query result.

How To: Windows Plesk and NodeJS

Hello All, After spending sometime today setting up my Plesk Server for staging, I’ve run into some issues. I got it to work on Windows 2022, here is how: This setup is strictly for Windows Plesk Se…

I have a problem with the medium editor again

It transfers crazy styles, although I want to remove them with the [Delete Formats] button. In the (online) source text, the formats of the Medium Editor are displayed below the actual content. …

Is it possible to copy database changes to a different project?

You can just export a database dump/backup using a database tool like mysql workbench (depending on your database type) and then import it in your other database.

Inserting Bootstrap Components Question

Hi, Where can I find a listing of Bootstrap components to add to my page as I am building out items. For instance when I insert a Nav component I would think I should be able to insert Bootstrap comp…

Arrays with arrays inside

Hi, I’m trying to use the new server action functionality called “Array Lists”. I added the step Create Array, named my array “myArray” and defined a schema for it, to have a text variable called …

On login, redirect the user back to where they were

Here’s how I handle this on node: Within a Server Side Data > Server Connect, on the protected content page or layout, if the user is not logged in, I save the page that the user attempted to load in…

Escaping Single Quotes

there’s just an error in this code… your closing " on the wrong place… before the + '</strong>' part.

Ordered List?

I can’t see any way to add an Ordered List in Wappler? I would have thought it would be an option when adding a List Group that would add the list-group-numbered class? Am I missing something or is …

Dynamic Opengraph Meta Tags in a .NET site

Server-side rendering is only supported for NodeJS in Wappler. There’s no server-side rendering support for PHP/ASP/ASP.NET and sites like Facebook, Twitter etc. do not render javascript expressions …

Using a Google Map with an overlay showing boundaries and interact with it

Hi everyone. I’ve been asked to put a Google Map onto a webpage which has an overlay showing county regions. When a region is selected on the page (could be a button or select dropdown) or they click…

Can't create keyed array in Server Action

Keyed arrays do not exist, the only language I know supports that is PHP. You probably want to create an Object or Map which are collections of key/value pairs.

Countdown Timer with Dynamic Value

Hey, someone help me to build a countdown timer with dynamic server connect value?

Issue with sockets running on Ubuntu Server

Working locally, things seem to work ok. However when I load this to docker on my remote server, I keep getting this error when I try and use sockets. Could anyone throw me some suggestions as to wh…

Partials Page does not show available actions

If I understand correctly, Partials have no access to the outer world, as they don’t know where they will be included (that would be logical, too). But you say some Partials do have access to objects…

Capacitor installation failed!

Hi, I’m just installing wappler and I get this error! Mac Homebrew is correctly installed. Checking NodeJS installation and version… zsh:1: command not found: node NodeJS is missing! Mac Homebrew…

Clear data store (cart) after set time?

I made a shopping cart with following tutorial and all works fantastic! But I need the data store to expire after maybe an hour? I am running into a situation where customers can add tickets to the…

Digital Ocean File Missing Error but File is not Missing

Maybe this advice from Hyperbytes will help in this case?

Help With SSL

All good, Eric_F, I have experienced many issues in the past and wappler team / forum / community have always been very helpful in troubleshooting and finding solutions. This error seems to be relate…

Default font in summernote select

Hi! There’s a way to force a default font in summernote? In my menu i would like to set “arial” instead “Segoe” as it appears. Thanks

Can subtable be used as a reference field in another table?

The answer is, yes. A subtable can be used in a reference field on another table. Something was not in sync on my project. Refreshing the table schemas was not correcting the issue. So I undid all cha…

How to check if user is logged in on mobile app project and send to login page if not?

On a mobile app project, how do I check if the user is logged in. If they are not, then direct to login page?

Routes not working for mobile Bootstrap app

Looks like I cannot define a route for the index.html page. Is this expected? I was able to create content pages and navigate to those using links on the index.html page, but the URL shows index.html…

Redirect not found pages

Never tried this but maybe adding a new route in the routing tab set the path to * and make sure this route is at the bottom of the list:

A better way to handle user uploaded photos. With editing. How can we implement this?

Pintura / Filepond Dropzone was introduced as far back as 2018. Wappler didn’t even do node back then. And we’ve seen an increase in integrating JS libraries, so why not this one? Demos here: file…

Human Resource Calendar

I would be happy for guidance on how the calendar component in Wappler can be used to develop an input feature in which an employee can chose a start date for vacation and number of days and the calen…

Timeline like community

How can I build a timeline like the community blog?? any advice??

Nesting Form Repeats

Is it possible to nest form repeats I tried with both a converted row and the actual form repeat component and I got the same result twice: As you can see formRepeat2 is inside of formRepeat1 Bu…

Mobile URL background Image zoom not correct

afternoon all, I am having a weird issue with my background images and I am hoping someone out there has a solution. The issue I am having is that the background images that I am using for the hero …

How to redirect to homepage after successful login on a mobile app?

Doh! I remember now. Add a browser component and then a Dynamic Event on the form. If succesful, send to appropriate page/route.

How to display dynamic data inside a Summernote Lite Textarea

Hi, I have a Summernote field in a form in a modal. I’ve tried using the Dynamic Attribute for both Inner Text and HTML but whatever I do - no data is shown inside the Summernote. Any ideas? @Teod…

Background video

Hello - problems with background video". I have followed your online documentation, but no “Background video” in Properties.Found it in Components, and placed vid inside container sourcing it correct…

Server Connect Array Lists - how to work with multidimensional arrays?

Normally the API Action step would already parse the result when the API returned it with the correct Content Type headers. I think the following expression should work for you: {{api_companies.data…

Dragable Sortable Solution

I’m looking for a ‘Dragable/Sortable’ solution I can use for clients to select the order in which images associated with a record are placed. I have found the following and wonder if anyone would be …

No output on Array?

It looks like we can’t output server arrays directly but have to set a value to do so. Is that correct? If so, why?

Weird behavior of my textarea with Medium Editors

I checked your page but it’s actually quite a mess. I see a lot of <html> and <body> tags on it. Not sure if that is your includes wrongly setup to include full pages or anything else, but that is wr…

Upload image using GET not POST

This is a bad idea, GET has stricter size requirements as the image would have to be somehow inserted in the URL itself (usually Base64-encoded)

Server actions working on localhost with remote db, but not working on remote host with remote db

What would cause a simple query, add and delete server actions to work on local server with the same remote database, but not on the remote server. On local query, add and delete works. Remote, not… …

Server Connect Array Remove problem

There is a limitation when using Objects inside the array. IndexOf, Contains or Remove don’t work fine with objects as value. Here an example in plain JavaScript with indexOf: const array1 = []; con…

Set background from data

You can set a Dynamic Attribute>Styling>Style for an element using Name: background-color and point the value to the data retrieved from a SC API query

Electron: Chokidar module missing

We found out that the build from electron does not sync the folders, we will have this fixed in the next update. Go to the terminal and type npx cap sync electron, then it should have the new files in…

How to create object in server action?

I need an object like this: { "email@email.com": {"ref_id":"999"} } Where the email and the ref_id values are variables. So I have successfully created this object with this set value: {{ {email…

Environment Variables (Wappler UI)

Your understanding of DB connections in context of Wappler is a bit off. Each project can have multiple targets. But, each project needs just one DB connection - in Globals section of server action/…

How to delete authentication code from database after a time period

Hi seriatim, The workflow could look something like this: Add another timestamp field to store a value for the valid time limit - this can be based on the timestamp when an email is sent. So, if yo…

Database - how to set the project settings remote database as the default to be used with the remote database

I got totally lost and confused with all this different connection settings. For me, it worked this way: Create the different environments / targets, but did not enter database details in the projec…

API Data source results clear

I have a search input field that retrieves results from an API and displays it in a list view. Is it possible to clear the results without sending an empty search string to the API again? I want the…

Urgent - infinite loop help!

Yes I contacted the host and they restart the server. The problem is solved. Thanks to all.

Showing updated mysql database tables/records

Try to use Refresh Schema on Table level. Then I go each table one by one (which I had made changes) to make sure they are “green”.

Take action when date is reached or passed

Hello, I would like to perform an action when the validity date has been reached or exceeded. How can I achieve this? Thanks a lot in advance

Where does Wappler store the changes related to the database manager?

How does it know there are 4 pending changes and where is the reference to those changes?

Target folder structure problem

I use the “projects” folder http://localhost/projects/admin/index.php for my locale version/target The main directory on the online target. Why is the locale folder structure used for the depend…

Creating a newsletter with wappler

Hi I am wondering if it is possible to create a newsletter application with Wappler? If yes, are there any tutorials to get this started? My main problem is how to send emails to multiple recipients f…

Best way to implement mobile number and OTP login

I haven’t actually done this but I think it should work: Add a ‘otpPassword’ field to your users table and when creating a user, generate a UUID and store it there (ideally using Argon hashing) Have…

How to stop a folder uploading in NodeJS

Using Docker with a nodeJS website. I have a directory that people upload photos to (public/assets/uploads). When I upload a change to the live server, then it deletes the files on the live server a…

Array List initial value not set

The initial value should be a value of the whole array. So it should be another array not a single item. It can be also another collection like a result from Query or API Action

How to use WHERE after SPLIT

Oh. This is on client side. What I wrote was for server side. Also, did not know where could work on a string array. You should use a repeat children, and set its expression as serverconnect1.data.o…

Datastore - Upsert

You can use the fieldname in backticks as explained in:

Delay to dmx functions

Hi All, There seems to be a delay to dmx functions, which is preventing certain behaviours/actions being implemented. For example, for conditional field (dmx-if), I am unable to chain them (i.e. have…

How to use array.where formatting properly

Please see the image below: I would like to get the Url value for a given id (id==1 in this example), however I can’t find out how to select that value. The expression in the image doesn’t work an…

URL Masking/Link Cloaking in Wappler

Second that you def want to wrap your ref links into a DB. Trying to redirect to a different domain purely via a route->server connect may throw certificate errors as well (CORS violation), as the htt…

Duplicate full SQLite database to remote target on initial deploy

At present i do not think it is possible to replicate data to the production server via Wappler. In order to do this you would need to export the data via a 3rd party product then import the data int…

Not connecting to Local host

I’m trying to set up a server connection for a new project but I can’t even get the preview to work properly. When I click on project settings>targets and I try testing the local host connection, it f…

Input text: How do I combine multiple currency symbols using patterns

Answered my own question pattern="^[£$€]\d{1,3}(.\d{3})*(.\d+)?$" data-type=“currency”

Mobile App and website project temporarily hide the website

So routes worked but Wappler seemed to revert the route to its original settings, not sure why so I have gone “Old School” for now and added a redirect to the index page of the live target - <!-- Tem…

Need help with inner Join - Get name instead of ID

Justy give one of the ID fields in the query an alias like this

Dynamically check multiple checkboxes in repeat group with query values

Need some help with dynamically checked checkboxes that are used to filter a database query. The checkbox form group list used for filtering the database is a dynamic list, which is populated by a se…

Editable Grid with DevExtreme Data Grid Tutorial

I’ve been looking for an editable grid solution for a while and recently came across DevExtreme. They have a whole bunch of what so far look to me like really good javascript components ( https://js.…

Assistance needed to work with Google Drive API

I’ve hit a bit of a wall with a project which requires a logged in user to upload files and they go into the site owner’s Google Drive, ideally in a folder named with the ID of the user who uploaded i…

Chat GPT Api response length

Yes, had max_tokens set really low, now set to 2000 and it’s working perfectly

PWA Setup?

To be precise here: a PWA is a downloadable web site which adds a bookmark icon to the users mobile, it’s not an installable app (which implies appy features like notifications, hardware access and s…

ChartsJS - Y axis as currency

Hello everyone, How to set the Y axis as currency on an Area chart? Thanks!

Display form response data

Can’t the modal access the form response directly instead of putting into a session variable?

Select already existing images on server

Have a look at In particular

Can't seem to deploy to production env...new project...What am i missing?

It seems the issue is with the Web Server URL. Replace http://45.33.33.104 with the actual domain name https://belindamary.com. The project will need to be redeployed for the new settings to become ef…

Trigger form validation

I typically use a data store to hold the data from multi step forms and use a hidden form to post that to the server when ready. I then use a completely empty api as the form action for all the user …

Browser goto function open in new tab

Why don’t you use an <a> tag with dynamic href for this then?

Docker and digital ocean - going live

Hi Wapplers, I have followed the the instructions on how to setup a remote docker machine on digital ocean, which I have done successfully. I deployed to the live target as well. When I visit the IP …

How to add a color picker

Actually, I just figured out you can do it by changing a text input to type color.

Limit number of characters

Use Truncate from Manipulation from Data Bindings on your column. Or use substring manipulation: var1.value.substr(0,3) this will limit output to 3 characters.

Open a dynamic modal with an calendar entry

Dynamic Calendar events are available at the main Calendar level. After selecting Calendar, go to Dynamic Events -> Calendar to select Date Click or Event Click dynamic events. When any of these optio…

Is it possible to use $index in value names?

Can’t you do what you want without dynamically setting the name? Because I’d consider such to be a bad practice, as you’re essentially mutating the schema of a response dynamically, as a consequence …

Cordova project Mac Ventura

I found a fix…added Ventura to the nameMap in /usr/local/lib/node_modules/cordova/node_modules/macos-release/index.js I think that takes care of it.

CURL Certificate Error With S3 getFile

Hey, thanks @Apple! Just as you posted this, I got it uploaded to my server and it is running without errors… So the problem was with the version of curl that is supplied with my local WAMP server, …

Trigger An API Call When The Server Restarts

I needed to extend express to send an API request to an internal endpoint whenever the application starts to reattach workers to bull queues. It doesn’t depend on nodemon events etc. You can use it b…

Why Am I Getting an S3 Get File "Invalid Path" Error?

Thanks for all your help, folks! That all makes sense now with the path… luckily I don’t have any folders on the S3 side, so a / for the path seems to suffice… I have it set as below and I have mana…

Tagify remove the tooltip

When using tagify, if you hover the mouse cursor over the set tag, a tooltip pops up with the value: How to remove the tooltip so that there is nothing when you hover the mouse?

Best Practices to make Dynamic Paging and Query Manager work on NodeJS

Of course, after submitting my question for help here after a few frustrating hours, I found the solution For future reference to anyone struggling with this: Define the Query Parameters on the la…

Dynamic routing of a large page

Hi! I’m thinking about relaunching our homepage (currently Wordpress) with Wappler (in Php, Mysql). The only question I have is the routing. I need this link structure: https://www.page.de/cat1/ca…

Manage Docker Machines from different PC

I have a desktop PC and a laptop, both have Win10 pro with Docker Desktop. So when I’m working on the laptop, I want to be able to upload files to the remote docker target. But wappler only finds the …

How to calculate the values of an array?

Check this: I want to sum the “amount” value of each item in the array. The array limit will be 5 items, however there will not always be 5 items. In that case, I need to take the full value of it. …

Need help figuring out the best way to store/save this data

Wappler is maybe not the best tool to be attempting this in, but I find messing around with fun projects is the best way to learn. Sorry if this doesn’t belong in this topic due to it not being strict…

Getting API data into a Database

I am trying to get data from an API and put part of it in my Database. The API data is coming from a service running on my PC. The data shows up fine if I put the URL in a browser: I start the AP…

How to make a database entry on page load and edit it with later workflows

I am messing around trying to make a simple game and have a question about how to store the id of a database insert for later use. On page load I have a database insert to make a new entry in a table…

Issue with show/hide

Variables and ids should never start with number. Try changing that

Using IN Operator Is Unsafe?

The generated sql query is: select `cpc_id`, `cpc_product_code` from `content_page_creation` where `content_page_creation`.`cpc_product_code` in (?, ?, ?, ?) The bindings (parameter values): ["PROD…

Help with Data Format Keyed Array

I very well might be overthinking this, but I have a database query that outputs data like this… What I need is to output the data like this… options = { series: [ { name: "09:32:00", …

DB: client does not support authentication protocol

Ben, select the MySQL8 as database type and not MySQL/MariaDB, which essentially uses mysql2 in NodeJS

Page Query parameters

Hi everyone, Am I doing something wrong, I am trying to set a query parameter on a NodeJS content page but for some reason its not showing in the data pickers. I have defined the following page quer…

Disable Tagify Editing on Double Clicking a Tag

If you want a quick and dirty fix until this is added you can add the editTags line in the dmxTagify.js file… That will apply to all your tagify components and could get overwritten with a new vers…

Multi Tenant Architecture - PostgreSQL Row Level Security (RLS) Questions

I’m hoping I can beg a little advice from one or more of the Wappler users here. I’m trying to create a proof of concept in Wappler of a multi tenant database system, and while I’ve got something tha…

S3 Download File - Download not working

Unfortunately the “download” attribute is only valid on A tags (links) and not buttons: with your button you are triggering form submit, but that is not a download. So maybe just make a link out o…

How to Test Value of Radio Group

Sorry, I’m on the phone haven’t checked your code well. You mention a radio group but I don’t actually see any form group in your code. Please check:

Docker credential desktop missing

Well maybe then just install docker desktop

inRange in Class Toggle?

I’m trying to use .inRange in a class toggle. This works <td dmx-text="qty_250" dmx-class:green="qty_250>200"></td> This doesn’t <td dmx-text="qty_250" dmx-class:green="qty_250.inRange(200, 300)"><…

Filemanager similar to cPanel but for Docker Volume

Thanks to @sid he showed me a way to log into my docker machine via SFTP On a mac, download the free Cyberduck from https://cyberduck.io/ Create a new bookmark Server: 111.111.222.100 (Change to th…

Using youtube api to show videos from channel

With DMXZone we used to have feed genie to show a list of videos etc. on an website. How can I create this with Wappler (assuming I know almost nothing)?

Image Data API Service?

Create new API action In Input -> Post add new variable call url In Execute add Get File from S3 category - use POST variable for Path variable Add Get Image size from Image Processor category. Use p…

While overwriting in Server Action

Here’s the custom formatter function: function formatter_concatarr($arr1, $arr2){ if(!is_array($arr1)){ $arr1 = array();} if(!is_array($arr2)){ $arr2 = array();} $retval = array_merge($a…

Google OAuth & Photos Part 3 - Getting Albums and Photos

This is part 3 of how to authorize and use Google Photos. In this tutorial we’re going to get a list of user albums and the photos in them. I think the process for Oauth has changed slightly as yo…

Problem "while"

Hello, I have a problem with the while function, I tell it a simple calculation, as long as the difference is greater than or equal to 0, My problem is that the program runs and nothing happens, when…

Edit GIT Comments

No you can’t change git history and comments once it is committed. It is all written as hard history. You can add new comment in the next commit.

3rd party calendar Daypilot

Can you try data.data.query?

Query results from another database

I have a table in my “employee” database that allows me to pick the “vehicles” from another database I would like to show the details of the vehicles in my table but I cannot query from 2 different d…

Websockets Rooms

Since Wappler version 3.8.2, Sockets have received advanced features. In several training articles, Teodor outlined how to use functions such as Emit / Direct Message / Broadcast / Socket Identify Ho…

How to update Local Storage array

If we have an array of objects in local storage and we want to change a specific field of an object at a given index how can we do this. In my case I have an array named “bookings” and in this array t…

Custom Bootstrap 5 with EJS

I am trying to use a custom BS5 theme from Creative Tim: https://www.creative-tim.com/product/material-dashboard. I transformed index.html into a new layout file: Then I created a page using the l…

Wappler conditional workings

I’m sure someone will give you a more elaborate response along with pointers to a tutorial, but let me help you a bit since you’ve been at this for 6 hours Conditions don’t throw errors, they retur…

How to Restrict an API to certain HTTP Methods only

How to Restrict an API to certain HTTP Methods only. Not applicable ones should return 405. Does wappler have anything which can do this without having to use a condition for each api?

How do you attach the same multiple images to multiple emails?

** EDIT ** Everything works as it should! The file structure had been changed and the test data hadn’t been updated so all is good. Very happy with this now.

Can I Make dmx-on:click Open a New Page?

If you have the browser component on your page you will be able to active its GOTO event with dmx-on:click

Multicheck field with dynamic data

Hello, could someone tell me how to integrate in my form a multicheck field with dynamic data 1- I have a table with a list of values, I want to create as many checkboxes as values It’s possible ? T…

Go through records in database based on submitted form data

I have a table containing products and I have a form which lists all those products with a number input next to each one. The visitor then enters numbers next to each one and submits the form. I want…

Pass a variable on the front end to server after form post

Hi Wapplers, I have a form that I submit which executes a database insert action however I would like to store another table ID in this table which I can access but can’t seem to send to the server. …

Scrolling issue on mobile

SPA is working fine on desktop, however for a reason I am obviously missing when the nav bar is clicked it then goes to the centre of the 100vh flex container, is there a way of making this go to the …

Wappler sometimes very slow

Thanks for your response! I actually figured out what the problem was. On some of my API workflows I confirm the identity of the user as the first step, however, Output was ticked and autoload was on…

How to format string in array?

Actually try: query.flatten('pixelID')

Border color bootstrap 5, SCSS, and adding colors

There is a property in Wappler theme manager advanced called “theme colours”. You can use this to add more colours. I am on mobile so don’t have the exact syntax to share. The colours added here, b…

Create my own Library(?)

Hey Guys, Although I am new to Wappler (and Web apps in general), I would like to explore things and get organized as I go forward. My question is, how do you guys organize your scripts (successful …

How to not overwrite data on deploy?

Your issue appears specific to sqllite, as it is just a text file it is overwritten. Either deploy to a proper mysql table or place your sqlite file in the uploads folder as defined in your project s…

Header footer and includes

Hello Community, I am back with wappler and started building my first page with index.php / header.php + footer.php as server side includes. I am using Bootstrap 5 local and added it with all 3 pages…

PHP variable inside a simple FOR

How to apply a simple PHP variable inside FOR?

Data Transformation Add Columns - Can I Have A Complex Equation?

Add columns currently do not support referring to other columns in the same record. Just external expressions or static values. Maybe we can improve that @patrick

Problems with connecting to the online database

Has done, found the error. I also had to change the dates in Workflows/database Connection

File upload not mandatory

You can just put the upload steps in a conditional step and only run them if there are files selected.

Input format as currency

Hi Wapplers, I am trying to get an input field to be formatted as currency - i.e $1,000.00 I have set a dynamic attribute to the field, and set value as follows: value.toNumber().formatCurrency(’$’…

Access Array value by dynamic key?

Is it possible to access an array value by a dynamic key? For instance, if I have an array myArray with [value1, value2, value3] and I want to access value2 I can do that by myArray.items[1] but I c…

Best approach to render customized content

Hello All, Long time lurker here, that is finally deciding to take the plunge and learn how to develop web apps with wappler. I do have a question that I am hoping this wonderful community can help m…

Export XML

I am trying to use Export XML, so far its working pretty well however for some reason its adding unwanted <![CDATA[example]]> for everything. Is there anyway to strip that out, or stop it from inserti…

Node js project public folder contents 404 error

I think this is a matter of setting the remote server to recognize the public folder as the document root folder. In Plesk, this will look like where app is the application root folder. Talk to t…

Validation popup/modal or refocus on tabbed form

Hi, I have a large form split up across multiple tabs. Many of the fields are validated but when the form doesn’t submit it’s not obvious to the user which fields need completing without clicking thro…

Go live version

Dear all, Thanks for your kind answers and advices. I just retried step by step and found my mistake. Docker + Nodes + Posgresql Deploying to Linode Socket Just created a new “Production” target …

Detect user's locale: country & browser language

Anyone familiar with a lightweight method that doesn’t depend on a 3rd party service to detect user locale data like user’s country (i.e. detected by system’s timezone setting) and browser language? T…

Migration Directory Corrupt

This will show what is been referenced by George

Forcing HTTPS on Heroku using NodeJS

Hi folks, I’m just checking in to see if anybody has a good solution that works well with Wappler in order to force our users to be on the HTTPS version of our site? It’s currently hosted on Heroku …

Support for API callbacks / webhooks

Hi all, Do you know if Wappler and the final website can receive API callbacks? Thanks.

Capacitor or Cordova and databases

With the update to the latest version 5.3.1 and consequent improvements of Capacitor, I’m trying to understand how I can best use Wappler to create iOS and Android Apps I’ve set up a new Mobile App p…

Opening a Modal from a dropdown link

Which proves that a link should not be used to show a modal. According to good old best practice, underline links and solid state buttons communicate two different things: a button says that you are …

How to delete related sub tables when item is deleted?

I have not been able to make the cascade work in SQLite. What I do is to add an extra step to delete the Links that are related to the deleted Collection. As a side note: I am sure that this is not …

Send email notification to multiple recipients

Hi I am trying to send multiple emails to recipients that have selected to watch when new comments get added to specific tickets. However, the email doesn’t get sent. What I have done: insert the r…

I'm trying to apply a simple FOR/ENDFOR to a PHP page

I’m trying to apply a simple FOR/ENDFOR to a PHP page. I have to repeat a maximum of 17 times (this is the maximum number of records I have to show). So I applied a simple FOR/ENDFOR PHP. This is F…

Stripe keys with dynamic data from database?

Have a method to insert secret key and other keys stripe in dynamic method on wappler? Create client Create payment and more…?

Export CSV file filtered

Hi. I’m trying to achieve this result. I have a table of Clients which can be filtered by various parameters, for example the City of residence. I created the csv extract function of the table, tha…

Updating Calendar events

I have a calendar linked to a SC source which displays events nicely. It is all tied to a booking system that uses a data store for a Shopping Cart. When adding the event into the cart, I want to adju…

Group a repeat

I have an employee list with a column “crew” in every line of the repeat. I would like togroup those lines by the “crew” ad show the group name at the beginning of each group. Do I have to make a nes…

Arrays in back end

There’s literally just two files in the Git project. Be sure to copy from master branch. Root of your project.

Browser Component Device Width/Height Incorrect in iPad Landscape

I don’t think iOS will swap those when in landscape mode. It doesn’t care about the orientation so it returns the screen width and height always the same. What you want to use here (and better) is th…

Sum a column

Hi, I have a query that displays 249 records, with a column “qte_total”. When I apply SUM in “aggregate” on “qte_total” column and try to display it, it only displays the quantity of the first rec…

Prod cannot connect to wasabi

Can someone help me with this issue? I am using Wasabi storage for my images. Everything was working fine until last week. It seems my production environment can no longer connect to Wasabi but my de…

How to Export Filtered table data

Currently my data export properly in CSV format. But Now I want to export with filter data too. I am using two filter. 1st filter is through date and 2nd one is through search field. I attached scre…

Star Rating in Repeat using Rateit.js

I’ve implemented a nice little star rating system in a repeat using Rateit.js so thought I would share. Step 1 - download the zip file from https://github.com/gjunge/rateit.js to your project folder…

Images with metatag and orientation

In the Back End of a site I have a procedure for inserting / updating records with a file field for inserting or updating an image in horizontal format. In the case of a vertical development image, t…

Docker build ERROR

My provider has made a data transfer to new servers. In the settings, I changed the ip addresses to new ones and can connect. I also successfully manage docker containers through the Wappler interface…

NodeJS Error: .returning() is not supported by mysql and will not have any effect

This should be now solved with the latest Knex update that we have incorporated few Wappler updates ago.

Custom Query - Frontend (bug?)

Hello everyone, Why my custom queries are not showing as an array inside of a AppFlow in the front end? It’s showing as “string”! Only the first one is correct! I’m using the last Wappler versi…

Modal is not closing!

I have a layout. It has two pages. I can redirect into both pages internally. Now, In one page I am opening a modal. It works fine. But when I redirect back to my previous page, using the back contro…

Modal Display Hide, but backdrop is active

Hello, I am trying to hide my modal and only display it when the person is not connected, however the black background remains displayed despite I hide the modal, how do I do this?

How to use a repeat inside a flow with data store?

I have a simple flow that I want to repeat through the records that are stored in a data store. If I set the repeat to the data store it isn’t populating the output fields. I must be doing something…

How to make database transaction atomic?

Hi. The nature of individual query is dependent on the DB to ensure atomicity. But if you are talking about atomicity on server action level, where all insert/update/delete steps are atomic, Wappler …

EJS help - my variable became an object?

Fixed: It works by making the expression: if ((locals.$_ENV.NODE_ENV)==='production') Would love for someone to explain why it works like this though? Luckily, I found other code where I used an e…

AWS S3 Not Working on New DigitalOcean Server ('During inheritance of Countable' Error)

Hi there… I think this is one for @patrick… I’m just moving my app to DigitalOcean, and my AWS S3 File uploader has stopped working. I’m using PHP 8.1 on the server, and Wappler 3.9.7. I’m wonderi…

Problem showing mysql data on remote site

Hello everybody. 1 - I zipped the website files and uploaded them manually through my hosting cPanel. I unzipped the files and went to browse the site and I came across a problem: all the contents t…

dmxAppConnect files not found on Docker

Hello, I have had an issue for a year now that I have been punting on. But now I need to use the dmxAppConnect components but the browser is showing 404 Not Found. I have confirmed the files are …

Insert from Summernote in two tables

There is a strip tags formatter available, so just apply it to the $_POST variable in the insert action. <h1>title</h1> <p>text here</p> will be stored as title text here

Current page URL for query

You can use the browser component on the page and get the full page url by selecting: It will return a value like: https://your-site.com/page.html

Conditionnal zone, after connect

Hello, I want to display the name of the person who has connected instead of logging in, for that I was thinking of putting a condition, but I don’t know what condition to put to check that the person…

Is it possible to connect without putting a restriction on the page?

Is it possible to connect without putting a restriction on the page?

Load images in different sizes for desktop and mobile

Is there a way to load the images depending on the device? I would like to optimize my loading times for viewing on smartphones. I have already read this article. But it is from 2018, maybe there is…

Using a json data source for server action, how?

I have some JSON data that I will sometimes add things to. To keep things organised, I think it would be nice to have this in an external file. So this is the data for example Can I just make a myd…

Default calendar to All Day

My dynamic data is all showing up one day short (on multi day events). I suspect it’s because there is nothing indicating it’s all day?? How do I default the data source to All Day on every event?

API Project CORS - for Mobile App - help!

Here’s what works for me on iOS and Android. Yes, use credentials on all server connects. In config.xml under the platform android section add the following ( I’m pretty sure this defaults to false …

Turn off Geo tag dynamically?

What would be the most elegant way to dynamically turn the Geo tag on/off: <dmx-geolocation> ? There is no option in the module dynamic attribute settings. Or are there ways to turn off any HTML ele…

Shadow on header

Just add the Bootstrap .shadow class to your header like: <header class="ps-gradient shadow"> and make sure to add a relative position to it either using the Bootstrap .position-relative class: <he…

Zero value being stored as null

I have insert & update queries for a bunch of yes/no select fields with standard values 1 for yes and 0 for no. Yes is correctly storing the value as 1 but when I select No the 0 is not stored, inste…

Required Validation on API with JSON number Inputs

The required validation for number inputs in JSON format fails required validators as it expects form data, other validations however work fine. Is there any way to make the required validator supp…

Advice about using a spinner on only one record

I have a table generator element on my page, it list 10 records, each table row has an onclick on it, and the onclick loads another server action. i would like to display a progress spinner in front …

HTML, CSS file that is associated with a .js file issues

I am sure there is a very, very simple solution for this. I have an DIV accordion that has an associated .css and .js file needed. How do I attached the .js file the associated div?

2 different 'time' query results between staging and production?

Ok…turns out that somehow my product environment was on UTC time for the new Timezone Handling feature of the DB connections and all my dev and staging environments are on Driver Dependant as they sho…

Allowing users to use custom domains

Your question is too vague You’ll need to tell your users to create a CNAME record pointing to your domain On Wappler’s side you can grab the domain name being accessed through a $_SERVER variable: …

How to export data table

I have a datatable and the data is getting from mysql. I tried to export data from table in CSV format but it is not working properly. I couldn’t find any proper export docs in Wappler channel. I hav…

Wappler Tutorials

Can I check on the situation regarding these tutorials here - Thx M

Where to place main element

As you have it in the example is correct. Keep in mind that main is purely a semantic element like header and footer and has no further purpose. Despite that, it can be styled and manipulated like any…

Submit array of dynamic checkboxes to my SC API script

{{ $_POST["checkboxes_" + $index] }} Untested

Mobile API calls

I would like to know how to make API calls in subpages for mobile I’ve tried several ways but I don’t know where I’m going wrong

Rest API - JSON and Form

Hi Wapplers, I am calling a REST API successfully (an API that merges word doc templates into PDF). I am executing this function from a form on the client side, so I need the Data Type to be Form. I…

Database Changes History

I made a mistake and delete all my changes history, I am ready to publish my changes to staging. This is a new staging. I was wondering if there’s a way to to create new migration (init) (changes his…

How to validate data in server action

I’m trying to validate an entry on a server action. The post value of Level is 4 but it does not fail validation (server actions after that still run) What am I doing wrong?

Access Sorted Index in FormRepeat

Hello, I need the index of the form-repeat items after reordering them via the “sortable” option by drag and drop. As you can see below, I display the $index of the item as a Heading using a Dynamic …

Local storage breaking non-related api?

Hello, I’ve never played with local storage before, my goal is to cache a specific API/serverconnect call. I’ve created a local storage and applied it to the concerned serverconnect: When I load …

Need help getting App Connect Expressions to work with Tippy

I’m using Tippy to make some HTML tooltips, since the bootstrap ones don’t support exactly what I need when it comes to HTML support. I’ve got Tippy working, though app connect expressions don’t work…

Dropdown Toggle Button + Dynamic Attribute (Class Toggle)

I’ve created new page and added container and dropdown. Wanted to check if class toggle works but Data Bindings windows is empty. When I added a regular button it shows on the data bindings list but…

Between two dates no longer works

Expressions like these are not supported in the query builder. You can enter specific values and test.

Lazy load/preloader on data

You can use some placeholders as described here:

How to use Charts

Hi everybody, Is there tutorials / Docs about charts? I need to create several charts with my app data and don’t know how/where to start. Many thanks

How Do I Get Width and Height of Images Uploaded to AWS S3?

I’m uploading images to the AWS S3 file store using the Wappler “Sign Upload Url” server action. In this process, i want to store the image width and height as I need it to specify in the OpenGraph m…

How use sortable table with API data source?

I am getting data via API and displaying in a table via Data View. Can I make columns sortable? In my case, there is no server component, as in the example in the documentation. I use Bootstrap5 gener…

Not sure what I'm doing wrong with parameters in URL rewrite

You should not use the query manager here. It is only needed when you want to change the param value, not when you just want to read or use it on the page. All you need (after removing the query mana…

Sockets Stop When Navigating to a Page Using Browser Back Button

Hi. We have a page (A) which has socket element in NodeJS SPA. If I click on some link on page (B) to go to A, the socket connection is established and everything works well. Now, if I navigate to …

Assign a custom CSS file to a single container on a main HTML page?

Element styles will take precedence over class styles so you can apply a style to the exception elements. But also consider that the ! Important attribute has priority, so you may need to add that to …

Database data, local & remote target

If you have different and local and remote databases, you can indeed easy synchronize their schema by just switching to remote target and apply the schema changes. Or you can use the new publishing ma…

Validation not working on read only fields?

I don’t think it’s a bug. I think that is just the way it is. This link may provide you with a work around.

Cancel all pending queries?

I have a page that runs through a query that displays quite a bit of results. The issue i have is that i cannot do any work on the page until all queries have completed. Is there a way to have a que…

Connecting to socket server from an external app

Hi! I’m creating a mobile app with React Native. The last piece that’s missing for me is connecting to socket events from my Wappler web app. Is it possible to connect the react native app to the soc…

Is there a way to stop certain files uploading on NodeJS with docker

Hmmm, I’m not sure about Docker as I don’t use it but in your Wappler Settings there is an ‘Exclude’ option.

Reverse Proxy

Hello everyone We are trying to run on same droplet (DO) our application in node.js and a public website in Wordpress. We are looking to have domain.com running the Wordpress website and domain.com/…

Query results no output fieldname

I created a single query (screenshot below) and did a basic select by user_id with test value to see the results… but results only giving me user_id field, not the selected field… even if i add and re…

How to send a query parameter to a (server side data) server action and use the output through EJS

It took some time to understand server side data, I figured I’d share my documentation to help others In this example I’m loading the server action on a content page. I want 2 things: to have the …

Creating a table with dates and time slot for the next 5 years

Not really Wappler related, but I know there are some smart people in here. Using MariaBD I need to create the following: Slots on Thursday - Saturday between 10am & 4:30pm with half hour intervals …

Best Practice Multi Backend (Portal)

You could create a layout page for each portal and then add a security restrict server connect flow under the app settings to restrict access based on your roles.

Server Connect component - noload dynamic attribute - how to use

If the expression is true it won’t run the SC. So if you are waiting for parameters to be available just add a ! in front of them.

Layout/Partial alternative for a static site?

Create a web component as in Create a JS file in a JS folder or similar and enter the following code: class Navbar extends HTMLElement { constructor() { super() this.innerHTM…

Increment a value while repeating

This topic may give you a idea of the variable setup (There’s more I can try find again if you need):

I dont see Database Action in -> Page Flow

From the release notes: Note the Capacitor SQLite Connector is a beta extension now to let your try to new functionality first. So make sure you have chosen to run experimental options and have ena…

Move items around on page

I inserted an image in the header portion of the body of the page but it is not at the top of the page where I want it. I cannot figure out how to move it up there. It appears that I cannot just dra…

Transactions or stored procedures or custom SQL

Hi, My use case is as follows: I want to update a main table and multiple linked sub tables (which may have multiple inserts each) in MySQL. The way I would logically think to do this is to write a …

Display Server Connect Validation Error message anywhere

Is there a way to show my server connect validation error anywhere on page If I do not want to assign my server connect validation error to a field in server connect? For instance show at the bottom o…

Animated Down Chevron

Anybody know the best way to add an animated down Chevron to my full screen background image or even better, an overlay?

dmxConnectLib\/dmxConnect.php","line":125,"message":"Option \"value\" is required!","trace":"#0

Your Set Value steps HeureDebut and HeireFin have no value at the start. A set value needs a value even if it’s 0 or null

Loading TradingView Chart Widget with Dynamic Data (Dmx.parse)

Hi. Wrap your widget initialization code in a function. Then, in success of server action which gets the data, call this function. I am assuming here the data is in server connect. If the data is s…

Multi insert troubles

Thanks @Apple. I realised the front end is the problem and I am reverse engineering the generate form with multi inserts so I can incorporate a not so basic query as values for the fields. Slowly bu…

Set Value - Server Connect

I would create another variable (Set Value var_last_date2 for example) and maybe use a condition to update that variable with the value from var_last_date whenever you need to.

How to make a <script> with dynamic "src" parameter?

If the dynamic data is coming from the database and therefore from Server Connect you can always use EJS templating to SSR the script src attribute.

UPS shipping API

Anyone out there in wappler land have any experience integrating wappler with the UPS shipping API? Just curious. I’m about to dig in…

API action: Server returned code: 406

Hi, I’m seeing this when attempting to define the schema an API call. The call works perfectly in Insomnia/Postman. The returned content-type is application/json; charset=utf-8 Is this the problem…

Where is Wappler root on a Mac?

Probably a stupid question but where is Wappler root directory on a Mac so I can put a custom extension in there?

Download files with urls

Correctly is <!doctype html> <html> <head> <base href="/"> <title>Untitled Document</title> </head> <body> <?php //The URL of the file that you want to download. $url = $_GET['ur…

Create time slots

Hello, I am looking to create time slots in advance for my customers thanks to a start date and time and an end date and time, as well as with a variable that will increase by 1 hour each time a slot …

Animation when reloading the dataset

Is there a way to activate the animations when only the data set is loaded? Many thanks for your help

Tutorial requested: Implement Push Notifications

Hey there! Has anyone already tried to implement Push Notifications in their app using OneSignal or Pusher or another service? I would love to see how you’ve done it with a course or tutorial or a …

Fedora 36 can't update wappler

Yes the current inline update isn’t working well on Fedora because the software installed doesn’t see it as update. We are still looking for better ways to implement it. For now you can use:

Help needed with Send Mail

The To Email value in the send mail should just be $value This will be each address as it repeats

Converting date issues?

dateVar.datetime.addDays('-7') should be dateVar.datetime.addDays(-7) - there should be no quotes around the value.

Mailer Issue on SMTP

Your SMTP server just doesn’t allow using an email different than the SMTP account in the sender field. Try using the same mail there instead: and leave the reply to as it is now.

How to add an icon to a browser tab

I can see the icon visiting your site: But also you don’t need the full url to the image like: <link rel="icon" type="image/png" href="https://www.PriorAuthorization.us/assets/images/icon.png" siz…

Form with repeat elements on readonly="true" for some of the repeated checkboxes

Is it possible to have a dmx-bind for disabled=“true” I repeat through form checkboxes fields and want to only readonly on some of the repeated checkboxes

Filter repeat in masonry

so what I want to be able to filter the list by either the first name (member_name) or surname (member_surname) Cheers @Patrick that worked like a charm

Adding images and videos to table cells

Hello Team, I have so far followed the following article. I have populated the table just fine. I now need to begin adding data to it. The goal is to have a user be able to come and update the t…

How to manually setup TLS and docker on server

So it turns out there I was bringing over the wrong certs and a daeom file needed to be created. Got it all working now.

How to add an Aileron-Regular.otf Font to Wappler

Hey Bruce, I’m not sure what you need a command line for - but I hope this is helpful: https://helpx.adobe.com/fonts/using/add-fonts-website.html At some point they give you embed code that you can …

Setting value in session variable so it can be used in other API scripts

Thank you all for your replies. They all confirm what I already knew but, sadly, didn’t explain why it wasn’t working for me! I tried using the Session Storage Manager just to satisfy my conviction t…

Staying logged in, multiple domains

I want to remain logged in when going to a different subdomain. This used to work by adding .domain1.app in my site security cookie options. Then if I am on sub.domain1.app and switch to different.d…

Login page redirecting on API call

It seems I had a problem with the template. I have created a specific template for login. How can I navigate the user on login success without using the browser dynamic event then? I have also disa…

Gmail API

Solution found The settings on the Google side were executed correctly. Therefore, the post above can be used as a guide if you have a similar task. For correct operation, there was not enough addit…

JSON array, how to iterate through it?

I’m very new to wappler, please excuse if this is a dumb question, I haven’t found anything about this topic though. I’m setting up a website for our company and have gotten quite far actually. I try …

Environmental Variables for URL in API Data Source

Step-by-step: Create an API (Server Action) Add a Set Value (and set to output) Add a Server Connect component to your page linked to the API file you just made (I’m going to assume I gave it an …

Filtering Data View

Is it possible somehow using the Data View component to effectively filter data using nested arrays? In more detail. Data comes from the server with the following structure: It is necessary to le…

ER_NO_SUCH_TABLE when using Publish Manager and Issue trying to add it back as subtable

FYI, I couldn’t add a subtable to a table I had created outside of Wappler until I changed the primary key data type from “int” to “int unsigned”. After I did that I let me add a subtable.

Server Connect Join Collections

If I have 2 collections I join, but one does not have the matching field, no results display. Is there a way to still have the resulting field show? My aim is to then add values from each collecti…

Error when using IN operator

Please check Patrick’s reply: your value needs to be an array for the IN filtering. So if your GET value is a comma separated list of values, then you need to split it like {{$_GET.group_filter.spli…

Unable to s3

I had a similar problem today. Mine was the S3 connector doesn’t work with node 12 anymore. Needed to change this to node 14 in project settings. Then redeployed and it all worked again.

How to run a JS function after DOM is complete && server connect is done?

You are probably correct. Here’s an update… Add a toggle element named dom_loaded to the layout. Add this javascript that will check the toggle when the DOM is loaded: window.addEventListener('…

Camera photos from Mobile devices not getting uploaded

It was the file size. reducing the quantity in camera settings solved the issue. looks like heavy files like in my case 3MB and above cause this.

Local Host Browser not Displaying Includes

How did you add these includes? Did you enter the path by hand? The path must be relative to the file ../includes, not the root /includes.

How to post image/file with api?

Hi, can someone advise on how to use the API of the server connect to post image files from for example postman? I need to use the api to create posts. It works when only posting the post text, but I…

Paging return to a populated page if last existing row in a page is deleted

Shouldn’t you do the check after serverconnectNotesList has been loaded and you know the new page total.

Expected an identifier and instead saw '.'

I would try a different name for your server connect and avoid what may turn out to be a reserved word (like “delete”).

Can't always add validation to input field

Well just make sure your input has a type="text" added.

File upload component localization and error in console

Wappler Version : 5.2.4 Operating System : MacOS 10.15.7 Server Model: Wappler Local Server Database Type: none Hosting Type: localhost How to make the inscriptions in the File Upload not transla…

Add more form fields for repeating questions

I am looking for the right way on how to do this, I have a form that has the same type of question for customers, but sometime one customer needs to enter it 1 time, where another might have to enter …

Calling Stored Procedure Error

Hi, When I call the following MySQL stored Procedure using a Custom Query I get the following error; Cannot read properties of undefined (reading ‘name’) Can anyone explain why? Many thanks Charl…

Custom Stripe Payment Form

Hi All, I am following this tutorial to create a custom stripe payment form: https://docs.wappler.io/t/stripe-custom-checkout-forms/31700 I followed all steps carefully, however when I add the “stri…

Write sent email data to database

Hello again How can I save the sent email (including loaded data sets) in a database? Many thanks for your help.

How import file via upload form

I still have no idea what you are trying to achieve, But here is a screenshot of a simple upload file and insert into database. Not sure that it helps as I have no idea what you are trying to do,

Check integer value and return text

You’re trying to apply min (a function for numbers only) to the On Hand or Will Be Ordered strings I’m not sure why you’re using min if accessing [0] element of the array as there should only be one…

Mailer does not send dynamic content

You need to add the dynamic data in the email template when you load it in the mailer step, not on the template file itself. The template file should not have any app connect includes or components.

Need help on Routing: Unable to run script on content page

Hi, just want to run inline script on my content page. However, I found out that the script doesn’t work on the content page. Just try out simple script as follows. I also tried external script and f…

Validate check for null value

@Apple after thinking of what @Hyperbytes suggested >0 I tried this and it work

Database output not it source code

Hello there, to display dynamic content on our websites we use a MySQL-Database where all the pages are stored. The problem is, that this content isn’t directly displayed in the source code (The page…

Installing Wappler on Arch Linux in 2022

I followed Installing wappler on Arch Linux to install Wappler on Manjaro and ran into some issues. I figured out how to solve them so here you go: Download the .deb from Wappler Install debtap …

I'm looking for a way to use email templates without Bootstrap and NodeJS

You can do it like: {{projektdaten.data.showProjektDetails.anrede == 1 ? 'Frau' : 'Herr'}}

How to change css property values dynamically?

You might want to try the Style dynamic attribute on the body.

Allow Deactivate tooltip on html tags in Code View

You can turn hover off or add a longer delay in settings (bottom left cog)

Automatic vertical scrolling

You need to put some height to your swiper. For example #swiper1 {height: 1200px;} or similar. Just customize it to suit your needs.

Date picker blank after update

It was a date formatting issue. It had the right data, it just would not display it.

First letter of string

Regarding the 1st question, to obtain the first character of a string: Set Value firstLetter = $_POST.some_form_value[0] Don’t know the exact answer to your 2nd question, but you’d probably have to …

Data Limits for a GET Versus POST Call to a Server Action

I’m making a GET call to a server action where one of the parameters is the content of an email. In testing, this has created a “parameters too large” error when the email message is greater than arou…

Difference between Array and Multiple in server action

Hi, For a server action API, I know I can declare, in its Input section, variables that I will pass as parameters to it, so those variables can be referenced in the server action steps. I’m trying t…

MacBook air docker monterey error

Trying to install wappler on on 2017 MacBook air having problems with docker error: TypeError: Cannot read properties of undefined (reading 'loadCell') at e._updateModel (file:///Applications/Wappler…

Initiating javascript on static event focus on text input

<script> function separatorInit() { easyNumberSeparator({ selector: '.number-separator' }) } </script> <input class=".number-separator" onblur="separatorInit()">

Api header value is not populating

Hi, I’m having problems passing the value to my API headers. It’s not populating the value that I got from other data response. I have tried both API headers and Dynamic Attributes: API headers. Any…

Loon SDK set up

Hi, I’m trying to set-up the Loom SDK embded in a page. I keep getting the following: Uncaught TypeError: Failed to resolve module specifier “@loomhq/record-sdk”. Relative references must start with…

Image compression, best practices?

Hey all, how have you done the following? We’re letting users upload product images. This brings the concern of a big file size. Ideally the image is as optimized as possible (highest quality with t…

How to get the token response with post API

Here is an example of how I authenticate. sometimes you have combine the user and password info and then encrypt it to base 64. I create variables to combine and then encrypt. You have to make sure…

Summernote Not Adding Alt Tags in Wappler 3.9.7

Hello there @teodor… I’m using Summernote with Wappler 3.9.7 to create content for email sending. When I check the spammyness of the emails, I’m losing 0.5/10 for my images not having an ALT tag. D…

Creating tables needed for security and logins

Hi all, I followed the instructions from this video - https://youtu.be/tzz_KoGV8Tg A very helpful and useful channel, however, by following the instructions I have come into this problem. Any help w…

SSL Cert config for DB Connection

using PGSQL the dev db does not have SSL support. PROD DB has SSL support and has been marked required as well. if we choose SSL cert here, dev breaks if do not choose, prod breaks. we deploy t…

Code editor (Monaco) duplicate line shortcut no longer working on linux

In monaco editor all keybindings are hardcoded and can not be changed. I had to lookup in the monaco source code to see what the keybinding is, for linux it is ctrl+alt+shift+down.

Cannot bind a negative value to a range slider

Just change these attributes to static. I just tested and it appears to work fine.

Resetting Variables in repeat

Ah. The white one can be the same as the green. Just put a ! at the start !ds_selected_prodID.data.where(productID, autoID, '===').hasItems()

Use a Javascript Object in Server Connect

Just in case anyone is looking at this for a solution in the future. Here’s how you use can use a javascript array (object) in a server connect. Create an API action that receives your array as a …

How to access routes.json?

I would like to have the administrator of the site select the link for a dynamic navigation bar as in For this I need to be able to access the routes.json file.

Mysql connection with ; in password is not working

the next morning… So, after the restart, my SQL data in “online” was deleted . I entered it again and now the upload works . But… My password is always shortened to 6 characters. So put password …

Need help creating a Navigations bar

My navingation bar would have items like Home, About us, products and several others…i need the menu items to display dynamiclly and under sections like about us there would be a dropdown that is also…

Is there any documentation on the While server action?

Example: Set Value (global) slug = "myslug" Set Value (global) inserted = false Set Value (global) i = 0 While !inserted: Set Value currentSlug = slug Condition i > 0: Set Value curren…

Getting my project online

Thank you for the info. After some trial and error, I’ve finally found the correct “ftp” settings. Thank you for your help

How to use paged query

How about not using Data Detail but instead create a query which returns a single record and then load that query when an item is clicked. So you’re replacing Data Detail… Select with ServerConnect Lo…

Is config.json overwritten on project switch?

Then you the to edit the target specific config, stored in: .wappler/targets/target_name/app/config/config.json

How to make sure a server action that runs onchange/onupdated starts from the beginning

I have never seen a case where a SA changes values midway. Each run is completely new and ‘from the beginning’. What you might be seeing is an overlap of SA execution. So the first one starts, and …

Error with local host since reinstall

So have found out how to do this and here is the answer if anyone else has the problem. Open terminal and type: lsof -i tcp:3000 It will then list the item that is in use, then type: kill -9 PID#

Add a number to a variable when I press a button

Try this: dmx-on:click=“code.setValue(code.value.substr(0, code.value.length()-2))”> // or dmx-on:click=“code.setValue(code.value.substr(0, code.value.length()-1))”>

URL Rewrite and IIS

Hi everyone, I have read the URL rewriting tutorial and I’ve try to follow it carefully, but I have this problem. Before doing that, my detail page had syntax like this: news-details.aspx? ID = 147 …

Starting a page flow when a section becomes visible upon scroll?

Hey everyone I have a site where i am scrolling down a single page and I have a few sections. I want page flows to trigger when a user scrolls into a new section for triggering animations and such. I…

How to get the response from my API workflow to Data bindings

This is in relation of my first ticket: I would also like to ask if how would I get the response from my apiAthenticate (on the left side) to the data bindings (right-side). I would love to put t…

Hashing Passwords in Existing Database

Hi all, I’ve inherited quite a large database (MariaDB) for a new project, at present the PW fields are all clear text so I’ll need to hash them. On the front-end Im planning on creating a user regis…

Help Binding a Repeat

If that’s your data view then what’s the issue? You select dmx-bind:repeat="data_viewInvoices.data" as an expression for the repeat children and bind your expressions inside it like {{Invoice.Total}…

Rows as Columns Pivot Table

Hi, I want to generate the following xml using the xml export function which will get its data from a db query which uses two tables, machines and images. They are linked via a left join. indent pre…

Wappler + MongoDB + Mongoose + GridFS

My question is to everyone who has worked with MongoDB in Wappler and @patrick, as he probably knows the answer. I use a custom extension to connect to MongoDB using Mongoose. Everything is fine with…

Online files are not executed :/

The issue was fixed by changing paths to page relative.

Set up a log system

I would like to set up a log system in which all user changes to the various queries are saved. Here’s an example $user changed in area $area [$timestamp]: $variable1 from value1 to value2 $variab…

Autocomplete without forced selection or Show/Hide autocomplete/text field

In the past I have used various autocomplete solutions and I was always able to either “force selection” or just let the user type what ever they wanted. I need this functionality because the autocom…

How to Disable a button?

Brad, this is a CSS class, not an HTML attribute. You need to add the attribute, as the class won’t disable your button. CSS is used to style elements, not to change the way they function.

Validating form without submitting

I see that there are options for validating individual fields, and on submitting the form it validates all of them (having validations), is there a way to validate the form without having to submit it…

Select data missing from detail view

On my home page I have a set of cards that when clicked on go to another page that provides a more detailed view. This is only some of the records are showing up on the page 2. It’s all coming from…

Postgres - Filtering JSONB Array

Figured out a solution. In case anybody has the same issue: use the contains statement for JSONB instead: WHERE labels::jsonb @> '["4"]'; and if you want to use a parameter for the value then add …

Connecting to older Microsoft SQL Server

Hi There, after loosing all my hair (now cheaper to get an haircut) i have found the issue that i had, so better share with all of you. For those people with older versions of SQL, create a sql conn…

Trigger Server Connect reload after any Server Connect form executes

Hi, I want to trigger a Server Connect reload after any server connect form executes. Is there a way to this globally? I don’t want to edit every server connect form to trigger this other SC reload T…

E commerce blocks/templates

Hi, hope you’re all well. I am wanting to use E commerce blocks for my project, however it comes up with “this block doesn’t have a template yet” I am wondering if there is any way of getting an E co…

Compiling backend source code

Is there any way to encrypt/compile the backend source code ? Sometimes, there is a regulatory requirement that the “application” should be hosted on “client-owned servers”. Deployment Type: Docker …

Launch command linux shell

Hello, I have two programs on my linux server that I would like to launch two programs in s linuxhell, is it possible to do it via wappler? thank you Morgan

Problems inserting data in the database

Seems your direct database connection is not working because you don’t have remote access to it from your IP.

Deployed docker not working as it was before name and type change

To get it fixed I stopped the running container, logged into ssh and deleted all the stopped containers. Then I created a new db connection in targets under the project settings and then deployed agai…

Client-side .sort ascending/descending

For desc just add the .reverse() formatter after the sort

Workplace Calendar

I am asking for ideas as to how to proceed with using an events calendar for a system in which: an employer can add holidays and non-working days as events when an employee applies for vacation, the…

Routing Not Working

Hello Team, I am trying to make Routing working, but it doesn’t seem to be working. I am just making basic project with PHP and Apache web server. Below are my settings

urlEncode not available

Wappler Version : 3.3.2 Operating System : mac Expected behavior There should be a urlEncode option on the Data Formats for text Actual behavior It is not available How to reproduce Looks like thi…

When to use parallel action?

Hi! I just saw the “parallel” action in server connect, never noticed it before. I couldn’t find any information regarding this action in the community. I assume that it does what the name suggests …

Font awesome not showing in properties panel

Badges and icons are now handled as child elements (which more closely reflects their relationship in HTML) rather than properties of the button. It was a change in a very recent update.

Opening Current Project

Hi, After opening the project click this button: And then you can select which page you want to open

Class Toggle by date

I’m trying to set the background on my text based on a date. I have a text input on a page where I can select the date. I want to use bg-danger to highlight fields in my table if they have the selec…

Download File from S3 bucket

@patrick added a Download File Server Action for S3 in 3.7.5

Data picker depending on the number of participants. And number formatting problem

I would like the value (price) to be taken from the respective column according to how many participants. Is there a guide for this? Then I have a problem with the formatting of the numbers. Even if…

How to preserve login on update node/docker?

Node/ Docker One thing i have never been able to resolve is how to preserve login credentials across an update with node. Every time i update a file i get logged out. I assume this is linked to a ser…

Javascript function not working in preview mode but working in browser

Hi, I’ve got a really weird problem. I wrote a Javascript function that updates an app connect variable, which then automatically refreshes form inputs and components that are linked to the variable v…

To SPA or not SPA, that is my Question... AND writing a CMS from scratch

I’ve searched and read, and read more. In the case of https://webill.net/, this SPA was started over 3 years ago. I just asked Marcel about that here. While its nice, and I’m certainly not knocking…

Deployment to Digital Ocean Missing Files

Wappler deployments to DO do not upload your actual files like assets etc, you need to manually push them by going to the file section and hitting upload while in your production target (bottom left) …

Calendar not show after update

Calendar not show anything, dates and events(nothing) after update to v5.1.0. Before : After : Error in Chrome :

How to use for select option to post to the database

Hi am new to Wappler, I have created a simple form with two text fields and when I run the form on the browser all seem to work well and the data is posted to MySQL database. When I introduce a simple…

Repeating dynamic card

Hello, just create a row> col > card structure and apply repeat children to the row. Adjust the col size as per your needs.

Error installing Traefik

This is because you are already running your web site on port 80. So you need to remove the port in your normal site options. See our docs about Traefik usage

SQlite Error when trying to perform server action

Dropping it in the app folder like @patrick suggested did the trick

Data binding works in Modal but not on page WHY?

So a workaround would be to try creating your own client side component, which would parse the bindings in your table field. I can’t seem to find the post where Patick shared a sample code in recent …

Help with outputting record with greatest date and added days

I am working on a to do list I have two fields start_date and days I want to be able to add days to the start_date and output the highest (oldest) date in the table once this is done I know how to …

ENV variables – dynamic data picker not functioning

While ENV vars bug is being looked at (can’t set them using the data picker), does anyone have a work-around I can use to protect my database login credentials? Thank you

How to Create Event On calender

I Have used SCRUD and created Events In Admin module with start date , time, location etc and created query API to show the event table in the user module I want all these Events to show automatical…

How-to Form Fields with 'Required' indicators?

Looks like we have to manually add an asterisk to an input field to do this, which would require adding another container to each input area? I’m using the floating labels and adding a cotainer might …

How to disable Submit button after data submission success

This solution is similar to what @bpj and @ben were suggesting. My interpretation was to make and use a var bound to the db insert result (the Primary Key of the new record) which would then be bou…

S3 Upload Control and File Size

Is there any way with the S3 Upload Control to limit the size of the file that is uploaded?

Condition in Server Connect not working

Another option is set the x value near the beginning to $index And the condition as x_global == 0 You wouldn’t need to change it within the condition then

Database query not showing in select field

I am trying to populate a select drop down field with dynamic data from a database query. Seen here If I check the query I get results as seen here Here is my code

How to create dynamic filtering in db?

My end-users can create “Activity Types” with their own custom fields, so they can create records like: { "id": 324714, "by_user": 1, "date_time": "2022-10-14T08:39:59.0…

Data store component not working

Hi, I setup a test page for data store and session storage. Only session storage is working. Bellow are screenshots. Thanks in advance for your feedback

Bootstrap5 Table Sortable Headers not Working

It’s an old video heather but the technique is the same. One common mistake is using “SELECT * FROM…” ; for sortable headers the fields must be specified specifically I.e “SELECT field1, field2, fiel…

Select Multi Select

If you need a comma separated array or just a single value array you can use the flatten function followed by a split (split if none comma separated) Single value array get_all_users.flatten('id')…

How to put data bindings in JSON field of API action?

I made a server action with the ‘api action’. Then I want to use a data binding for an ID: However, in this example you can see it throws an error, which doesn’t allow me to save. I need a way to…

Random record issue, SQLite and MySQL incompatibility

Added API action to exclude list in system settings, guess that will have to be the solution

Supplement database variable with query variable

I am trying to realize a variable to be replaced. In the modal it workt but does not directly on the page. What am I doing wrong? I am grateful for your help!

Custom query, results not passing through to next stage

Wappler Version : 5.2.1 Operating System : win 11 Server Model: node Database Type: SQLite Hosting Type: wappler node local Expected behavior What do you think should happen? results from cust…

How to share github repository?

V5.2.0 - Windows - Nodejs Hi! I’m not sure if this is a bug, or something that we do wrong. I started a new Wappler project that I’d like to work on together with a friend. I created the project, …

Security restrict, how to redirect to login page if not logged in? Wappler 5.2.0

Have you added the Server Connect Action to the restricted page(s)?

How to set text input value

This has been improved in Wappler 5.2.1. Now there are two new dynamic events for the checkboxes - checked and unchecked, so you can run different actions depending on the checkbox status.

Database Updater question:what is the "Condition" column?

So if you want to check if the input sends an empty value and don’t want to update the field in the database you need to use: {{$_POST.EmpDateTo_2 != ''}}

"JavaScript heap out of memory" with big task

I’m building integrations to sync API data to my DB. It works all fine with “small” amount of records (1K-10K) but when I tried to do a large set it crashed the app. I see that it crashed when it came…

Form Repeat new feature to access items

Hi, I’ve been following this thread: Access Form Repeat data and was happy to see that a new feature to access items within form repeat was added in Wappler 5.0.3: Wappler 5.0.3 Released However, I …

Geolocation via an API

You can’t access that service with XMLHttpRequest, they didn’t add the Control-Allow-Origin header. It is not you that has to add the header, the service has to add it. You could try to contact them a…

Please help! How do I get the payment method id from a Stripe Card Element?

How do I get the payment method id from a Stripe Card Element? I have the card element on my page. I can make payment intents go through just fine. I just need to return the newly created payment met…

How to find index of a particular item in an array

Oh i just realised that the syntax is the same as that for json ...where('gameid','B1','==')[0].A_Score

Error when trying to add multi reference field to table

I confronted a similar issue yesterday. I’ve understood what causes the problem, so I decided to share. When you make relations between tables, foreign key of one table and the primary key of anothe…

Can't modify DB, can't add new table, no more seed and change files

Well it seems somehow you have lost your migration files. You can reset the history and start over again:

Problem sent mail

Hi, looks like the {{query2[0].C_Email}} is empty. Try to creating a Set Value after Database Query “query2” with same value of the To Email: Database Query: query2 Set Value test_email = {{query2[0…

How to Organize Page Layout

Hi, I am new to Wapler coming from things like Wordpress and Bubble where the page layout was usually done for you. So, I am not sure when and where to use the elements for designing a layout (Header,…

How to create error pages for routes

Is there a way within Wappler for creating error pages (401 etc.) with routes or do I have to manually edit the .htaccess file? Thanks for your help!

How to Reference the Value of an Input That Has a `dmx-bind:id`?

I have a text input in a repeat, so it has a dynamic id like this: dmx-bind:id="i_social_media_post_link_{{location}}" I now want to reference the value of this input in a data store update: what do…

Database Insert with subtable

I have managed to get this to work, fetching an API response, and inserting data into my database primary and sub table, however, the only way I could make it work was to adjust my database column nam…

Done with Wappler

Can someone please explain why none of the Stripe components work within Wappler? I have made countless community posts and cannot get an answer. I am just about at my whits end and am getting ready t…

Validation results

I’d like to learn how to get the validation result of multiple inputs and save this value. Background I’ve built a multipart form with 3 sections, each section will have all validations in the visib…

Create Billing Portal Session - Not working

The workflow action Create Billing Portal Session does nothing. I have it set up on a server connect form with a submit button and literally nothing happens.

Layout Pages and Security

Working on my application today, hacking my way through it and I am trying to understand how I should have security setup. I have a admin dashboard were a true admin would log into and create objects…

Reading a pdf

If you are using Node you can try my custom module

Localised dates and time - French and others

Hi everyone! I would like to share with you my experience with date formatting when using Wappler. I am a French speaker and we waste a lot of time on what is obvious to others. I would like to tha…

Pwa

No manifest.json is placed in the root directory as is sw.js (the service worker) To activate the service worker, the page needs to call app.js. This file checks to see if the browser supports the…

Node.js Server actions

I am quite new to node.js. I basically know it is javascript running the backend. My questions is: If I start a server action and the user navigates to another page while the action is executing, wil…

Iframe youtube cookies?

Great thanks Ben no error on that site. Trying to create something along the same lines…

Taking a Stripe Payment Using SCA Compatible Payment Intents and Stripe Elements - Part 1

Overview of SCA As you may know, Europe now has a new law regarding credit card payments known as SCA - Strong Customer Authorisation. While the law has many parts, the key part we need to be aware…

Saving cards with Stripe

Hello all, I am having trouble with Stripe. I have the account set up and my workflow for creating a new customer. Next I need to save payment methods. This is not a straight forward e-commerce app. …

How to repeat data in JSON?

But when using a JSON field then you should be able to directly use it as a repeat source, without any other formatting required.

Enable and Disable Button - how to

Thanks @mohif1995 and @Sorry_Duh but, I considered the component property and solved it like this: For button A --> on click event --> A.disable=‘false’ For button B --> on dynamic attributes --> Va…

How to process multiple transactions of a user at the same time

A user is doing multiple transaction considering opening balance and closing balance of wallet. Using API he is doing more than thousands of transaction in a minute. The problem arises is 3 transactio…

Role access, log system and form in to an wordpress page

Hello, I have already sent these questions to the How To team for the video meeting. If I can’t be helped there, I’ll do it again here. I have the following questions: (I use a wamp server) 1. How …

I am looking for instructions for various elements

Realization of an image slideshow Provision of images in different image sizes and file sizes for different end devices Create a calendar – Show projects in calendar in different colors by status W…

Masonry not displaying images correctly

I’ve spent 60+ mins on this already. This used to work - not quite sure when it stopped. http://vehicles.lakemirrorcarshow.com/guest/vehicle_images?ev=SHOW If you use the pulldown to change events,…

Hierarchical dynamic select field

I have 3 tables that are hierarchical of each other Classes is a dependent of Sections and Sections is a dependent of Departments or I can say Department is the parent, sections is a child of departme…

S3 Multi Upload - Files Property is Blank After Upload

Wappler Version : 5.1.1 Operating System : W10 Server Model: NodeJS Expected behavior When using S3 File Upload option on client side, the component should have all file information available under…

Filter columns doesn't show any column to filter on Database Single Query

Wappler 5.0.1 NodeJS + PostgreSQL Steps: Database Single Query Filter columns Filter columns doesn’t show any column to filter

List unstyled

When i create a list-group in the app structure i can’t apply list-unstyled (does not work). So i added the code (from bootstrap documentation) below in the code area : <ul class="list-unstyled"> <…

S3 Multi Upload $_GET Inputs

Hi fellow Wappler users & team, I’m wondering if anyone has any advice on how to get this working. I am after creating a page called ‘additionaldocuments’ for uploading additional documents and imag…

Security Session vanishes when NodeJS server reloads

You need redis installed for the sessions to be saved: If you are not using the local dev server, I believe you turn redis on in the docker target settings.

File Input - GET instead of POST?

I don’t know if it’s possible for you, but I would split it into 2 SC forms that POST the data. GET has restrictions on the length you can send so you may run into problems if your files could be larg…

Dynamic Title in meta tag

You need to change the App Root option to Page instead of Body, so that dynamic data can be used for the meta tags:

Error when deploying NodeJS Sharp module in NodeJS with docker

When using docker and NodeJS please make sure Debian 11 bullseye is selected in the project target options as OS. It is also the new default.

Pagination - adding a "loader" until the next page is loaded

Thanks the only issue i now have is… i have a scheduler that “refreshes” every 5 seconds… ill just have to find a way to do this… ++ ok found a work around ++ Just added a offsetprev on the pagina…

Docker-compose command not found

Too many time today haha. I’ve fixed this by enabling compatibility mode in the docker settings. So I’ll mark this as not-a-bug, although it’s perhaps time to upgrade to V2?

Dynamic image not displaying with src

If you change your mysql data for Profile_url to /madikroma/imagePr/business/118/Profile/businessman.jpg Then it should display

SQL Server Query not returning results

Running a query against the local database returns no results. From what I can tell it appears the db gets no request. What could be stopping the request from reaching the db?

Can't deploy error

Just to check now that sharp is installed are you still having deploy errors? If all is okay here is a link to the solution for other readers:

Cannot Install Sharp Node Package on Mac

Thanks was able to fix this. My mac was flagging as “unidentified” so I had to go and manually open up the file to tell my mac it was safe and then picked up and worked!

How to create dropdowns that leave out values that are selected in previous dropdowns?

Hi! I need to create a field mapping flow, so let’s say there are two lists: List 1: call_id, user_id, date List 2: callid, user, date_created I want my users to connect the correct fields t…

Using App Connect data binding with mkCharts

Here the javascript rewritter as App Connect Component: dmx.Component('circle-chart', { attributes: { percent: { type: Number, default: 0 }, color: { type: String, …

Copy an array item to clipboard

As said in the title, I need to copy the array item’s value to the computer’s clipboard. How can I do that?

Is Conditional Date Formatting Possible on an Input?

I’m afraid there’s no way to do check this and apply different formats for this condition inside the date picker.

File upload issue

It’s due to the way that node servers work and the fact that Wappler has to cater for multiple server technologies Your upload path is correct /public/faktury This is required as the path to the di…

Importing Existing Server in Resource Manager

This issue was resolved. I just added the wrong SSH key in my server. It was looking for a rsa key that was not yet created in my end at the time. ed25519 was created.

Not working logout button

Finally solved this issue: it was me: making this server connection load inside a link, so it was trying to loading the link (#) instead of the server connect. Make it a paragraph and worked fine! Th…

Formating Chart Data Results

After looking over the other concerns about formatting numbers in charts, I will bring up the subject again to see if there’s been any update that covers my question. Can the chart data when hovering…

Help with API response - format JSON

Looks a bit messy and slow but does it’s job

How to reference array values in another table?

Hi! I’m setting up integrations as data sources, and my users will create their own workflows for these integrations. I’d like to create for each integration separate actions (based on the integratio…

How to get field names from schema from API data

I am pulling data from an API. I would like to be able to put the field names from the returned data to the browser. Here is my situation, I use a 3rd party API that deals with PDFs. I’m trying to…

Help needed - problem creating my first project with Node.js

This happened to me when I first installed wappler on my windows machine recently, even after node was installed on the pc. A simple windows restart worked for me, you too give it a try.

How to make a video responsive to all devices

Hello, I want to insert videos in my site but I have tried making it fit the screen sizes of all devices but I have failed. Any help on how I can do it. same video fits responsively depending on the s…

Project files not getting updated to v5.1.4

Hi, MacOS, ASP.NET I’m updating existing projects to Wappler v5.1.4 and one of the projects is not getting updated to the latest version. The project is correctly checking and showing the files that…

Mobile App - Electron build (poss bug but may be my setup)

I am trying to build a test Mobile App to Electron (Wappler v5.1.3) I have run the Wappler System Check and Electron Update from the project but when I try to build it to Electron using Wappler I get…

V5.1.4 - Font Awesome 6.2.0 CDN options not available

Unfortunately Font Awesome no longer offer a cdn version in version 6

Adding Data Sets To Charts

When adding data sets to charts, does each data set need a query? For instance, do I need a data set for each year if I am adding a line graph for each year of income totals? What I have so far is on…

Referencing $index of a repeat at higher level

Earlier, it used to be $parent.$index, or something like it. Now, we create a variable in the parent repeat, just above the child repeat, and set the value as $index. Then use that variable in the c…

Using reCAPTCHA for Conditional Attributes

How to use the reCAPTCHA condition to disable the submit button, so that the submit button stays disabled until the user verifies the CAPTCHA

Inserting dynamic data into a manifest.json

… something very very simple with php… if you can pass a var to a page, then why not!!! so i have gone back to this route… of php and encode json. And just passed the a few variables via the url… s…

Can I do asymmetric encryption in Wappler?

It looks like the encryption features are symmetric but I’m not certain. Can you confirm if asymmetric is available?

Why am i missing items from my properties of a Button?

Looks like Wappler team made a change and it was very badly announced @George Perhaps it would be a good idea to add a “Looking for additional properties of this button?” text, to point out it mo…

Option to add button spinner is lost!

It’s not lost. The button spinners and icons are now available as child elements for the buttons in the elements picker dialog and in the App Structure:

Concurrent server queries

Is there a way to run a server connect query after another one completes on a page that doesn’t really have any buttons or actions. Just running in the backround? Here is what i have… I have a page…

Cannot find module - Urgent help needed

You should never do that Brian… as there might be OS dependent modules and for example your local windows node_modules won’t work on Linux server … When changing package.json - you should just run n…

PDF reports

I don’t think he’s joking. He’s referring to the custom extensions available for PHP and NodeJS:

ARGON 2id - invalid ELF header error

well as I said you should run npm install on your server - and how this is done si dependend on your server installation of NodeJS - usually if you a using a admin panel like Plesk or CPanel - there …

Encrypting sensitive data

I am storing some sensitive data like personal details of members and I want to make sure it’s rock solid and secure. My thinking is to create encryption keys to encrypt the data and create a decrypt …

PWA -manifest help - php => json

Solved… use… [ ] instead of { } "icons" => [ [ "src" => "{$manifestimage_512}", "sizes" => "512x512", "type" => "image/png" ], [ …

Font weight not respected - different display in Wappler and browsers

You added Roboto weight 300 as your base font, that’s why 700 is not available. If you want to use different font-weight options, yo’d better include the font on your page, selecting the font-weights…

Displaying users entries on the Dynamic Modal

I got it to work by following this documentation guide - except with minor change, instead of button I used paragraph and numbered the input using a variable value on a click event.

Swiper not working if image file name has any spaces in it

Thats not a Wappler issue. It’s just bad practice to have spaces and special characters in file names for the web.

How do I make queries on json object type fields?

How do I make queries on json object type fields? When I use ‘IN’ operator it doesn’t work

Insert Date with milliseconds in a datetime(3) column MySQL

You could try to edit the action file, the parameter is probably defined as type datetime, change that to string, that should prevent the transform.

Error Install Node.js Package

I downloaded Wappler and connected it to Gitlab to clone a project. When the system checked for updated it installed Scoop Installer for Windows. It says to install a Node.js project it needs to ins…

Only show data in a repeat from an array

I’ve just managed to fix it the minute you sent that. The problem seems to be that I was setting the array contents when the serverconnect that gets the data for the repeat loads (Success Dynamic Eve…

GIT Error - request failed with status code: 404

an update: in github, there is another setting under oauth to allow access to org, had to enable that - after doing so, Wappler is able to work with the github project just fine. this sounds right! …

How to not include a file for syncing

Hi Jim, In the Wappler settings under FTP you can add the file name to the excluded list.

Automatically added scripts

I’m not using medium editor in any of my pages, but the scripts keep being added automatically when I remove the scripts, how do I prevent this from happening? Happens with other scripts that I don’t …

Cropping and Centering images before upload

Wappler newb here. I am curious if anyone knows of a way I can allow users to crop and center an image prior to upload. Like how it is on Facebook and Instagram. It doesn’t need to be as fancy as IG …

reCAPTCHA Validation Question

Thank you kindly, that seems to have worked, my form is validating.

Database Connection: how to connect to a local Microsoft SQL Server

Has anyone successfully connected to a local default SQL Server installation using “Database Connection”? I’ve tried different combinations of criteria; none has worked. –I can connect to the local d…

How to assign different db connections to Targets

https://docs.wappler.io/t/define-database-connection-settings-per-target/27577 The instructions don’t seem to be working. I expect to finish with 2 different db connections but always overwrite whate…

Error connecting to MS SQL Server

As we switched to newer MS SQL driver in Wappler called Tedious, seems named SQL Server addresses are no longer supported. You can convert them to normal addresses as suggested at:

What Is The Easiest Way to Create a Blog Section of Your Web Site?

Hi Wappler gang… I want to start creating a blog section on my product web site… so it will have its own local menu options like most recent posts, posts by category, most popular posts, etc etc. The…

No data showing on vertical table yet appears on horizontal

Your vertical table code should look like: <table class="table table-striped"> <tbody dmx-generator="bs5table" dmx-populate="api_GET_SD_Inspect_list_FULL.data.data.ins…

Design view inheritance rules - what are the good practise?

Maybe this will help you understand The video is based on Wappler v4 and Bootstrap v4. There may be differences when using other versions.

Countdown timer

A list of the different parts up to years: {{(((var1.datetime.secondsUntil(end_date)) / 31536000)).floor()}}y {{(((var1.datetime.secondsUntil(end_date))/ 86400)%365).floor()}}d {{(((var1.datetime.se…

Build a array of ID's with Server Connect Action to repeat through in Library action

First of all, I have never created, edited or purposefully created an array outside of what Wappler does automagically for you. So I think the solution I am looking for would be using an array, but ma…

Unicode Normalization

This question is specifically regarding Unicode Normalization / Account Takeover on registration forms. Does Wappler automatically handle ensuring canonical encoding is used across all the text and t…

Mailer Extension Question

Hi, I am trying to configure a contact form using the mailer extension. In going thru the steps outlined in the tutorial: https://docs.wappler.io/t/sending-form-data-to-email/2858, I get to the step …

Data in field

Unless I don’t understand what you are trying to do, I think you may be over thinking it? Why not just use your dollar figures as the select values? <select id="inp_PRODUCTO" class="form-select" name…

Trim USA off of Google Autocomplete Address

As server connect has no pos() style function I think the only method I can think of is to use split() to split the string into an array then rebuild the string in a repeat based on the count() of ele…

Dynamic form fields with insert command

I have a website that allows a client setup the form fields by selecting from a list of options. ALmost like a build your own website system.The options are saved in a database to display when the w…

Dynamic Table Value to Array

Hello all, So I have a form that contains a Bootstrap 5 responsive table that is populated with records from a custom db query. Each record in the table has a unique id (along with a bunch of other c…

Server Side Rendering (SSR) NodeJS and SEO concerns

Hi all! Is there a way to build full Server Side Rendering (SSR) NodeJS sites? Right now I know how to do metadata on server side, but I want to do ALL the document with SSR. Yes, it’s true Google …

PDF - Steps (that a low code user understands) to create a pdf using a 3rd party

I’ve been using Wappler for a couple of years now and it is an excellent low code development tool. I have for the past year or so been trying to work out how to generate a pdf from a webpage / report…

Randomizer function NodeJS - best practise (I am looking to use for some gamification)

Randomize all the items in a collection is a function in the backend. Before I go down the wrong rabbit hole - I’d like to understand the best practise approach to using this function. I have two us…

Dynamic attribute show not working correctly

I have a nodejs project with Bootstrap 5 accordion with menu categories In each menu category are 1 or many menu items Each menu item has a button that when clicked opens a modal with that menu item…

SQLite Database error and system check error

Can somebody please help? I had to delete a couple of multi-reference tables and I started getting an error without further description. I noticed the multi-reference tables are not deleted either - …

New Project Setup Question

If you have XAMPP running as you show then your first setting for “Own Server” Access Type Local folder should be http://localhost/PHP-Setup so that the Apache server running at default port :80 …

Cookie Confusion - How Can I Read a Cookie Value on Another Page?

@teodor, THANK YOU SOO MUCH! Yes, that was it… thank you for being there even on a Sunday!

Is it posible to autogenerate characters at the server connect level?

Why not use the UUID option available in the data picker in Server Connect? It will generate an unique UUID like be92e232-e54b-4677-acc7-db852aca5b82

How Best To Create A [Disable Cookies] Option?

As I build my product web site, I want to add code for Google ads, analytics, Facebook pixel, etc. As these products use cookies, I need my visitor’s permission to use them. However, I still want the…

Rounding decimals

Ok dumb question (Wappler newb here) In the data formatter, how do I format a decimal number so there are only 2 places after the decimal? Example return 1.99 instead of 1.999999999999998

Docker Setup Errors

Hi, I am trying to install Docker to use with a Local PHP Development environment. When setting up my project I receive an error stating that Docker is not installed. I have tried to install Docker f…

Tutorial or Doc Needed -- How To Generate an Update form that shows Multiple Choice Checkboxes

Wappler Docs, Tutorials, Videos refer to “Update Form” I will PayPal to see one complete Wappler “How To Create an Update Form that also handles Multiple Choice Inputs such as Checkbox Groups and Mul…

Transform value from database

Hello How do I change an id coming from the database like 1 to 00001?

Nested repeat inside a nested repeat

Hi, is it possible to nest a nested repeat table inside another? I have a 3-level nested repeat set up in server connect which is returning the correct results and so far have got it working with 2 l…

Working with .pdfs

Hello all, I am curious if anybody knows a way to count the pages in a .pdf that a user uploads and store the page count in the db. I need this functionality in my app, but haven’t started building …

How to add multiple Where conditions on array

"pricing": { "services": [{ "service":"image-retouching", "price": [ { "country": "us", "rate": "1.50" }],}] } Considering above JSON I am not able to put two ‘Where’ conditions i.e. Rate re…

Show only available dates on Date Picker from DB query

I’m trying to display specific dates on the date picker based on list of dates from a database table. I have tried putting in the custom dates Data source in the App structure side, but its not worki…

Passing serverconnect data as array to javascript function

I want to call a js function and pass the data received from serverconnect.

How to change the font and grid color in Charts component

Hi, I have this chart with a dark blue background and I would like to change the color of the font and the grid lines to white so they can be seen. I’ve been going through the documentation of char…

Dynamic text color for button

I am having a heck of a time trying to get the text color of the button to dynamically change based on a database event. <button id="btn1" class="btn" type="submit" dmx-style:color="#listing_info.dat…

Calendar: showing in webpage but not in wappler

In latest version inserting the calendar in a content page, the calendar is visible when see the page with the browser. Unfortunately calendar component is not visible in wappler.

Basic Subscription Extensions usage

Hi Jim, That is the “Extensions manager” and it only gives you info about each of them, what they do. To use extension like reCaptcha ect. you have to click “Workflows” (Green icon at top left ). …

JSON Web Tokens

I’ve published the first part about JSON web tokens after it got discussed here Using a NoSQL database and Logins. It’s a multi-part series and part 2 will follow soon. So if you are interested into …

Node parameters in UI

If you set variables in Define Query Params in main layout page, then you should be able to select it via picker on content page, and it should work. I created a fresh project to test this some ti…

Using a NoSQL database and Logins

Hi, I am thinking of using a nosql database like OrientDB. My initial thinking is to access it from Wappler simply by invoking the database’s REST APIs. That said, I’m having troubles figuring out …

Have you coded to dynamically write a Form Update Query?

I’m looking to write the UPDATE RECORD query sent to the server based on which inputs the user has changed. For instance in a php mysql or Maria db project Standard Wappler API UPDATE QUERY is somet…

Is there a Update Record Tutorial?

The latest tutorial I see when querying “Update Record Form” says: “our form is a standard Update Record form” about using Form Repeat to return nested data Which brings up my question: Where is …

How to Remove Black and White Border on Modal?

Hey folks… My simple modal seems to have a thin black and white border and I’ve no idea how to get rid of it… any ideas? Best wishes, Antony. <div class="modal" id="m_message_2_plus_2" is="dmx-b…

Save non-ISO date in DB

Appologies - I forgot to mentioned that "inserting: ddd.split('.')[2]+'.'+ddd.split('.')[1]+'.'+ddd.split('.')[0]" - did the trick and I was able to insert it. My question was more about transformin…

Want to sort by numeric value of a string field on only 1 of my Bootstrap Table columns

use an alias for the column in your custom query i.e. cast(regveh.RegNum as int) AS regvehint Your sort buttons will need to be changed to set ‘regvehint’ rather than the cast statement when clicke…

Payment process

Hello to all, I will work in a payment area in one of my website. My bank provider gave me these instructions. Is possible to work with this in wappler? (Placetopay is the name of their solution) In…

Multiple innerjoins from the same table

no, the result is ok. I also tried left join. If I add another join, all the other results disappear as well

Repeat Error - Error: core.repeater: repeat is required

Its not a Wappler issue, it was something wrong with the data returned from the API, sorry about the false report, just assumed because the script has been running for ages and all of a sudden started…

Is there a way to disable a button (e.g. next) if all form fields are not completed?

You can use multiple conditions for the disabled attribute. <button dmx-bind:disabled="!input1.value && !input2.value && !input3.value" > Next </button>

Display data from sub-table in Table

You need to add a repeat area for Prices. Here I have an example where I have Categories and Items instead of Departure_dates and Prices.

Multiple Lightbox Groups In Repeat

Hi. I have a repeat of cards, where each card has a bunch of images. Using a repeat inside the card, I am able to setup a lightbox UI, where first image is shown. On click of it, the lightbox opens …

Finding the SUM of a list of numbers inside a bullet list

I didn’t spot that you were hiding/showing some based on a data store. Try: {{scServicesList.data.queryServices.where('PricingID', dataBookingDetails.data.BookingServicesRequired,'inArray').sum('Pri…

Shopping Cart tutorial

Hello to all, I need to make a shopping cart. Is there a good tutorial for it? I was trying to use an eCommerce template in the block area but is not available. Thanks

Width of Search Window in v5

Hey folks… Is there any way to make the project wide search/replace windows wider in v5? I can only make it this wide on my poor little 1920x1080 display, and there is no wrapping of the result lines…

How to Store Global Variable into Wappler Variable

I was able to solve it yesterday actually! Sever Connect Form - Post For anyone cuurious this might help <form is="dmx-serverconnect-form" id="sc_form5" method="post" action="api/shopify/save_desig…

Using values from queries in a normal API in a include or execute action

I can’t recreate this issue. Added the same steps and param as you - the param appears when i add the library action as an exec step. Maybe try resaving the library item/recreate the server action/re…

Repeat or While? What would work best to achieve this

Repeat or While? What would work best to achieve this. Scenario: I have 4 ticket numbers in a database. Each have a Ticket Number and Qty. **** Brain fog tonight…over worked… **** feeling really…

Access session storage manager from API action file

Apologies to all if this is really dumb. I have a series of API calls I have to make on a reciept page from an external payment processor. The way the system I’m pushing data to is that I have a ser…

Create New Mobile App from Existing Project

Hi, Is it possible to create a new app (Mobile / Desktop Version) from the existing project? I have an existing project as an admin portal and want to create a mobile app for client-side using backe…

Masonry With Flexible Column Width

That’s not supported by the masonry component. You can achieve this using CSS Grids.

Is There A Wappler Meta Tag Generator?

There’s no such a feature in Wappler.

Timeout - NodeJS - API (Server Action)

Hey Guys, How or what is the proper steps to setup a timeout for a larger API (server action) call? Do we simply setup timeouts for each step that may cause a lag? OR an overall timeout? How would …

Can't get Google Places Autocomplete API to work

Google Places Autocomplete has been integrated in Wappler 3.3.0

Beta Extensions

Those are Server Connect Actions, so you use them in the Workflow / Server Actions - to create your server actions and add them as action steps.

NodeJS + Framework7

I figured out how to configure routing by Fw7 in the nodejs + framework 7 project. I’ll leave a solution here in case someone has the same question. In the layout code, it is necessary to add class…

[].length() doesn't work, only .length

instead of .length() it must be .count().

Custom module output help needed

@JonL Thank you for pointing this out. exports.parse_website = async function (options) { options = this.parse(options); const axios = require('axios'); const cheerio = require('cheerio'); cons…

Best way to migrate old database to new database (e.g.: MariaDB to PostgreSQL)

The solution I found was using DBeaver Community Edition (open-source), or their paid version DBeaver Enterprise You can export/import data between different databases, even between different softwar…

Tooltip not disappearing after button has been removed

Maybe you can try adding a static event on click to the element having the tooltip: $(this).tooltip('hide')

Docker Error: Error response from daemon: Client sent an HTTP request to an HTTPS server

Seems to be a Docker Desktop (Compose) bug. https://github.com/docker/compose/issues/9789 Try updating Docker Desktop to the latest as it should be fixed there according to the report.

Change pointer on mouseover

No mouseover event needed. Just add a style to the img element… cursor: pointer

Flash messages through cookies

Here’s how I solved this: Library action flashNotification: Flash notification: Server Action to get notifications: On the main layout I put a server connect call to the one shown in the scr…

How to make array on Server Action with dynamic arguments? (e.g.: $_GET)

Hi, I’m trying to make an array using e.g. Set Value The problem is, I need to get a variable from $_PARAM or $_GET Set Value = {{ [{message: $_PARAM.message}] }} That doesn’t work, it’s a syntax …

Dynamic Pie / Donut Chart Slice Colors

Does anyone know how to use colors from a table or CSS to pass into a donut chart for slice colors? I currently have them hardcoded with dmx-bind:colors as an array but i’d like to pass them from a s…

Populate drop down through list(taken from a json)

jsonDS1.data.homePage.countries is a list that I am trying to display as dropdown items. here’s the code I tried. COUNTRY  jsonDS1.data.homePage.countrie

SSL-Certificate

Hi! with the new ressource manager, I wanted to integrate ssl-certificate with traefix, however the original server was created before the ressource manager was added and while importing the server in…

How to customize input styling?

can change pretty much anything in the bootstrap editor advanced options

What is "no reference found to shorthand" in Git login settings?

Trying to reconnect with my GitHub repositories (with Wappler Git settings that worked a week ago) gives me this error – Since GitHub and Google can"t answer this I assume that it is an internal Wa…

Uploading files to Google Cloud

Has anyone worked with Google Cloud or Google Drive API to upload files into their Google account? Is it easy with Wappler? Any good places for info? The idea is for members to upload a file via the w…

How do I keep the customer logged in to my site?

Hello, It should be simple I guess. Here when I refresh my page in the browser, I have to go back to the login page Thanks

Using Sub Tables With Join

Hi. I have a MSSQL DB with three tables: A, B, C. C has a sub-table relation with B. A & B have foreign-key relation as well. If I create a query with B as the first table, and select C as a colum…

How to Wait for ServerAction to complete before moving to next?

In addition to what Ken wrote, try: return await resizeImage();

IndexedDB with Wappler

Hi @patrick , I have an application that uses IndexedDB. Wappler can’t work yet with IndexedDB. However, I have prepared the following function for this. function getAllContacts(db) { var reques…

Write to JSON file

I’m using NodeJS and need to create and write to a json file on the server from the backend. Is there an extension or a native Wappler way for that? I only found an extension for php. If not then I’…

Project Settings Sync issue when adding database settings via Workflows tab

Hi Brian, Well it might not be very clear - but the database settings in the target are only one way. So when selected there will be a default “db” connection be created and used. This is usually han…

Populate dropdown through list

I am trying to create a drop-down element and want to populate its items through a list. I tried adding the repeat dynamic attribute but is of no use(it is displaying the entire row as 1 item. Thank…

Stuck on Downloading CSV file

Hi Brad, it’s already explained in the docs how to use the download action: In the download step path just use the csv export step as an expression, the rest is explained in the tutorial.

Multiple Select Height

It is the size attribute: <select id="select1" class="form-select" multiple="true" size="5">

Open automatically a login form in a modal

I would use the ondone dynamic event for the scUser component. You could use an inline flow (or page flow): condition -> !scUser.data.identity then -> run modLogin.show() that way it waits for the…

Hover Popup Sticks on Click

I’ve got a little popup window that shows a tip. Works fine on hover. But, if user clicks on it… it sticks and stays. Here’s a screen shot of the Wappler settings, and a video clip of what’s happen…

Base64 Max Accepted Length?

Do you know in which format the data is being send, can be as application/x-www-form-urlencoded, multipart/form-data or application/json. Depending on the content-type it is differently parsed on the …

Changing the language attribute using appconnect

That’s the correct way of doing it, you just need to switch the App Root to Page:

At Least One Check Box Required

I have a checkbox group. I would like to make it so that at least one box has to be selected. How can I do that? <div class="form-group" id="check_special_interest" is="dmx-checkbox-group"> …

Plugin https could not be loaded

In your database connection settings for the host name, make sure it’s just and IP or a host name without https:// in front of it.

How do I test a library server action in browser

Feature request: The answer to your 2nd question is yes

How to make a POST using multipart/form-data?

I’ve tried several ways to make the request, but the api I’m using to POST always returns the following error: no files received. That is, the files are not being sent by the form with enctype multip…

Dynamic Map, Map Markers Not showing in Framework 7

I ran into this issue… The address is the dynamic location. When I pull the long/lat from database and insert it manually in long/lat static field, it properly renders. Is there a fix? I tried this so…

Reset value input

Hello, in my article search system, I encounter a problem, for example I am looking for 5221 products, so I have the list that appears, I enter my quantity, which adds it to the basket. so far it’s g…

Api call with auth (oauth)

I am trying to create an integration with Brightidea API. But before make the call this api need oauth with username, password, secret… I have tried everything but i cant make it work. Could you p…

DMX Calendar, force HTML to render

Does anyone know of any way to force the dmx calendar (full calendar) to force the title to rather render as html, I am trying to get as close to this as possible. I am hoping if i can make the tit…

Display sum

Add an alias for it in the query builder and it will appear.

Calendar Drag and Drop doesn't work when there is an All Day event

Hey @patrick - I think I solved this. If I select Overlap on the source it works fine.

Question about Calculating age from date of birth

Hello to all I just followed the “Calculating age from Date of birth” tutorial and works perfect. My question is, Can I only show in the table the persons that are over 26 years old?

Pound Sterling symbol turning into a question mark

Hi All…! I’ve been making great progress on my project, I’m really starting to get deep inside Wappler and although frustrating at times, it never ceases to amaze me with how easy it is to do the mos…

Filtering Query with a search Text Input doesn't return to page 1

Found it … On my search field: dmx-on:focus="employerparam.remove('offset')"

Fixing drop-down area (Tagify)

Has anyone fixed a similar problem in css? How to fix the drop-down list area strictly in the up position? I encountered this problem in the tagify component. I will be grateful for any ideas.

Flex Container vs Container

You can find the explanation in Bootstrap docs:

Wappler flow editor

Simply right click the Then step and you will see the Else step available to be added.

Problem with query visualization

As @mebeingken already mentions, you are probably only showing the first recordset of the repeat. To show all content you could use 2 repeaters. Your query is not that complex and you could probably …

Security: Restrict a specific Bot

Ended up trying to do this with the .htaccess file. ## Block via User Agent <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (JoobleBot) [NC] RewriteRule (.*) - [F,L] </IfM…

How to allow modal closing by clicking outside the modal?

Actually there’s close on close available for the confirm dialog as well:

Main.ejs vs Index.ejs

Main.ejs is a layout page, index.ejs is a content page this doc will explain the uses of the two:

Greyed Out Unchangeable Items on Design Panel - Help!

This happens when that property is already defined somewhere else with a higher priority, so editing will not work since it would always be overridden by the other definition. You can hover over the l…

NodeJS + SQLite WebApp inside Electron-Offline

I’m trying to make offline desktop App by complaining NodeJS , SQLite and Electron together. with little adjustment to package.json ‘’ ’ “scripts”: { “start”: “./index.js” } ’ ‘’ and my index.…

Show all before select

Hello to all, I have a table that show all providers by town where they to provide services. I have a select field where the user will select the town to show in the table. I would like to when the …

Storing a client-side array into a json field in the database

Try using .split(’,’) on the post variable. That will turn your string into an array.

Issue in displaying multiple reference

I’m trying to display the data of multiple reference but not been able to show case it its showing this on debugging. Actually I have to load users whose id is to be fetched from sub-table and ma…

Creating a table with change logs

Have an interesting request from a client. To keep a log of changes on information of the employer table. Obviously it will only be needed to be triggered when the update action is run. Is there a fu…

How to use Adobe Typekit fonts with BS4 and BS5 projects

I need to use a specific font which is only available from Adobe Typekit. I’m using BS4 (soon to switch to BS5) and the theme manager. How can I use a Typekit font? What’s the technique? Happy to hand…

Insert User Form: Email field is not saved in database

Your input name in the form is email and in the insert record step you’ve selected a post variable called mail: As there’s no input called mail nothing gets inserted. You need to select the post va…

How do I get last record of Inserted rec if NOT using Identity col ? CUSTOM Query Insert using Sequences

In Hyperbytes’ new training video, https://www.youtube.com/watch?v=b8xr_gd6MMo&t=214s&ab_channel=Wappler he has a 2nd step to add a Role record for a newly created User rec. Its the same as these…

Repeat Data Source

Hello everyone, Is it possible to set repeat datasource as: conn_list_project.data.repeat_project.filter((project) => project.repeat_categories.some((category) => category.var_percent >= 40))) @pat…

How do I redirect a User after login page to a different Members/ Dashboard page

How do I redirect a User after login page to a different Members/ Dashboard page I have created a front end index page with a login form but I want to redirect the user to a different page after fill…

Changing project from node js to Html?

Hi @UDX I’m getting the impression you’re relatively new to all this. If not, please forgive me as I will give you some tips that are aimed at a beginner. These .EJS files are HTML files but with e…

Server Connect Multi Update without generator

Your code is not correct. The dynamic values cannot be added in static attributes like this: id="record[{{$index}}][budgetAmount]" name="record[{{$index}}][budgetAmount]" These must be dynamic. You…

Selecting - API 'repeat' responses - in a dropdown menu

Not sure how did you manage to generate this code, but you simply need: <div class="dropdown"> <button id="dropdown1" class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropd…

Repeating 'GET' - APi call return visual table data

The expressions in the table repeat and the expressions in the table cells.

Preloader and Security

Hello! On this site, a user will first log in. After logging in user is delivered to _mainhome page. There is a preloader on that page. It also loads different server side pieces of information, ba…

Argon2id password checking

Hi Brian, In order to do this you need to use the password verify indeed. You just need to give the plain password and the hash stored in the database and it will return a boolean true if the passwor…

Remove &nbsp from summernote

We use TinyMCE’s cloud version for sites that have a lot of copy and paste into rich test fields, as https://www.tiny.cloud does an amazing job of cleaning up the pasted in messes and users don’t hav…

Error Launching Services

I’m switching from windows to MAC. So, I installed docker and Wappler. However, when I tried to deploy, I got the following message: Bringing all services up … fork/exec /usr/local/bin/docker-compos…

Form Validation Handling

Which errors does a form return when there are validation errors? Server side would be nice to know… But, especially user side? I’m wanting to say, “If there is a validation error, change value of a…

Sharing Docker Containers

Hello everyone, Our team is growing! We installed Wappler on new 2 machines, dev environment is working fine with Docker, and we exported and imported Staging containers to the new computers, I’m ab…

Security Login to have access to user data. Easily dynamically alter UI

Is this still the way to do this? (Since this is 4 years old, I’m just making sure there’s no more modern way.) If, after entering ID & PW, I have to hit the user table to validate the password, …

Can't locate certificate files ca.pem cert.pem key.pem

Is it a docker project? If yes, this should fix it: https://medium.com/@cweinberger/docker-machine-export-and-import-34ae2899e9d7 These files are, at least for docker, in a different folder. Not in…

Comma-separated values from Dynamic Multi-Choice Checkbox Solved

THANK YOU TO ALL WHO OFFERED THEIR KIND HELP! I am here to post my Solution in case I need to come back here in the future and remind myself of what I did in August 2022! I posted heavily in the pas…

Where to put <meta name:="ac:route">?

From a while ago I seem to remember it can cause issues if this line (on content page, nodejs) is not at the very top of the page, right underneath the <!-- Wappler include... : <meta name="ac:route"…

Aspx insert in MSSQL

I can’t do an insert in MSSQL, the connection works, I also created a table and the fields directly from wappler, but when I do an insert from a simple form, it gives me error. Made in aspx How can I…

Simple find and replace on current page?

Of course, on the page click Ctrl + f / Cmd + f

Referring to a specific input in a repeat

Hi, Is there a way to change the value and text of a specific input in a repeat? My use case is: I have a form input in a repeat, where I want the value of the form input to be set via clicking a bu…

Doing Math - What is Wrong?

Well one of the values is a number and the other is a string. You can’t convert a number value to a number, the tonumber formatter should not be applied to it.

Deleting files from S3 Buckets

I seem to have an issue deleting files from the S3 bucket. It all goes through and then returns a 200 response, but it does not delete the file from the bucket. Does anyone know how to get this to wo…

How to retrieve login information after login to view customer information

Hello, How to retrieve login information after login to view customer information Thanks

How to add an S3 folder within a bucket

Folders are simply added as part of the Key. So you can use: food/apple.jpg food/candy/bad-for-you.png which will create a food folder with apple.jpg inside it, as well as another folder, candy, a…

Stripe Orders Beta - how to extend client and server side stripe?

I am wokring with ‘Stripe Orders’, which is in beta. I need to do the following: "please select a beta version by setting the Stripe-Version HTTP header to something like 2020-08-27;orders_beta=v4" …

Range Input display Min Max Values and show Selected Value

Well that’s one of the easiest things to do in Wappler. The dynamic attributes are used exactly for this … Select the text input Add new dynamic attribute > input > value Select the range inpuit > v…

Image processor: Tiled image

I am not sure what this does or how to use it. Could not get any results out of it. I am hoping to tile 4 thumbs together and produce 1 image to be saved on server side for front end use… Anyone who…

Autocomplete that will add record if not found

Hi All, I’m developing a booking system. One of the text fields to create a booking is a customer name (full name, not firstname/surname). Id like the auto complete to return an existing customer tha…

Needing more up to date w cart tutorials

Can someone point me in the direction of the the latest w cart tutorials? I’m finding functions have either moved or have been renamed in the 3 different tutorials I have been following.

AWS S3 Connector | Cannot get it to work

Hi. I am new to Wappler, but not to new to S3. The S3 bucket is set up for access and works fine in another application done in Visual Studio. However I’m stuck at the very beginning in Wappler v5. …

How to csave public address of metamask in mysql database pulling directly from metamask

Could someone help me with a blockchain integration between metamask and an app made in node.js. I’m developing a login in node.js where I need in the registration to save the public address of the m…

Is there a deep dive on apis?

Hi, wondering if there is a deep dive tutorial on API within Wappler? The standard docs are only skretching the surface?

Summernote Security

How do you make SummerNote text safe when submitted into the database? Obviously, we want to allow Summernote to make a whole bunch of HTML decisions. But, we also want to strip out potentially harmf…

Security - Wappler Did it?

So, is security in Wappler already mostly done for us? I came across this quote from @George: Cross Site Scripting You are in full control of your files and uploads. No scripts are included on the …

Resource Manager Digital Ocean error on Deploy

So I see that you have the ip address instead the actual url https://moraescondominios.com.br in “web server url” field? is there a reason you didn’t map the actual url?

How To Use Full Calendar Premium

Hey @sid, No way to use the FC premium features with the integrated Wappler version of FC. I use the premium features extensively in my app I need to use the custom integration. Happy to share any …

Checkbox Array Value Saved To DB

Thank you all for your help and suggestions. Each had a perspective that ultimately helped me to arrive at a successful end, and I appreciate it very much! This is what I finally settled on. After pl…

Browser goto only works once, then stops

I am unsure if this is a bug or me not clearing something properly. I have a form, on success it clears the form and then does a goto to get to another internal page with this <form method="post" id…

Build and deploy realtime on server

Hi, I’m starting to build with Wappler and used Wappler a few versions back. (1.0 probably) At this moment I’ve made a connection to my webserver and Database (Same Location) 2 questions: I see m…

Does Tutorial Multiple Checkbox Group still exist?

Several Docs written from the Bootstrap 4 years show Multiple Checkbox Group referred to here in the link below. I assume this refers to a Checkbox form group where multiple boxes can be checked, with…

Page doesn't scroll

It’s the preloader script that puts a style of overflow: hidden to the body tag, while the content is loading and it should remove it after the content is loaded and preloader is hidden. I see you are…

Productivity Tips & Tricks

There are many small little things that we as a community have learned along the way that will help all users that have not encountered these oddities as yet. In an effort to assist them and ensure th…

Server side binding as repeat source in App Connect

<script> dmx.Component('server_side_array', { render: function () { this.set("data", <%- JSON.stringify(query_get_my_page_meta_data.mpc_t) %>) } }); </script> <d…

How to create a new array from two object arrays?

I have two object arrays, say arr1,arr2. I want to create a new array arr3. This new array contains the values from arr1 only if that values id exist in arr2 object values. How can I achieve this in …

Restart DB Server

Hello I am trying to pull data from my DB and therefore defined a respective query in API actions. However my green circle is half full and I believe my DB server is not running, see here: I sear…

App already running!

Can you check your page includes, how many times is the appconnect js included?

Updating reference field "on delete" doesn't work

Hi, I tried this many times since I started with Wappler but now I really need to solve this, how do I update a reference field to set the “On delete” to a different value? It always gives an error m…

Date range picker with more options

Is there a chance the Wappler Developers will look at adding a better way to jump between months and years on the current date picker? Alternatively has anyone else used another date picker whether j…

Calendar days of the weeks on occurring event

Wappler uses FullCalendar so if you get stuck like this you can always look at the FullCalendar documentation. daysOfWeek The days of the week this event repeats. An array of integers. Each integer r…

Amount range returns no results until

Have a look at this topic it contains groups for the query and adding a condition to the group you could apply this here and just check your variables aren’t null

Tagify input not sending data in form payload when disabled flag is set to false

Hi I have one input field with tagify and disable is set based on condition a like dmx-bind:disabled="!sessions.data[0].hasKey(‘name’)" When disabled is set to false it’s not sending the data in pay…

Facebook login client_id missing in url

Hi, I am trying to setup a facebook login following @mebeingken Ken’s tutorial. But i run into a problem, when I open the facebook login api, the client_id is missing. So somehow this parameter is …

Database Insert Throwing Exception

That is not an option I’m afraid, we’re running another 30 sites on the same server, all using the same database set up (but not created via Wappler) with no issues. I opened a bug report and found o…

Datapicker - how to prevent dates being chosen in the past

I have read the datapicker documentation plus looked at the community questions / answers. I don’t see how to stop a user picking a date in the past. I want the first possible date to be chosen as th…

Hidden Form field validation

I have a hidden form field that is required. I cannot get the error message to show up. Even if i trigger a validation it will not show. If I change from hidden to text it works fine. How can I ge…

Sort by column in a subtable

@Teodor now that we have subtables how does the sorting by column work if I’m sending a column from the subtable as the $_GET.sort query parameter? I’m finding some inconsistent results.

Replace letters a-z with blank space or count just the digits

You can use a custom formatter for this. Create the following folder in your site root: extensions/server_connect/formatters Inside this folder create a file called strings.php with the following co…

Dynamic Key on Stripe Checkout component does not work

Wappler: v4.9.1, MacOS, NodeJS I have created a table in the DB (DEV & PROD) where I’m storing Stripe Publishable Keys. On the checkout page, I have added this key inn the Stripe Checkout component. …

Search Database field containing keywords in any order

I have a single field search form (like google) which searches a Database table field containing Titles of Books. In the Database Query, I have the condition as CONTAINS. But if the Title is say “Wapp…

Editing of Email body (HTML Template) having dynamic binding

Hi. The current implementation of email and HTML templates is limited to what you have. You can allow users to create templates and save in DB, and with custom module then use that DB value as email…

How can I alter "FeatureType" of a Google Map

A simple example of how to extend the maps options. On your page you have a map with an id of maps1: <dmx-google-maps id="maps1" height="800" address="amsterdam" zoom="15"></dmx-google-maps> At the…

Delay Page load based on Condition

You can put the chart in a conditional region, that evaluates to true when the server connect has run – something like serverconnect1.data.

Project Settings: Server Type Docker vs. Wappler Local Server

Dear all In Project Settings I select Server Type Docker and no Database Options are shown - why? I thought Docker is like your virtual everything: When I switch Server Type to Wappler Local Serve…

Basics not working - what is the problem?

Hello I worked through Ben Pleysiers super Node JS series. However, the Register-Form is not writing the entries to the db. I started debugging with help of DevTools as recommended here: Debugging S…

Create time counter

Hi, Does anyone know how to display the time counters between now and the date in database data?

Partials - Using Server Connect for filename

perhaps rather than try to specify the partial name as a variable you could place them in a conditional regions to they are only rendered under the appropriate circumstances. Think that should work (n…

How do I use a variable in a dmx-bind:data-src?

There should be no bug in the UI for that expression. There are edge cases of course but they are related normally to complex expressions unlike this one. @Robert_LM I don’t know how you were trying …

Should I make this a Sticky region, or independent scrolling

got it. easy this screen is a basic 2 column setup, with a detail-data area on the 2nd column. I only needed to add a class (see pic: info-sticky) to set the “sticky” CSS option, and then it scroll…

How to get an API to return a single number value

Hello, I’ve been trying for the past couple of days to get a simple API function to work to no avail. I’m basically trying to rebuild what I have on Bubble in Wappler so these are API calls / formats…

How to modify page variable through Javascript?

How about: dmx.parse("pageLoaded.setValue(0)") or is the AC variable is on a content page: dmx.parse("content.pageLoaded.setValue(0)")

How to make 404 route redirect to static page when clicked on internal link?

I have an anchor link set to internal that routes to something that doesn’t exist. I’ve set up the route as redirect and url as I want it to load the static error.html file. However AC routing is l…

BS5 How to Enable Negative Margin From Theme Manager

Hi. Please help me enable negative margins in BS5. In BS4 they were available by default, but not in BS5. I could not find the relevant option in Theme Manager advanced view.

Run Javascript code after server connect call

In the function option in the flow UI you need to enter a function name. Example, you have this function: <script> function myfunc(myarg) { console.log(myarg); } </script> and the s…

Amazon S3 throwing Error 500 on "random" Images, so not all of my pics appear

Live site: http://137.184.106.209/vehicle_list3_dayof?ev=HR&make=&model= This screen SHOULD show 10 thumbnails. They are “generated” by the S3 “fit-in” Cloud Formation/Lambda directive. But I’d bet…

Adding dynamic number of options

I’m adding a feature to a web app which allows for multiple options. It is so an admin can create a question in the database and then add any number of options which will then be displayed to users as…

Tagify input box height (rows)

Maybe you have some class/style applied to the input which does that?

I need help with creating data tables

Hello dear community Im trying to make a switch from bubble to wappler, so Im in a process of learning wappler. I have only knowledge of html and css and prior to wappler I was using only webflow an…

How to smooth scroll off-canvas and not parent page

That’s not possible, because the whole window scrolls down when using the smooth scroll component.

Javascript:history.back(), but on a condition

Conditions work almost everywhere. dmx-bind:href="var1.value == 'yes' ? 'https://some.url' : 'https://someother.url'" What you can’t do is call JS functions in dmx. Anywhere. So you need to create …

Is there a way to login, logout, and restrict page access to authenticated users on Wappler if you have your own existing backend (e.g. Xano)?

Since you’re calling Xano’s APIs through server connect, you can store the auth token in an httpOnly cookie. In server connect, you can use the Set Cookie action and check the httpOnly box. Now the to…

Rest-api

Glad to see you got it working. You just need to call the SC again on click of the refresh button… that will automatically update the data as per the bindings. No need to refresh the whole page. s…

Make a duplicate table with all the data

In the title you mean you want to duplicate a table, is that what you mean? You’d need to use a custom SQL query: CREATE TABLE new_table SELECT * FROM original_table; To erase you can use a Databa…

S3 provider empty list?

S3 providers should be defined under globals, not in the server action steps.

Setting up Wappler 5 for Docker w/ NodeJS & Postgres on macOS w/ help from community

You’ve done everything right No problem! You’re now hitting a Wappler bug, I propose some solutions: Restart Wappler Right-click Changes and click “Apply latest changes” Right-click Tables and cli…

Formatting Input Field

Here’s an example I use (e-signature lib) and the location and my URL…path (my calling .ejs file is in a sub-directory of root/

¿Advanced? Query

I have this database: I want to query: > people > name > assistMeeting > firstSpeaker > name > secondSpeaker > name Is possible to have this quer…

Prevent leading spaces on form inputs

Maybe you can just trim whitespace on the server side when storing the value?

Blog Tutorial Needed!

I agree with some other comments that you don’t have any Tutorials that match the hype about Wappler being All Visual development with all kinds of connections, extensions, etc. When it comes to the …

Calculating previous day's changes

Here is an example: I have a database table with three fields: date weather_temperature weather_humidity I want to show these two additional calculated fields: temperature_change humidity_change …

JS tweak to remove an array item

Hi Robert, If str is actually a stringified array you would just need to slice(1). return (JSON.parse(str)).slice(1)

Adjust Column Width when Printing

Solved with CSS and a little help … /* expand column printing */ @media print { .expand-print { width: 100%; } }

Update Linux download for 5.0.0

Maybe you can full remove the Beta before installing the final. I think there is a small problem on Linux that the browser login opens the previous version and not the newest installed. So hence the …

Sleep a server action for a given delay

I did upload it. That said, I had not cleared the cache. Did that and now the page works as expected. Much appreciated.

Sending nested data using Server Connect Form

Hello, my goal is to send nested data to my API. I’ve followed this post but despite following the instructions, the nested data itself appears as “” in the preview. The structure is generated corr…

How to conditionally remove/suppress lines from imaged source?

NOTE: This thread was created because I had been in contact with Teodor about an issue with Lightbox. Links are not really valid anymore. This morphed to how to get an array of image paths into swipe…

Updating content on the screen instantly from a database change or webhook

Hey all, Would like a little advice on wappler being a good fit. We are building a scoring system for a table top game, the game will be monitored and scored via an object tracking library and that …

Session Issue With Safari

I don’t think they use cookies in the widgets, there is not a workaround for the cookie blocking. What you can do is using a different way to keep the state, like on the client you could use the local…

How to create a Swiper where the slides are based on a repeat?

Hi, I’m looking to create a swiper where the number of images and the src for each image is based on a loop through an array. The array would look like: [‘assets/1.jpg’, 'assets/2.jpg, ‘assets/3.jp…

Get query results into an array

I am thinking of creating a config table to hold various values for the web app making it easier to change things globally later (and the client to change them, too) so I have a simple table containin…

Wappler 5 beta to non-beta automatic upgrade fails on Mac

Best wat is just to update Wappler 4 to 5 inline and throw away the Wappler 5 beta as you don’t need it any more. Or do a whole new Wappler 5 install that will replace Wappler 4 as well.

Layout page blanked. How to prevent?

You have a folder called admin as well as a layout called admin (which may use the same routes of /admin). This may be what’s causing the issues. Try creating a layout called admin_layout.ejs, paste i…

Cannot Login to my trial since Wappler 5 upgrade

Seems you are in the older trials that unfortunately don’t work any more. You can easily start a new 14 day trial now and everything will work fine. Just start with the subscription choice and a tri…

Wappler 5 Install Issue

This is your MacOS user password, to use the same authorization as the Wappler Beta which is stored in your keychain. So enter your Mac password and choose Always Allow. You will be probably asked tw…

I need help on how to pass productid and quantity from data store to server action

Hi fellow Wapplers, Could someone please guide me on how to send the productid and quantity to a server action? Get the values from data store to server action. Tnx!

Cannot Connect to Remote Server, Docker Instance Error Launching Service, Wont connect to local

I’ve been going at this for more than 10 hours… I have tried every which way to figure out how to connect this thing to the remote server. I have a plesk installation and it would not connect to it… …

How do “Name” and “Global Name” work and how to use it and when?

For set value action there’s two fields for name. Name and Global Name. How to use it and when?

Conditional Dynamic Event (again)

dmx-on:click="browser1.viewport.width > 767 ? (selected_index.setValue(ID) + data_detail1.select(ID)) : offcanvas1.show()" Try this.

The Whys and Hows of Data Stores

I’ve been working with Data Stores a lot this week and have had a few questions about my work, so I thought it would be helpful to have a thread about how we are using them. Here is my experience W…

Wappler 5: Summernote Lite Seems to be missing

Maybe just remove the text area and add a summernote lite on its place

Remote Docker Target with Generic provider option - Error creating & installing Docker

Well root password is only required for linode on initial server creation we have an entry for it in the Ui. After creation your personal SSH key gets authorized and used for all access so root pass…

Swiper slides-per-view="auto" confusion

Thanks Teo, thats exactly what it was, all working now, wish I had asked sooner, spent a few hours trying to figure this one out. Thanks again.

Dynamically hiding a form fields still submits value

I have a form in which I would like to conditionally hide certain fields based on a server connect query. I’ve don’t this in the past, but I realised that even t hough I can show/hide dynamically, th…

Lightbox with Dynamic Images

I have 5 images with dynamic sources displayed inside a data detail modal. I want to click on an image to launch a lightbox with a bigger version of the clicked image. I have checked the tutorial o…

Wappler 5 Accessibility Mode in Design View

I actually have a real life chance to use this feature. But I’m finding it kind of lacking. If it gives a WCAG Compliance rating of ‘No’ is there a way to find out why? Just a ‘No’ is not helpful. I…

How to use the new Data Store

The new App Connect Data Store is excellent and the timing is perfect. I’m literally just starting the cart part of a project. I’ve added it to the product detail page and use the mouse click action …

UPDATE JSON object using Server Connect

Hi, is it possible to output and also update individual elements of a JSON object using server connect functionality? The JSON is stored in one column in a Postgres database and looks like this… {"w…

Can I do a "mobile like" transition on phone (using web app)

At this point, I have no need for “app store” delivery. My app will simply run from the browser. But if a user is on a phone, they see the picture below. The “chevron-right” makes it look familiar a…

How to create a phone number login efficiently

Hello, I’m looking to rebuild my app on Bubble using Wappler. I started my Wappler journey last week and have taken the intro course offered upon signup. Based on my customer audience and use cases,…

Cannot connect to API that requires multiple security keys

From what I can determine from your graphic, you’re attempting to connect to this remote API from the client side webpage rather than a server connect. If that’s the case then you need to create a se…

How to solve Issue with sub tables and WAMP

I have spend a full day fighting with subtables on a site where the local development is via WAMP Finally noticed that by default WAMP used the MyISAM engine by default which does NOT support subtabl…

Expand Column when another is dynamically hidden

How is your row and columns setup do you set the columns to a specific width using classes like col-x If you have the column you hide using the col-x classes and have the other column just with the c…

How to return a proper 404 response for a 404 page (node)

Hi, Easy enough to successfully route any non page URL/route to the 404 page. Without this route, node properly responds with the correct 404 (by default). When routed to a 404 page (through a catc…

Docker local DB connection failing

What exactly is failing? Do you get an error message or so below in the publishing panel on deploy? Do note that it takes a minute for the new database server to start up, so it can give you a connec…

"The maximum number of Wappler installations is reached."

We allow Wappler to be installed in 3 different computers only. So you have probably more registrations than that. You can just remove the devices you don’t use in the new account administration at h…

Form's Select Causes 400 Error - is Not Submitting With the Form

It needs a name. Set the name to be the same as the ID. The ID is client side only, the name is what’s pushes through the form in post variable

Possible to display content page data (e.g. page_title) in the layout page?

Try this. <h3> <%= typeof page_title !== 'undefined' ? page_title : '' %> </h3> But that will still render the h3 tag if page_title is not present in the route. Or you could try this if you don’t w…

How to load JSON from disk? (NodeJS)

Maybe if you call as local url it might work

Cant get text to overlay correctly in Masonry

Your layout is a bit wrong: <div is="dmx-masonry" id="masonry1" dmx-bind:repeat="sc.data.vehicles_all"> <img class="img-fluid" dmx-lazyload-dynamic="" dmx-bind:data-src="image1"> <h4 dmx-bind…

Working on existing project using wappler

How can I import my existing project developed using PHP or Node.js and develop further using wappler?

Dropdown select field - trouble filtering on ALL condition

You need to use the condition in the query builder. So click this icon and select your $_GET.ev variable there. This means the filter will be applied only when the $_GET.ev returns a value, otherw…

Manage access rights to folders, subfolders and files with Wappler

Hi Luke, welcome to our community. With a WAMP server, you need to tell the Apache environment to restrict access to folder as explained here: Personally, I would not go that far because the erro…

Query Manager not refreshing page. I dont know why

my published URL http://137.184.106.209/vehicle_list1?ev=CONC I’m only concerned (right now) with the Event pulldown. Here is the DynamicEvent for the select_event pulldown: When you change the …

Choice of terminal

Actually which terminal is used is defined by the COMSPEC environment variable on Windows and SHELL on Mac/Linux. So if you want to use a different terminal - just the environment variable to what yo…

These values in the design tool - red background vs. green background?

Here ya go, Teodor explains the colours here. Although now with different themes it doesn’t always follow these rules as we have seen. But I think this explains the default theme colours.

Browser Preview stopped working

The other area is the workflows tab, under the word App Flows is a cog for some global settings once clicked a panel opens and there is a tab for Redis:

Filtering pages using queries and URL parameters and Anchor Buttons

I have read the document on how to do this “Filtering Database Query with an URL Parameter” and this is working fine. I have a number of anchor buttons to select which URL parameter should be used. C…

Background transparency for a table

Your Bootstrap css file on the server is an old version, and it does not support the background transparency class. Make sure to upload the latest bootstrap css to your server.

Change calendar view when date is clicked on

I’m using a calendar in a modal and am showing the month view initially. I want to switch to day view when a date is clicked on. How do I achieve that?

Storing complex data for multi-step forms

Hello! I am currently working on a multi-step form that contains nested data. From what I’ve found on this forum, it seems using Data-Store as a storage for the form data is the way to go. However, a…

Random Number Generation

you can use the php generated in App Connect. <dmx-value id="myNumber" value="<?php echo(rand(100000000,999999999)) ?>"></dmx-value> {{ myNumber.toNumber() }}

Hide site during build so client can proof

any suggestions during development for hiding a site during build so client can review b4 releasing to public - i usually put site in a subfolder /newsite – then move to main folder when ready to go -…

New install help on windows server with node, MSSQL

Hi, doing my first install, but its a bit diff. than what I’ve read on install help msgs. I’m going to run Dev on a Mac, but I don’t want local node/docker, etc. I have a windows 2016 server, with …

Unable to read values coming from an API call

From the looks of it, the JSON is incorrect. The screenshot shows two JSON objects, one after another. They should be either contained inside an array and be separated by a comma, or just be a singl…

Managing PayPal IPN calls via a Workflow (PHP + testing via ngrok)

Hi All Prefer not to resort to custom PHP so before i try, anyone got a sample Wappler API based IPN handler they would be prepared to share (yes, that is very lazy of me) for confirmation of payment…

Argon2 module_not_found NodeJS

I recently had this problem, I followed this steps, and nothing: 1.- Added argon manually "argon2": "^0.28.3" to package.json and then updated node package don’t work for me, everytime I wrot…

Heroku and Websockets

Seems Websockets don’t work on Heroku. At least I can’t get them to work and a Google search shows something else needs to be installed. Has anyone got websockets to work on Heroku? If so, what did yo…

Reading bar codes - API?

Not tried but found a project on github that could help you.

How to clear a single checkbox with button click?

Do you use the checkbox-group? You can then use the setValue action of it to set the group. For checking/unchecking a single checkbox use the select action on the checkbox. Uncheck checkbox group: d…

Redirect base on identity value

Okay here is my solutions, after taking a break; I am only few days new to Wappler, so maybe it’s not the best of solution. Page flow:

How to dismiss tooltip after a few seconds?

On a button, I have this dynamic attribute Tooltip: How can I make this tooltip go away after a few seconds? Right now, it seems to stay there indefinitely until I click the button again…

Managing PayPal IPN calls via a Workflow (node + custom extension + testing via ngrok)

This is pretty easy using a simple custom extension. The PayPal IPN call is a fairly simple feature to install as the call itself does all the hard work. The listened needs no input and has no specif…

Looking for a remote course with Wappler in German or English

I would like to build my own project management tool. For this I need someone who can give me a remote course on Wappler. In the base I need simple input and update forms. Form with recaptcha …

How to use Server Connect Form with RESTful routes?

Let’s imagine a library website Current page: Edit book “Harry Potter” Route: /book/edit/:bookID URL: example.com/book/edit/1 Server Action: book/edit Placing a Server Connect Form on this page all…

Server side publish looking for file path equivalent to local development server

I think the solution can be: In your general settings, turn off “auto add base” option Then, delete: The entire line 4 if you’re not using routing option Content"/wappler/test" in line 5 The line 6 …

Problem with "require" in custom module

Still no expert on custom modules but trying my hardest!! Decided to take a quick look at an Paypal IPN solution for Node after noticing an npm “paypal-ipn” So i installed with npm install paypal-i…

Custom preloader

I was looking some replies on topics, and i think that nobody comment on having your own preloader spinner so here is my first how-to guide and hope it helps someone else: I have a gif located in th…

Webhooks - PayPal - Anyone tried it? Was it simple to implement?

Webhooks - PayPal - Anyone tried it? Was it simple to implement? Ok… i have looked at the Webhooks in PayPal. Has anyone implemented this before? Was the configuration easy on Wappler’s side? As i …

Working on Secure Sites with Node and local server logs out

Thanks for pointing me in the right direction, @mebeingken! I didn’t end up using Redis, I simply selected ‘File’ for the sessions and it works! Sometimes I just love Wappler.

Theming the app built using wappler

I want to search and download some pretty theme/ui kit which I can incorporate in wappler app. Any tutorial/guide for this? Also, what kind of template should I search in google?

Error docker with replicas

ERROR: Cannot start service web: Ports are not available: exposing port TCP 0.0.0.0:8103 -> 0.0.0.0:0: listen tcp 0.0.0.0:8103: bind: Only one usage of each socket address (protocol/network address…

Wappler not loading correctly

Hi, Windows did an update yesterday when I turned my PC on and now Wappler 5 won’t load fully, all I get is a black screen with the windows program bar still showing at the bottom… In the Task manag…

Publishing MySQL Database to Production Server

After changing the host/details, close the file. Then change targets and reopen it.

Add 'Business days' to a current date

Is it possible to calculate a date to be five business days ahead? (which does not consider Saturdays and Sundays) in asp.net was something like DateTimeUtil.AddBusinessDays(srcDate, 5); Thank yo…

WebSockets connection lost when download is used

The download button was a link to a server connect action with a download action. The link triggered a navigation request causing the websocket to disconnect. Solution was to add the download attribut…

Upload a whole folder and its content into S3 AWS

Hi, Is there a way to upload an entire folder and all its content into Amazon AWS S3? I have dynamic generator folders containing images and want to upload directly into AWS S3. I create everything…

Browser1.referrer - with routing enabled - php

Hi. Im using browser1.referrer on my login page to return to the previous page after login. This worked well for me before in older projects without using routing… so the url used to be something li…

Form to email

After you clarified the HANDLER issue, I checked the form again and realised I had placed the SUBMIT button outside the form. I also set the mailer type to server default and retested. Now I need a wa…

Alerts/Notifications and Websockets?

Hey Brad, congratulations!! every step forward is a step in the right direction. Node is a lot of fun to use and even more with Wappler. To answer your question, yes you can have a notification every…

How to decode a long HEX number to readable format (server connect with a Node app)

Hi all, I’m receiving data like this from a call which is HEX: 0x0000000000000000000000008e059d143cd1044af17bb59847a0c417a7834f3900000000000000000000000000000000000000000000aa8f6151b3b721e8cbd9 Dec…

Encrypting sensitive information with 'encrypt with password' for multiple users

Hi there Wapplers, A question regarding security: Let’s say I want to securely store clients sensitive information, so I can use the ‘encrypt with password method’ as described in this topic. And …

How to get the minimum of 2 values?

This one should be easy but I’m struggling. I have 2 values in my server action. I want to take the minimum of the two… Example: "read_pct": 12, "lowest_scroll_pct": 100 I want to g…

Deployment slow (sending build context to docker daemon)

I’d really like to speed up my deployment to my Digital ocean droplet The ‘sending build context to docker daemon’ takes by far the longest time. This is taking even longer because I added more file…

Database queries not coming up

When you edit or create the target settings for your docker target, you can specify a database. In doing so it will be creating a database server inside your docker container, paired with your web ser…

App in development needs constant re-deployment since new frameworks (wappler 4.9.1)

Node.JS Windows 10 wappler 4.9.1 Getting a: 'status 500 knex timeout acquiring a connection The pool is probably full. Are you missing a .transacting(trx) call? at client_mysql.acquireConnection…

Change page from script

Hi! How do I change the page in nodejs SPA internally without loading the layout page with javascript? I tried to use window.location.href = "/page"; but this reloads the layout page too.

Sockets: send data to server, server waits until disconnect to insert in database

I want to send data to the server using sockets, so I can update it very frequently. But I don’t want the server to do a ‘database update’ query every time it received a message from the socket. One…

Html to PDF

Hello I can’t find the html to PDF option as indicated in a post, see the attached photo. my server is PHP

What happened to Dropzone?

Add a file input, then you can convert it to a dropzone

Custom modules

I believe that is controlled by the title attribute in the hjson: title : 'Your title @@var(actionName)@@',

Create route to redirect to another url is impossible?

I want to create a route that redirects the user to another URL. How? When I use type:URL it gives me: When I use type: redirect it gives me

Validations rules pattern

Hi Clarisse, the pattern should be : /^(229)\d/

Best way to create Webapp + Mobile App in a single project

Welcome to the forum. I feel the best approach, is to build the web app and then come back to mobile later because: Mobile is more difficult It takes two projects—one for server side and web app an…

Annually Change Query Dynamically

The cutoff date is June 1 of each year. All previous year’s entries will be archived without a condition. All new entries for the next year will be listed that is queried with: school_year < {{NOW.f…

Filter Paged Query with buttons on the page

Thanks a milllion. Your comment made me evaluate the condition. Sorted

How to change ServerConnect base URL?

@karh wants to know how can we define another domain for ServerConnect’s base URL So, imagine, you have your app hosted on example1.com, and want all ServerConnect API calls to go to example2.com Th…

Deployment - error launching services

Hi, when I deploy my app I get this error: How do I debug this? Edit: I found this additional detail but not sure how to solve it:

"Friend Request", Direct Message

I am trying to find out how to do two things that seem to have similar mechanics. The first is to send a “friend request” or connection approval. A user selects a group and clicks to join. This sends …

How do I send a private message to another user through sockets?

I have seen the tutorials of sockets in all types of messages, like emit, broadcast and direct message. But I haven’t seen a private message feature. I want to build a whatsapp like clone to send mess…

Unformatted browser view

Welcome to the Wappler club This is how I would troubleshoot: Check which stylesheets the page is loading: right click → page source Ctrl F “.css” What do you see? I’m guessing you’re missing t…

Limit repeat client side only

There is a .top() formatter to limit the number of records. Just add the number of records as a parameter

How to randomise array that goes into a repeat

There is a .randomize() formatter you can use on the array

Dates, Dynamic Dates and Date Picker

In form generator use type TEXT and not date. Then on the page add the datepicker to the text field and it will work fine. As for setting dynamic min/max dates - do this using the dynamic attributes…

Ngrok on MAMP PRO (Bad Request)

Fixed in Wappler 5.0.0 Beta 6

Socket refresh heads-up

Hi! Might be obvious to most, but I made the mistake of using “Refresh Server Action” for everything, which caused big performance issues. When developing, it’s all fine as you’re the only one testin…

Reset form on Modal

I worked it out @Teodor with your asking me “Where does this data come from”. The information for the top of the Modal comes from a Data View but I had mistakenly pulled the data from some hidden tex…

Rounding up a dateTime to the nearest X minutes

Hey All, Just found this little article that uses some simple JS to take a dateTime input and either round it, or round it up to the nearest 15 minute interval. I modified it slightly so you could c…

How to add an option within an opt group that pulls the data directly from the database in select

I would like to know how to add an option within an opt group in a select, but that data is pulled directly from the database and categorized as well as in the image

Form Repeats Add Properties?

In a form repeat when adding a new record is it possible to populate certain input fields within this repeat? I see this when using the dynamic event to add a new record but nothing is listed below …

How to format/get dateTime to NEXT full hour? (e.g. 6:40pm 12 seconds to 7.00 pm) in Server Connect only (not front end)

Hi, you can use the date add formatter to add +1 hour and then apply a date format HH:00:00 Example: {{NOW.dateAdd('hours', 1).formatDate('HH:00:00')}}

Between Condition not working

I am attempting to calculate Age in months from the DoB - date of birth summited by a user. if The computed age is between 35 - 45 then the condition is true. I have tried using the BETWEEN conditio…

Server Connect and Apex Charts

When moving a data source from a layout to a content page, often you need to change the path data items are bound with For example on a layout page you might have: {{serverconnect1.data.someDataItem…

How to display Text when DB value is 1

dmx-text="(variablename == 1 ? 'Male' : variablename == 2 ? 'Female' : 'Animal')"

How to run a custom plugin in wappler?

Hi, Sir I think you all are fine and doing well, i know you have the vast knowledge in wappler that’s why i just want to know from you how to run a custom plugin in wappler? i have copy and paste th…

Call JS Function from Button

I think, maybe, your function is returning the array when the button is clicked but doing nothing with it. To find out you could try: onclick="var gcd = getCartData(); console.log(gcd);"

Why Does Saving a Form Takes App to a Page of JSON?

A standard form will navigate to the page where you post to. Make sure you make the form a Server Connect Form, then it will post the data via ajax and will not navigate to it.

Remember Cookie to Hours?

I’m a bit too busy with other updates at the moment. I assume you use PHP, you can edit the file dmxConnectLib/lib/code/Response.php. To have hours instead of days change line 74 to: $expires = gmda…

PHP error with oauth2

Remove the option completely, setting it to "false" it sees it as being set.

Calculate age with month inclusive

Calculating Age from Date of Birth works. But I would like the Age accurate to the month. For example: 40 years and 3 months old 40.3 years below is the code for the AGE I calculated. What do I ad…

Is there any way to create workflow (activities mapping to users) in wappler?

Hi Team Is there any way to create workflow (activities mapping to users) in wappler? Much appreciated for your help Best regards Nyi Nyi Lin MyanmarDesk

Render HTML data from summer note in front

I have several summernote fields on my form which submit data like the below into the db. <ol ><li>university of education winneba 2014 2018.</li><li>university of education 2010 2012.</li><li>presby…

Modal with dynamic show shows for split second on page load before it hides

If the show expression is contingent on SC you could add that it also needs to have status 200 to show: e.g. Show if somefield is false: serverconnectID.status == 200 && !serverconnectID.data.somefi…

Remember login

In the Workflows/Server Actions tab open the Server Connect Settings. There you can configure the Sessions settings, you can set it to Redis and set the Session TTL in seconds (300 is 5 minutes).

Multi Updates

Well, I was way over-thinking it. Just had to use a regular update action. That was so easy. Love how Wappler makes me ‘look like’ I know what I am doing to my employer.

Problems with Docker / Migrating to New Computer - network is ambiguous

The solution is simple! just remove the networks. like docker network rm <network Id> <space> <network Id> ....

Need Help Paged Query + various filters

Just found how to proceed. My on-change behaviour were not setted correctly just like my SC conditions Thanks @Sorry_Duh !

Database Manager doesn't include MySQL as option

You need a web project (can also be blank) to see all the available databases.

Filter query with multiple URL parameters

With the split value you need to use IN, not Equal.

NodeJS - when using dynamic URL parameters - how can I return a 404 or redirect if no match is found with all URL parameters

Hey all, So I’ve finished first pass of our dynamic directory using URL paths. I can have up to 5 parameters in a URL path - currently if someone was to alter the URL it’ll just load the page and re…

CURL API, how to enter details

Hi, I have found a PDF API which is apparently very easy. This is what they have provided me with. I am having difficulty entering the info into Wappler in the API server action. Any assistance wou…

Calculate Age in months for inside a condition

I think you have a right paren in the wrong place. $_POST.dob.dateDiff('months', '2022-06-20' >= 420) should probably be: $_POST.dob.dateDiff('months', '2022-06-20') >= 420

Help with creating a custom stripe checkout for subscriptions

I would like someone to help me with a doubt I have, I’m a new user on wappler, I’ve learned a lot, but I’ve never used stripe, I would like to create a customized checkout for my client, so that his …

Display Mysql DAY OF YEAR

I am trying to display the day number of the current year in a MySQL query. like from 1-365. In the dynamic data picker in Database query I have tried lots of different ways. {{NOW.formatDate(‘yyyy’…

Can the Data Validator check if a GET param is in the DB (with no linked field) ❓

The linked field option is only used for the validator to know where (under which input) to show the error on your page.

Background image previews but does not display

It looks like the latest changes to your style.css file haven’t uploaded. Did you do a full publish? The style6 class is missing

Check if a nested repeat returns nothing

Have you tried using the count formatter to check how many records are returned?

SPA routing *without* Server Connect

How can we implement a client-side only routing without Server Connect, solely using App Connect? We wouldn’t even mind, if it’s based on hash-fragments in the URL. We use bootstrap menus and modals…

Uploaded File Names not being inserted into DB

Most probably your POST var is not defined as file, as the expression in the insert step is wrong.

Filter Text no match case

It is currently not possible to set the collation from within Wappler. I don’t know about Navicat, but I suppose that it will probably support it. The collation is something like utf8_general_ci or u…

Show Qualified or Unqualified message based on 3 conditions

Greetings to this great community. I come seeking help and guidance. I have a form that accepts an applicant’s details such Name, DateOfBirth, School Attended, CurrentRank, CurrentRank_StartDate etc…

User Group Registration

You just open the insert, on the value hit the lightning bolt and choose the bind from the query: Also you can get the user id using the security identify:

Sharing app with Docker

Hi everyone, I’m hoping to get some guidance on sharing my app, once final, with third parties using Docker Hub, so that they can set up their own instance on their own server (and actually use the f…

About OTP with Security Login Action Steps

But don’t put the security provider in the first server action. Use a database query to check if the user/pass are correct and then run the API for the OTP. Use the security provider in the second se…

Position cursor

Hello how to set the position of the cursor when loading the page, I have a login page and the cursor seems to put itself in password instead of identifier Thanks

Data tables

Hi all, We are using Datatables in one of our larger sites, it’s out of the box performance is superb: https://datatables.net/examples/index Is anyone else here using it? If so, did you find any in…

Dynamic Accordion Usage

Here you are: <div class="accordion" id="accordion1" is="dmx-repeat" dmx-bind:repeat="2"> <div class="card"> <div class="card-header" id="accordion_headingOne"> <h5 class="mb-0"> <button id=…

Error 550 No such file or directory with wappler but Ok with filezilla

Wappler doesn’t work that way. It’s bad practice to have your sub domain as a sub folder within your main domain. If I understand what you are saying.

How to find birthdays in the current month?

You need a custom query for that. If you are using MySQL then it will look like: SELECT nome, data_nascimento FROM dates WHERE MONTH(data_nascimento) = MONTH(NOW())

Define global data

In app, there is a “define global data” button, what it is use for ? Is a a variable we can set for the whole site having same id ?

Can't connect to gmail API

I used the instruction here: my settings: this is the error: server-connect:app auth: 'oauth', server-connect:app oauth: ‘oauthgoogle’ server-connect:app } +0ms server-connect:server…

Line breaks in fetched JSON data source string attribute

Use <br> and on the page instead of binding the data directly, use Inner HTML option which makes this code on your page: <p dmx-html="description"></p> instead of <p>{{description}}</p>

Using nested key/values as sets in a chart

I am struggling to get multiple sets displayed in my chart. I have prepared my data using a custom JS (to do some computations) and output it (dmxParse) in the following format: allData = { result1…

Tagify in Conditional Regions - something to be aware of

I just spent a while trying to work out what was going on in a project after Tagify was throwing errors when I toggled some conditional regions on a multi-step form. It appears that if the Tagify c…

No valid Database connection found?

Yes the direct connection in the database manager in Wappler needs your database credentials to make the connection. While in server connect db connection you can use any environment variables that a…

Show or conditional region displaying when index is zero calculation - javascript Pros

Hi, You’re missing an empty string evaluates to true, here’s the correction: dmx-show="($index != 0) ? ((($index / 4) % 1) == 0) : false)" This can be checked on your browser’s console: Boolean(" …

Remove all spaces from numbers

Great, TomD Your Idea is allmost complete. I had to change your fine solution a bit. Into… {{$_POST.text_with_spaces.replace(’ ‘,’’)}} (removing the space after the comma I am very thankful for …

How to load a dynamic gallery of images in a light box

we want to open a light box with one image visible and then scroll through the images based on data coming from an array from a server connect. we do not have all the images loaded on the page itself. …

Can the date value from DateClick Calendar event be converted to datetime?

When inserting you could simply add 00:00:00 or some other arbitrary time using formatDate E.g. datefield.formatDate('yyyy-MM-dd 00:00:00')

Wappler 5 login error

It worked! The issue was from Chrome. Tried with brave and got in. Don’t know whay might be. Maybe the cookies security level that I have. Anyway thank you!!

Getting a GLOBAL value on a page PHP vs NODE

Well the steps in globals are available on every page a server action is added on. So you can bind them on the page.

$ENV Global Variable not work in DB Connection

Wappler 4.9.1 Node.js Hello everyone, the global variables do not work with the database connection when I call the variable in the api I can see it. When I want to use the variable in the DB Co…

Docker - NO DB + Local DB

You can’t use 127.0.0.1 because NodeJS is running inside a container (“virtual machine”) You have to use host.docker.internal to access your host’s IP address Reference:

Invalidate Redis Cache

Hi. How to invalidate a particular cached item stored in Redis? It could be anything - sockets, content page, SA etc - whatever is cacheable. I read these two posts regarding it: Redis cache confus…

IN Operator - Custom Query - Integer values

hey @TomD! Thanks!! I sorted out using postgres operator ANY: :P2 is the array…ANY operator is to use with arrays, so, no need to convert values! Hope it helps someone in the same situation I was…

Dynamic Dropdown only shows first record

The repeat should be a repeat children on the parent or move the repeat part to the item. <div class="dropdown-menu" aria-labelledby="dropdown1" dmx-repeat:repeat1="serverconnect1.data.query"> <a…

Mobile App Menu Like Reddit

I’m starting to look into mobile app navigation and Reddit is pretty much exactly what I’m aiming for on launch you have 3 tabs that are swipeable and when swiping it also remember positions of the sc…

Data View to get Distinct list

Is it possible to use a Data View to get a distinct list? For instance, I have a server connect that returns records that all have a city. I currently have a seperate server connect which returns a…

Date field not valid if date is added dynamically

I have a dropdown select that gives you 3 date options. 2 Pre-calculated and another where you select your own date from a date picker. The select updates the own with the first 2 preconfigured optio…

Set session value after insert

How can I set value in session in Server actions ? How can I get value in form ?

Issue with a repeat with a repeat

I have an api which returns the records I require to insert into my database, however I am not sure if the company has set it up wrong (not that I can change it) On the images the api returns an obje…

Conditional redirect on form submit

Marzio, all you need a simple ternary operator which checks which of your radio controls is checked … dmx-on:success="browser1.goto(stripe.checked ? 'stripe_checkout' : 'paypal_checkout') You can al…

Search/Replace by project in Version 5 beta 3

It’s been moved: Unfortunately, the shortcut keys no longer work but otherwise it works as before.

Notification not showing

I have a contactform that, after execution should reset the form (which it does) and show a success notification (which it doesn’t). Notifications do not show on any of the pages (update forms) on th…

Dependant select dropdown in form

Hi, I’m struggling to setup a dependant select dropdown in my form. I have two fields, Company and Contact. I am not sure where I am going wrong. In the form, the companies are listed, but the Cont…

How to make a dynamic url?

Hey I have a page where I list all my products, I have a modal that opens when I click a “view more details” button where I show off a swiper gallery specific to that item and some descriptions, etc. …

Native Mobile Apps

Am I correct in saying you cant making true native apps in Wappler? You can only make webview type of mobile apps?

Send html code to the database

Hey, This issue occurs when there is a security feature like ModSecurity enabled at your hosting provider. Where are you hosting your app? You can try to disable it or tweak the settings a bit.

Server Action condition, "or" "||" doesn't work?

Is not “Adam” AND Is not “John” perhaps? qr_name.xyz.name != 'John' && qr_name.xyz.name != 'Adam' Alternative way: !(qr_name.xyz.name == 'John') && !(qr_name.xyz.name == 'Adam')

Calendar how would you add a repeat step for same event multiple times

With the awesome Calendar (Thanks Guys) I need to put an option for repeating the event either weekly, every other week, every 3 weeks. etc I am assuming that a repeat in action steps would do this, …

How to debug cron job?

Just started with my first cron job, and I’m curious how I can see the output? Normally I’d go to the browser and open the API action there, to see what it outputs (either in the network tab or just …

How to add created_at and updated_at columns to your table using knex

Make a database migration (knex .js file) in here Use this code to create ‘created_at’ and ‘updated_at’ columns .table('TABLENAME_HERE', function (table) { table.timestamp('created_at').defa…

Calendar - how to repeat an event at regular intervals for a set number of times

I’m currently implementing the in-built calendar to allow users to add a date with an option to make this date recurring at regular intervals (say every 7 days or every 4 weeks or every 1 year) for a …

Swiper additional options how to add

Im wanting to add the following options into my swiper: resistanceRatio: 0, slideToClickedSlide: true, I believe these options aren’t available in the UI so I’m trying to add them manually how woul…

How to close a modal on back button click?

Is it possible to close a modal ( if open ), when the backbutton of the browser or phones back button is clicked.

NodeJS best practice for type of database and setup

Hello. I think the implementation of NodeJS is going to be a significant boost for Wappler. I have been studying NodeJS, NextJS, as well as a plethora of IDEs, and development tools. For anyone thi…

How do I update portainer?

Very new to SSH, and still learning how docker actually works. I believe there should be a docker-compose.yml somewhere that is deploying portainer? And a folder with the files… But where? I can’t…

Remove files from dropzone

Hello, does anyone know why the remove method of the dropzone component doesn’t work? Just doesn’t do anything, no error on the console. Tooltip suggests this is for removing single files from the fi…

Earlier Commit to GIT checkout gives error on server connect login

Yes indeed you can delete any additional database connection just make sure is not used somewhere in a server action. Then just activate you local development target, open the project settings and sa…

Reference Error Message

Any one know why this would pop in the console? How can I fix it? ReferenceError: Can't find variable: daterangepicker (anonymous function) — dateRangePicker.js:3 Global Code — dateRangePicker.js:…

Bind S3 Provider Access Key to dynamic value

Good morning, is there a chance I can bind the AK and SK of my global S3 provider to dynamic values? There are icons for this, however as this is under Globals, I can’t add any additional steps (like…

How to use Validate Data to trigger a custom error?

I have considered the task, you can not do a reconciliation with the database in the data validation component, but use it only as an error message delivery in the password input. We do the check usi…

Suggestions on converting SQL varchar as number

I have a Mariadb table with a varchar field. I’m having trouble sorting it. I’m sure this has to do with the varchar status but I don’t know what is the best way to convert it during the API datab…

Development, Staging and Production Targets

When beginning a new project, Wappler offers a target choice of Development, Staging and Production. Do you use all three modes of the Wappler target usage suggestions? We know that the Development …

Git repository corrupted error

OS info Operating System : Windows 10.0.22000 Wappler Version : 4.9.1 Problem description Can’t see update files for the git reporistory. Steps to reproduce Just open project File changes are no…

Security provider - set multiple value

As @sid mentions, you can use ‘IN’. You just need to enter a comma-separated list, eg:

Card Link

Hi, How would I simply add a link to an image that’s in a bootstrap card. I see no input in the Properties Inspector for an A Href attribute for an image that I have selected. Thanks.

Difficulties connecting to postgresql database (SOLVED)

Hi guys, can anyone help me. I’m having problems connecting to the PostgreSql database. it doesn’t say it couldn’t find the driver and so I can’t make the connection to my remote machine. obs: I put a…

Rename file before upload with S3 Multi Upload

Hi everyone, is there an easy way to change the filename before uploading with the App Connect S3 Multi Upload Component? So I have some functionality to toggle a text input, where a user can rename …

Chat with rooms

Created live chat with sockets as to Teodors tutorial, this works, except sometimes the message is emitted twice. Any ideas why? My application requires the ability for members who are part of separ…

Get return code in form

Hello How can I get the return code from nodejs API in submit or success in form action ?

Pre-loader - Desktop vs Mobile

Pre-loader - Desktop vs Mobile My pre-loader works great on desktops and and laptops. I have 2 divs <div dmx-show="itemsdataview.data.hasItems()"> Has content </div> <div dmx-hide="itemsdataview.d…

Database Connection

It’s OK its working Teodor. I just uploaded to the live server and its corrected any issues. I guess there was some changes that hadn’t been uploaded to the remote server. Thanks for your help. And I…

Stuck on query logic

I have the server side mysql query all setup and working, but I just can’t get the logic for the condition. I have a ‘project completion date’ and a ‘user late login date’. and I want to remind the u…

Dynamic page title from SC

Create a database table. Title and description are self explanatory. The pathname is used to filter the data. Create a server action. For the step, use a single query filtered on the PathName …

Auto Save before Security Logout

Add a logout action to your page (Be sure it has autorun turned off) Add an action Scheduler to the page set to ten minutes and run the logout. One caveat is that if the user refreshes the page or m…

Heroku DB credentials update

Hi, I’m using Heroku Postgres db and api to insert to db. Heroku updated db credentials, so I updated them in Database manager. Unfortunately, Wappler updated these credentials only in the project jso…

GeoJson and map generation

Hello is it possible to retrieve the coordinates in the response of the api and generate a map, does anyone have an idea? Here is the example of an API, which provides information on Geohazards T…

How to login as a user from Admin account without password?

I think he’s trying to allow an admin user to impersonate another user. I have done this before by using session variables server-side. Upon login, set a session ‘userid’ value to the identity of the…

Auth0 flow question

Hi! I asked this question on the Auth0 community but didn’t get any response, maybe someone here has experience with auth0 or another related authentication flow? I’m trying to integrate Auth0 with …

How to convert array item to string

json(session.data.stats.where(‘gid’, ‘A100’, ‘==’)[0])

Same expression working on one page but not on another

The following was missing on the page on which it did not work now it is working <script src="../dmxAppConnect/dmxFormatter/dmxFormatter.js" defer=""></script>

How to set a full array value to array variable?

I have a server connect with multiple records. This array is repeated in the front end. And on click of the repeat element, a sub array of the repeated element must be set to the array variable for fu…

Can't apply the knex change to create multi ref table when SQL_REQUIRE_PRIMARY_KEY is enabled

I created a multiref table using the ui (right click, New Multi Reference) This worked fine in my local dev environment (docker) When switching target to the live database (digital ocean managed db) …

Cookies, GDPR, Google Analytics

Does anyone have a good source or suggestion how to connect a cookie consent button to Google Analytics? I understand that Google Analytics is by default not GDPR compliant, so I figured I need to of…

Popover and Dynamic Click events within

Hi. I don’t think dmx-on:click will work in that manner. But, you can try setting data-bs-toggle="modal" data-target="modal_bills" instead. Or, if that fails as well, just use JS onclick to open th…

Gitlab Credential Error

are you using gitlab with credentials in Wappler or oauth authorization from the global settings? It seems gitlab is just returning error 400 which means some kind of authorization mixture error. May…

Use Local Storage Data from Partials

Found it, need to add local storage with same id on the layout page. I don’t know if it the correct way to do it.

How to use App Connect Route

Seems like we can’t create 2 routes / nested using wappler visual method. To solve this I create 2 layout page with partials for sidemenu.

Docs and tutorials

You guys at Wappler are doing great, but new features are coming out so often that outdated docs are becoming serious problem. Learning curve is still kinda steep when comparing to nocode tools. Try…

Should special characters showing as page text inside a nav, paragraph etc. be escaped?

Is this really an error if it is normal text inside a html element?

Error storing multi-files data in database

Notice in my screen shot my repeat has the expression of my upload yours is inside the repeat. You should try having the upload first then repeat the upload which will get each record it uploaded

Summernote-cleaner integration?

Yes, you can easily add it to your page. First include the js file in the <head> tags: <script src="js/summernote-cleaner.js"></script> Then add this script block: <script> dmx.global.…

Scripts on the layout page do not load correctly with internal routing

I have a NodeJS SPA where I have setup an internal routing to the Home Page when successfully logged out. The content pages have been setup with one layout page; so the routing is happening from one o…

TinyMCE And Signed s3 Images

I’m looking into TinyMCE to be able to create blog posts one thing I’m not entirely sure on is how to manage retrieving and using private images in the space as the link will expire every 2 hours and …

Why Database Query and Database Paged Query have different JSON representation?

Pages Query has an additional data wrapper for all the paging information. And a “data” object for the real data. For regular queries this is not needed and there you have just the data directly. Be…

User Login Log

If you need to build a log that keeps track of user’s login and logout, how do you accomplish this in a secure way? I’ve got it to work on the login timestamp, ip, and usernames. However, I am having …

How to database insert JSON?

{ "name": "George", "country": "NL" } How can I literally Database Insert such JSON without actually going through the traditional Database Insert dialog and selecting the fields? It’s not fe…

Replace the first 2 digits of a number from a $_POST

Created a small slice formatter for this (for NodeJS). Extract it in your root folder and restart Wappler. Then you will see it under custom formatters in the Server Data Formatter: extensions.zip (…

Problem with dmx:parse from table and leaflet maps

I have the map displayed on the page and I manage to use a button to display a marker. But I am not able to get the lat/lon info from the bootstrap 5 table when I click on a row. I am using nodejs. I …

Problem list transactions stripe

Ok API GET, i’ve remove base_dir, and ok

dmxConnectLib error after site transfer to a new server

I just transferred my domain to a new server (with the same provider) and I am getting the following error: code: 0 file: “/home/username/public_html/dmxConnectLib/lib/core/Session.php” line: 9 me…

Form - check if either field is complete

You can dynamically assign the required attribute for both inputs, based on other field’s value. <input type="text" id="input1" name="input1" dmx-bind:required="!input2.value"> <input type="text" id=…

Server Action Condition for _POST value being null/empty

Hi have a server action with a condition, and I am trying to set a condition that if the form field value is not empty then carry out a step. But I can’t get it to work.

Dynamic Meta Tag Content

After watching the incredible webinar yesterday, it dawned on me that I had not put any of the meta tag content discussed on my pages. So, I went to the first page to add it and discovered that my fa…

User Change My Password functionality

SOLVED! The issue was in the last part in the update query. I mistakenly filtered the update password query in the server action using the wrong user field under ‘Conditions’ - so it was never going …

Wappler replaces { for hex

Looks like you are trying to add dynamic values to a static url here, in dynamic attributes add link: Also the blue icon with 2 arrows next to the lightning bolt will allow you to select the page y…

Bootstrap5 from bootstrap4 bs.tooltip error

Doing a global search for bootstrap4 and replacing with boostrap5 solved the problem.

Export CSV without writing to disk?

I’m using NodeJS and I have a Server Action with a database query. Is it possible to export a CSV without writing to disk? I really just want to get data from the database and output it directly in…

Summernote image upload

Found the issue. I was using the ‘Image’ btn from Summernote and not the ‘Image Upoad’ btn. It works now Thank you!

How to do data entry of many to many

Is there an example of doing a many to many data entry and Updating records or adding records to other tables as a transaction after saving? So no updating or adding if there are problems saving from …

Styles not showing in browser bootstrap5

win 10 wappler 4.9.1 nodejs local server After updating from bootstrap4 to bootstrap5 and editing out all references to BS4 having problems with styles. Active tabs not displaying properly As…

Guidance needed - Nesting a repeat region, inside a TABLE

Hi All, Looking for a little guidance or assurance what i’m trying to do can be done. I am wanting to nest a repeat region inside a repeat row of a Table. I have gone through the documentation on I…

Bootstrap4 to Bootstrap5: Broken app

win 10 Development local server Wappler 4.9.1 NodeJS I added a test page and configured app for boostrap5: Project settings On pages: -Styles changed -Tabs links don’t work -Pages don’t…

Tagify not outputting value field in mix mode

I am trying to allow users to ‘@tag’ each other within a comments text input, and I understand this requires the tagify mode being set to mix. However, when the mode is set to mix, the text input does…

Get specific repeat index value

You can access them using an expression like with a javascript array get_all_users_without_santa_id[5]

Can you use Subtables with Existing database?

If your sub tables are correctly linked with foreign keys but just don’t have the prefix of the parent name, is not really a problem. They will just show in the database in the main level, but in th…

How to secure api payload data?

I have a form, which contains some crucial data such as amount details, user details etc. These are crucial data built from front end. These values are required by the front end form and backend api. …

Sub tables - switch off all these features

How do I switch off these sub-tables features in the database manager ? When designing queries now, I have to go digging around to find tables that are embedded in others when I really don’t want to.…

Bootstrap Template

Hello, does anyone have a tutorial showing how to import a ready-made bootstrap template into a node application?

Single 'state.executing' Statement for ANY Server Connect?

Do you want to know if any of the SC is running at any time or just the ones on page load? Most simple way when you want to know if there is any SC running is using the events start and done. <dmx-v…

Login fails when changing AWS docker machine IP

My AWS docker machine experienced an issue and was displayed in the docker machine list as in a “stopped” state. I believe something happened with that EC2 instance and as part of the recovery, AWS c…

App/web server crashing - any clues

Hi, The web serer went down earlier - under no material load. Here’s what the web server log had to say: Any ideas ? Thanks pp listening at http://localhost:3000 <— Last few GCs —> [19:0x4a62d40…

Infinite while loop issue

Hi @Teodor , can you check this sc where i am having problems. I think this should work. but it goes into an endless loop and I don’t get any results.

Adjusting content

I suggest you to look at the Design Panel docs:

Use of onupdated or dmx-on:updated for a Variable

I have a variable sc_aborted which I initially assign a value of 0. If a server connect aborts, then I assign it the value 1. When it changes to a 1, then I want to show a modal. Should I used onup…

Stripe API/Secret Key Error

I just tested and this still works fine. The Create Payment Intent has a client_secret value which is returned to the client via the set value client_secret action. It is returning a secret value th…

Show if today (date)

Not the date picker. Add the Date And Time component…

Form submit button - confirmation

Use the flows and the supplied Bootbox options for confirmation. It’s the same for bootstrap 4 and 5.

Changing Font and Size

Hi to all, I am trying to change the Font and Size of a paragraph using the “Design” Tab in wappler that should update the CSS to change the style. In the code and “Style” Tab I see the updates happ…

User Identity in security provide does it have to be an INT type

Does the user identity have to be an INT in the database field or can it be a varchar. I am trying to make encrypted user ids to improve security.

Display zip file size from url src

Hi, I’ve manage to create a server size folder to zip that create a folder dynamically. Works great! well done wappler team. How do I display for the user the zip file size on the app size? I have a…

Help Needed: Redis + Caprover + Wappler

The connection string that @patrick gave you will only work for apps that belong to the same docker swarm. This is the one created by caprover. Any app created in your caprover instance can connect to…

Pre-populate Tagify input

ah, I got it. My data was already flattened out. And I was trying to use a repeat. All I have to do is pass the ID’s of the data that is already there. Gotcha! I was trying to pass the name and …

Console warnings when using Tagify

Hi i got this warnings on browser console, also i followed the step but multi reference table has not adding id’s, but the main table havng the record. in my case users and roles, roles as multi refer…

Shopify oauth2?

Has anyone set this up for Shopify using Oauth2 for creating apps? I am not sure where to go with it. I’ve done alot manually but I think this would be easier if someone has already done it with shop…

Run flow on page view (mobile app)

Hi all, Using Framework7 in a mobile app. Is there a way to run a flow when a page is viewed (not just initial load)? I have an “options” page which is displayed when my app runs to check if a user…

Purpose of app/config/user_config.json?

It is indeed to set config values that will not be overwritten by Wappler. Wappler will ignore that file, so it is save to have your own custom configuration in that file without worrying about Wapple…

Show from 26 years old only

Hello to all, I have a table that I have the DOB of all the people already, I need to make the table show from 26 years old and olders only. Can someone help please.

dmxRouter has stopped my webapp from routing to different pages?

The dmxRouting.js file contains the code for navigating and partial updating SPA pages. Instead of a browser navigation it only updates the location and then does a partial load of the page. I don’t k…

Node.js: 304 Statuses and how to avoid them?

Solved! Thanks @ben! Comparing what you did to what I did I found one simple little mistake. On button click I had the user_logged_in server connect to ‘load’. Changing it to ‘reset’ solved everythin…

How do you dynamically setup a select from array

Hi all, Really simple question: I have an array ‘array_type’ which is populated by a page flow. A select that references the datasource ‘arr_type’ Question: can I populate the select…

Error: Unable to start terminal process

Often, when upgrading to a new version of Wappler I will receive an error like this in the output terminal. I just completely uninstalled and reinstalled all of Wappler a day or two ago. Still get th…

API File Upload (server action)

You can check the Wappler extensions section, someone did an API File Upload extension - indeed, Wappler doesn’t natively support file upload yet, good on you for asking for it

Error: Haven't Defined an "App ID" for this Page

I periodically get an error telling me: “You haven’t defined an ‘App ID’ for this page.” But, I have defined it. Multiple times. Hmmm *EDIT: (added this later for clarity) EVEN THOUGH I HAVE DEFINED…

Remove containers outlines

Hi there, Is it possible to remove the outline around the containers (marked in red)? Thank you.

Wappler designed nodejs web app has very slow performence?

I have built a nodejs web app using Wappler. And I have deployed it to digital ocean. This app seems to have poor performence issue. I inspected the app and checked that the page is loading too many w…

Database issue after update

I have a site and database query that i am trying to review, but after the recent update i am getting an error on all of the columns in my database structure Any ideas why this is occuring and how …

API curl "-x" data

One of the API for Stripe is to send an invoice. The CURL is below, where do you put in the “-X” value int he API server side. Is is under input data? curl https://api.stripe.com/v1/invoices/"{{I…

Input Randomly Not Responding to dmx-on:updated

I have an input like this: <input novalidate id="i_contact_search_name" name="contact_search_name" type="text" class="input_search" placeholder="Contact name or email..." dmx-on:updated="flow_search_…

CSS - form to wrap around and not full width

Ah is that all Then put the forms in a single col and add to both of them the .d-inline-block class.

How to update a User’s Status in realtime?

If we are talking about real real time, then we are talking about sockets. It’s very easy to do what you need with sockets. To do this, we use two preset events in the server actions in the sockets se…

Creating Update Form in Node.js (Empty List)

<form id="formWebsockets" method="post" is="dmx-serverconnect-form"> I think it may have something to do with the path? In my PHP projects the linked page is relative to the site root. In this projec…

How to show if users are online

For realtime status you can use websockets. Maybe check the following topic:

How to make a new content page in Node?

Brad you need to switch to PAGES manager / view, so the screenshots match what you have …

Ssl_error_rx_record_too_long

What to do with the SSL_ERROR on the https://localhost:8100/index.php ? Thanks, Trolle

Stripslashes formatter?

Hello, I’m working on oauth worklow that returns a URL for an avatar with backslahes - I’m not sure if they are added by wappler or by the provider, it looks like: https:\/\/lh3.googleusercontent.com…

Adding array of file to a zip file? (php server side action)

Hello, I’m stuck at trying to add an array of files (images) to a single zip file on the server side (PHP) - all I get is the first file from either a repeat action or its original database query:

Using multi-step form + Server side Validate > How to focus on invalid step / input?

Hi, I’m working on a registering form with 5 steps. I setted up 2 validate in my Server Action (with conditions below): email already exist in user table company already exist based on $_POST.inpu…

Display multi tags references

Problem solved I finally understood where I was wrong

Is there any alternative for mutation observer?

I have a feature called multilanguage, whcih changes text content to different language. This feature is based on manual data. How it works ? I have a json file with two kinds of language content. E…

Save image feature problem?

The save image step returns the path to the saved image, so you can use it in the delete step.

Does Salt phrase get encrypted before being appended to SHA256

Hi, Does the salt phrase for use with hashed passwords actually get encrypted prior to getting g appended to the hashed password? If the salt phrase is say “Bottle” does Wappler encrypted it and the…

How do I create Dynamic Form Fields?

I want achieve a feature shown in the link in the below. I have developed using some array features, but its not a valid working feature. There are issues like, value resetting. Input validation …

Save emoji in mysql database

You can add the utf8mb4 charset to your connection settings. Also make sure the database/table encoding to utf8mb4

Make database changes is only allowed on local development targets

Allow database schema edits only on local development targets I would like to ask the community if you like this feature and if it is useful for you? For me personally, after this update, the Wap…

Unexpected token 'M' at column 44 in expression

That fixed the error. That’s weird that it worked before? Thanks @patrick

Verify the sending of an email and update the database

Hello, would it be possible to store the information of success of sending an email

Smooth scroll not working with anchor links

That’s because you removed the href from the anchor. This way it’s not recognized as a link by the browsers. You can just add href="javascript:void(0)" to it.

Select first record on filtered data in data details component

Hi i have a list of users. This list is filtered based on click of 7 button. I need the Data Details component shows everytime the first record of the filterd list. I used this solution found in co…

Small helper script for Caprover users (Linux/MacOS/WSL)

Hi, For those of you deploying Wappler apps to Caprover, just sharing here a tiny script I made in the last hour, that may or may not be useful to you. By the way, if you’re a beginner, perhaps you’r…

API form Submit issue for GET method

Hi, I am new to wappler! I am trying to work with API Forms, which needs to pass code to API (GET) when I try to fetch data there is and extra empty query param being passed which is causing API…

Stripe custom checkout - stripe card payment page

Hi, I managed to get Stripe working with server side setup and having Stripe Credit Card displayed on my page thanks to @Teodor (custom stripe checkout form, Stripe Custom Checkout Forms) . However,…

Joins vs Sub Tables

From a performance speed perspective I saw that joins are faster than sub tables in most cases when researching online, is this the same for in Wappler? just looking into how my database would be best…

How do you create Stripe Invoices through API

Hi, I have been working for days on trying to work out the best way to go about accepting payments for my setup. Initial had a custom checkout cart and users entered the credit card details and payme…

How to run a "notification" inside javascript.. - Online | Offline Check

You can do it all with Wappler rather than using Javascript. Add a Browser and a notify component to the page. Add a dynamic action in the Browser -> Offline dynamic event Add some text. Done.

Cool yes no toggle

We have been using this little toggle and our clients like it a lot. very simple to use and fits in with a normal form. First part add this to you CSS file .btn-pre-sel { color: #cf8083 !import…

Server Connect Loading

You can have a dynamic noload property for the SC: <dmx-serverconnect id="sc_actionid" url="api/youraction" dmx-bind:noload="!(query.param1 && query.param2) ? 'noload' : '' "></dmx-serverconnect> Th…

Dynamic select within a repeat

So I have found the solution, just in case anyone has this issue. Was quite simple in the end, not sure if it the right way, but it works. One the sub-category it is set to load with the data source…

How to make multiselect with text search using Tagify?

Just leave tagify to default mode and set min chars to 0 and enable the “No custom” option.

Set a value of a text input in a repeat with a flow

So this has been bugging me for a few hours now. I have a repeating table that has in there a couple of selects and a couple of inputs. what I need to do is on the select, run flow and depending on …

Using ENUM's in client side inputs

One of the downsides to using ENUM’s in the database is that they are not readily available to be used in client side inputs – for example a select element for choosing a value that is stored as an …

Db connections not changing with different targets?

Hello, It’s been a while since I haven’t added a new target (I’m on the latest version of Wappler). I was expecting the connection options to change with every different target that I have, however, …

Delay External JS until Object rendered

Once again, why would you do that? You need to initialize the cropper script once the data is loaded on your page. You are currently trying to initialize it on document ready, which is quite too earl…

Sorting of Database Query - not working

I found the problem. In the code itself there was a \n line break in the sort field. No idea how that could have gotten there as I wasn’t manually coding it. But, it’s fixed now. If anyone encounte…

Getting PHPSession warnings

I’m working on a one page multi-step form. In PHP Version 8.0.8 localhost machine. After successful form insertion to the table this warning below arrives in Dev Tools. I’ve read in the github foru…

How to use group by formatter in App Connect?

Wappler 4.8.2 OS: Mac - Intel Chip Site: NodeJS Problem: If you add the option to group or unique to filter out duplicates it returns with information not showing, see images below: This is with …

Data Binding Picker doesn't show subtable column

Fresh news @George, I merely changed the name of the Database Query and I’m now able to see the subcolumn in the Database Binding Picker Probably it’s missing a view refresh - I didn’t test the refre…

Stripe Client Side integration with multiple items on single page

Is there a way to have multiple subscription/buy option buttons for multiple items on a single page for Stripe client side integration?

Oauth2 provider, access token?

Hi! I think I’m almost there with using Auth0 As this is my first time trying something with Oauth2 and I actually have no idea what I’m doing, is this approach that I took workable? The user logs …

How to Remember Login Status With OAuth

Hi, I have setup Google OAuth2 login on a PHP project, which is working well. The app uses Docker for development and on production. Earlier I was using regular Wappler security provider, where use…

Digital ocean deploy is failing

Follow the issue and workaround here:

OAuth2 - back to basics (question)

Hello, I’m trying to understand a basic question I have with Oauth2 (PHP model), in this instance working with Azure. To simplify the most the point I’m stuck at, here is my workflow: This works …

Pagination list

Hello I’m trying to use https://docs.wappler.io/t/applying-dynamic-paging/2865 to create pagination list but I can’t look how I can set offset in the help page. Isn’t something missing from the help…

[Guide] Installing livereload in your whole project (hot browser refresh)

After following these steps your browser will automatically reload after changing a file: 2022.04.23 16.39 - 4217 - Indianskimmer Step 1. Install the packages For starting the watchin…

How to Stop Repeat / break out of the loop?

Hi there, Just trying to figure out how to break out of a repeat in server connect when I have found what I am looking for. I’m essentially looking for a break; function like in PHP. Does anyone kn…

PHP 8.0 getting error with serverconnectForm.js try { this.xhr.send(data); }

php 8.0 getting this error on with simple registration form POST http://localhost:8100/api/security/registration 500 (Internal Server Error) _submit @ serverconnectForm.js:300 submit @ for…

Hide modal on page change

So I have a modal, I have noticed if a user clicks their browser “back button” after viewing the modal if will lock up the site and have it greyed out as it thinks the modal is still in focus. Is the…

Template ready-to-use for online Shop-App

Does Wappler has Template library, with ready-to-use Templates for online Shop-App ?

What is the best way to 'build' complex JSON file from values in DB?

I would use RunJS (on NodeJS projects) @jellederijke managed to do it without RunJS:

Missing Node Modules / Package.JSON issues / DO Deployment issues

So I pulled the current running version on the console on DO and it was 17.4 so I set this in the package file and originally it did not fix it… MY MODIFICATION - WORKS "engines": { "node": "1…

Server Action Not sequential (synchronious) with S3 Upload

Hey ya’ll, I’m attempting to read a receipt from a store and put the info in a database. I’m doing an AWS S3 upload. It works great. I can upload no problem, and access the pictures later. I’m also …

How to continue the execution of the steps in the workflow after a number of seconds in workflow

how to continue the execution of the steps in the workflow after a number of seconds, example I have a script that is running I know it will take 20 seconds, I need it to be executed to continue my st…

MySQL error Illegal mix of collations

Btw with the latest Wappler, you can change the MySQL table collations also in the Database Manager, in the advanced options of the table

Meta / HTML Head tag retrieval

Does anybody know of a tool that i can use to get meta tags from a third party website, something similar to this would be perfect. https://textance.herokuapp.com/rest/title/https%3A%2F%2Fwappler.io

Rename file with variable

Thanks its good for me

Changes to Flows?

Instead of using the success event put it on the updated event from the repeater of the table, the updated event is triggered after the DOM has been updated. It seems to me that the datatable script i…

Database manager use sub tables without prefixes

Hello Wappler Team. Will it be possible in the future to assign sub-tables and M2M tables manually without using prefixes? At my school there is an old working CRM on MySQL in which you can’t change…

Reusable server connect function in node js

Then you can use the library options in the API Actions to do this.

Quick Node Scheduler question - does the scheduler run on a standard 24 hour clock, or from app deployment

Hi all, I’m using a number of node schedulers. One of these is time sensitive. If we take an hourly scheduler for example, what is the starting ‘hour’. For example do all schedulers just run on a 24…

Offcanvas shadowing all screen on visible

Hello, Any idea how to avoid the shadowing that is applying to all the screen when toggling the navbar? It should only shadow the elements outside the canvas itself. Thanks

Database manager - new multi references are confusing, how to rename?

No, users_contactinfo will become sub table of users that is named just contactinfo multi reference are actually exact the same as sub tables but they just contain 2 reference keys inside - one to …

How to connect Google Cloud Firestore to Wappler Project?

I read over some forum posts and there wasn’t a definitive thread that explains how a user could connect DB to Google Cloud Firestore. Anyone have a tut? Or How to? Is this even possible? Additional…

Capacitator Missing - Installation Failed, symlink fails

It looks like you’re installing on a Google Drive mountpoint, which apparently doesn’t support symbolic links. Not sure if this can be fixed, because NPM depends on a filesystem that supports symlinks …

Dmx-google-maps-marker label

Hi, How can we move dmx marker label, so it’s clearly readable on top of the marker? thanks in advance.

To execute a php script directly in Workflows/API

We had a use case to run Ghostscript commands for some PDF manipulation. We created a simple PHP file and called it as an API action in Wappler Server Action. If you need more flexibility or options…

OAuth2 Facebook Login How To Assistance

Hi Scott, what do you mean? What exactly happens and in which of the two cases - then/else? I just tested this and it logs in and redirects perfectly fine. Also why in the else and then steps you h…

Unable to Rename File when using App Connect S3 Upload

I can successfully rename and upload a file to my S3 bucket, but only when I manually enter the filename. If I try using a filename previously saved in a session, it doesn’t upload. I have made …

Tooltip only displays to left of the input field

I have this issue where over one of the last updates my tooltips, which are set as “top” only appear left no matter what I set in properties. I have disabled my style.css file to make sure it is not a…

Collapsible Side Menu

If you haven’t got a solution yet. I may have one for you. I used @ben tutorial in this thread. Combining his other thread here. I created my own css file called offcanvas.css .offcanvas { widt…

Files not uploading remotely

So I’m able to effectively upload image files to an S3 bucket on AWS using the ‘App Connect S3 Upload’ method as described in this tutorial: However, when I implement the older upload method (‘Uplo…

Bit of advice needed on processing a shopping cart

Jesus, why do I give my self difficult tasks! I have a shopping cart, which includes: qty - instore qty - warehouse qty - backordered Now what I need to do in the cart is process a way that if le…

Action Scheduler not working

Hi, I have Action Scheduler, which is working fine in Design view. Once I run it on localhost or Heroku, it’s not working. It’s nodejs project, link here https://street-0222.herokuapp.com/ . It should…

Server Connect With URL Params In Content Page Load

Nice idea this actually works for the page load aspect so there is no bad call at the start due to the params not yet been noticed however it still causes a bad call when switching pages at least if t…

Reference Route from Other Route

What would the syntax be to reference a server connect located inside one route, from a different route. THE PROBLEM You are on route 2 and user enters some form data. User goes back to route 1 and…

HELP: PostgreSQL - could not find driver

Well seems you don’t have installed the Postgres PDO driver for your PHP/Apache server So checks the docs for your local server how to install it.

Styles not opening for button

Maybe your css file is corrupted. Open it in the code editor and check for errors at the bottom of the screen.

Line Chart limit to values

I have a line chart which is getting data that ranges from 160 to 170. The line chart is showing values from 0 to 180. Is there a way to make it only show the actual range of values? The data is co…

Pass Data to Server Connect from Table

Quick Question. I am having troubles Passing the data that is generated in a Table as a Parameter to be passed in a Server Connect API Call. Steps are Below for Functionality 1.) Table Populates fr…

{{(var1.value == guery.name)}} Return: True or False

It is working, after I added: Thanks Teoder!.. all best to you.

Http Security Headers in Wappler (nodejs)

Hi, I would like to know what is the best practice / how you add the following http security headers in Wappler for your site / app (with nodejs) : HTTP Strict Transport Security (HSTS) Content Sec…

Select dropdown puts NULL into a blank entry

Well your input shows null as that is your database value. You don’t need an empty/null database value for this. You can simply add an empty static option in your select <option value=""></option> Ex…

Windows1252 - utf8 before import data

Great! A Linux script is fine Can you maybe try the following on the Linux terminal to see if it works: iconv -f CP1252 -t UTF-8 in.txt | dos2unix > out.txt Query search term for Google: dos2unix w…

Moved from Intel to MacM1 on a project - getting an error opening a project previously developed on Intel

Yes this is a known issue with docker and MySQL on the Arm64 M1 chip. It is actually the fault of MySQL (Oracle ) they haven’t published a MySQL Arm64 image build. So with the fix above you are actu…

Browser Component-Can we have detailed documentation?

Here’s an updated list with a few more options and examples: <ul class="list-group mt-4 mb-3"> <main> <div class="contentArea"> <p><b>Browser component options</b></p> <p…

Date field (not datepicker) validate that date is in the past

Try it with adding dmx-bind:min="'now'.formatDate('yyyy-MM-dd')".

Insert Multiple Objects

Hello! I need to Insert multiple objects into a Database. I know how to insert arrays, but in this particular case I must insert different objects. The main issue is that the form inputs are inside …

Error in send form

I have a button “Test Tribune” on https://www.makkumfriesland.nl/agenda.php, which opens a form in a modal. The form had two send mail server actions. One mail goes to me and one to the client. The m…

Node not found

Hello, Node was installed, but i needed to add the link to the PATH

How to submit a form using CTRL+S

First of all you need to bind this on the page body (App root) not on the form or the button as it makes no sense to use it there, and then you have to prevent the default browser ctrl+s behavior, whi…

Routes - What am I doing wrong here

routes.js is only needed locally for the routing panel to be able to generate the htaccess rules and show your routes. Probably the htaccess r any of your files was missing from the server.

Database disappear in prod and rolled back 3 months ago in dev

Wappler Version : 4.7.3 Operating System : macOS BigSur - Version 11.6 Server Model: NodeJS Database Type: Postrgee 11.1.X Hosting Type: Docker (AWS EC2) Expected behavior My WebApp under constru…

Query aggregation and sub-tables

Actually the aggregate does not apply to sub tables directly. So we should probably disable it. Sub tables has their own query properties - you can double click on them to see their detail query. Th…

NodeJS - Does Security Restrict Redirect from SC?

Hi all, This has been happening since I started this project about 12 months ago however I’m only addressing it now. So, as expected with Nodemon, every time I save a file, Nodemon restarts the app,…

Paged query

You don’t really need to use offset and state with the paging generator. Maybe I don’t quite understand what you are trying to achieve? Maybe this one will help you.

Creating charts with polyfills examples?

I am assembling data online that I’d like to use this way below. Does anybody have some background on how to generate these polyfills charts & views from Filters on database records? I have a Combin…

Leveraging browser caching - node servers

Its luckily a super simple integration, pretend your website is called thesmurf.com Go create a gumlet.com account, create an image source, and point that to your TLD, example https://www.thesmurf.co…

Nested queries / sub table joins for tables created outside of Wappler?

Hi, does the new Nested-Query-Feature recognize sub tables that were created outside of wappler (using table links or link tables for multi-to-multi relations)? Best regards Fabian

How to set query parameter in nodeJS on page, without reloading?

When you scroll through a thread on this forum, it will change the url: it adds the id of the specific post you’re looking at. For example from /35 to /36 etc. See this video and look at the end of t…

Importing data from a spreadsheet?

Hi @riazahmed2019 If you want to import data from a CSV file on your computer, then you need to upload it first and then read the uploaded file content and insert them in the database. Upload the…

Run website on another machine

I tried this and it WORKED.

Working with json mysql field instead of many-to-many table

I want to make use of the new features with the json field to store category IDs instead of a separate many-to-many table which is how I would normally do it. But I just can’t find the documentation f…

Requesting files using API from another Wappler project

When I need to work with files (display/download) in security mode, I use this method: The method works well and allows you to display/download files only to those users who have access to them. …

Update all values in a column

Just make the WHERE the id column is not null - that will include all rows anyway

While loop not working during multiple conditions

I have added 2 snapshot of SA, first one is working fine, but second is entering into infinite loop. Multi conditions in while loop not working

Export CSV

Nevermind, just worked it out path is /public/travel-images/filename.csv not just the path itself.

How To Retain Filters Across Pages

Hi. I have a NodeJS SPA with 1 layout page & 2 content pages. Both content pages have a table with sortable headers and a search input. All of the values, including search, are configured using on-…

S3 putFile (PHP) - keeps causing error

I’m trying to process some images and upload to S3 but the S3 connector in PHP doesn’t want to play ball. Whenever I use the putFile step I get the following: code: 0 file: "/var/www/html/dmxConnectL…

Display number of records vs number allowed

I am trying to add a column in my table repeat. Such as: Where the first number comes from a second data table and the second number is from the main table. Maybe this will help. I have two tables…

Clear Form's Data Object (not inputs) on Form Reset

For server connects, there was a reset option added some time ago. Don’t think such an option exists for Server connect forms yet. Sounds like a good feature requeset. @patrick? So for now, you can …

How to execute a task after a determined time?

Try the Scheduler action in your page.

Get Date Picker to Open Above Input?

Good lord. Of course there is a ‘Drop Up’ option I can check. Gotta be beer time. Solved.

How to create a Validator Extension?

Is it possible to create custom validator with extensions? Let’s say I want to validate document number with check digit in client side. I’ve read other topics about creating custom extensions but co…

Connecting to SFTP with PPK key

Hello George, Good morning. I successfully changed the format and was able to connect If anyone else has the same issue I used the following command ‘puttygen private_key.ppk -O private-openssh -o…

Questions about the Tagify component

I have a superficial knowledge for a full use of Tagify, and I need some clarification I assume that in a mysql database we have an “articles” table with a “category” text field To manage the catego…

Select Option Value not displayed in form input

Aha ok - you don’t assign it on click You can just select the text input > dynamic attributes > value > select the select input.value here. This will show the selected value in the text input.

How to send extra POST parameters with Stripe component?

How can I achieve the following? I have a stripe client side component set up: In the Dynamic Attributes → Line Items I am sending an array of data (shopping cart) In the server action I c…

Trying to group records by month to get totals for each month

what is the most efficient way to get wappler to do this in the query builder? I have an events table which lists events by date with the amount collected for the event. I simply want to write a que…

Examples for admin backend and charts

Hi I am new and looking to know more about creating admin backend and charts in the front end. Thanks

Summernote full screen error

Hi, Summernote’s full screeen option is not working correctly. If I use it I get this error on the console And the editor’s background is transparent. Any ideas? Thanks

Postgres need ILIKE

Hi All I need to do a case insensitive LIKE query in Postgres yet I have no options to use ILIKE, SIMILAR or the lower() option. Example a search for “remove ms” should find “Remove MS”, “remove Ms”…

Clear just one field on form submit

On form success you can set the input value to '' using the dynamic events.

Reusability and passing data to ejs includes/partials

Check this post. There is an example similar to what you are trying.

Nested SPA Layout

Hi, Does anyone know how to create a nested layout? I tried to create a spa page with a nested layout, with sub-menu inside this settings layout. Best regards, Reza B

Variable in repeat pagination problem

Does your repeat have a key value assigned?

Refresh items in parent page (NodeJS)

I have two pages (list and detail). When I go to detail and update some fields by submitting the form and going back to list page, the page load serverconnect isn’t reloaded. How do I tell parent pag…

Sort text as numbers

Hello Wappler, I have text column in my DB which contains numbers I have Bootstrap 5 generated table which has sorting options Currently sorting of such column looks like this: Is it possible to…

Wappler in wsl

Has anyone tried and managed to install and run wappler within ubuntu on wsl?

How to implement a persistent 'rank' for a leaderboard - looking for for some big brain thoughts

Hi all, We have a leaderboard as part of our game that we are developing. Currently the ‘rank’ is based on your position on the leaderboard which is determined by a sort function on a specific column…

Problem to launch a serverconnect after the success of an api

I can not launch my serverconnect after the end of the call of an api the api is being processed the api executed well after a few seconds serverconnect2 not working name server action Tests…

Random Order in a Paged Query

You need to: Use your random view for a regular query On your page add the server action returning this query and the data view component. Select the server action as a data view source. Setup the d…

Where is Layout Option

This may be a dumb question. But, where is the “New Layout” option for php projects? If I click new file, it just asks me for my file name. I don’t get any options for layouts.

Setting and storing session ID securely in Static sites

HTTP Only cookies work only with cookies send from the server and cannot be set with javascript. With javascript there is not a 100% secure way to store data that 3rd party scripts can’t access also. …

How to override query parameter from url?

Hi, I am wondering if this is possible. I have a page with a server connect which loads ads based on a sessionManager variable. Is it possible to override this variable with a parameter in the url? …

NodeJS SPA loader progress bar & icon

Hello Wapplers, I found this website and enjoyed the little icon on top right whenever you clicked a link/changed pages: Misaka It’s like a loading indicator, and if you notice closel…

How to create array from database query?

Maybe just use the where filter for your repeat instead of condition. Then add a setvalue inside the repeat with the data you need. And after that apply the flatten formatter to the repeat, outputting…

Use external modules

I would like to know how I can use other Npm modules other than Wappler’s defaults, and make wappler interact with these external modules. Thanks.

File upload and file extensions .jpg .jpeg

Looking for a little advice, I have a file upload form, that saves to a folder. As a secondary step it creates a smaller thumbnail image too with a Load Image, Resize Image, Save Image My Upload Ste…

Dropzone and Repeat Regions

Dropzone cannot be used in repeat regions.

How to console.log() on NodeJS server?

How to console.log() on NodeJS server? I’m getting an error with a custom query and need to print the current data on the loop

How to Disconnect a User from Socket via Socket

Hi. We have a socket setup where a message is emitted from client every 5 minutes. But for some reason, for 1 user, this has malfunctioned. From their system, its being called every few ms. From wha…

How to setup can show UI Properties

i use wappler pro,mysql,nodejs,build a web app, i sew information ,can use database manager UI Properties, and workflow can use UI properties , but my wappler project ,can not see UI properties , …

Make header change size on scroll

Hello! Just wondering if it is possible in Wappler to make the header “shrink” in size (about 50%) when visitors scroll down the page? Or do I need to add custom code? There is the option to make the…

BS4 Modal and date picker broken from third party code

Hello, I’ve inherited a BS4 project from a person gone from my team, where she was using a third-party template - the whole thing is a little messy and with unexpected behaviors that I cannot reprodu…

SweetAlert2 Tutorial

Hi! A quick tutorial on using SweetAlert2 with Wappler in case someone needs it. SweetAlert2 is a great alternative for the Notify component in Wappler. The way I use it works very well for me, p…

Can't set datetime-local value

From what i see the datetime-local input expects the date in a specific format. Try formatting the dynamic value for it using the FormatDate formatter and yyyy-MM-ddTHH:mm date format.

How To Wait For Select Value to Populate

Hi. I have a pages query in a SA, and the SC on page has binding for offset from query manager and limit from a select/dropdown on the page. Since the SC is auto-loaded, when the page opens, it gets…

Making a nice mobile layout

the styles.css referred to in the Project setup is empty. I added this to it, to set the variables for display: :root { --f7-font-family: sans-serif; --f7-list-item-title-font-weight: 900; --f7-lis…

Error connecting to database since update

It seems like it the DB connection the database was changed from Gunnery to gunnery. I have changed it back and hey presto everything is working again, not sure of this was the cause of the problem bu…

How to troubleshoot localhost didn't send any data

Set the port of Node to port 3000, go to Workflows and there to Server Connect Settings.

Problem with table generator

What is the query you are returning? It’s an object, not an array … that’s why no results are displayed.

Why is Security Identify empty only when I login with Google Connect?

Guys, When I login with a basic username/pwd form, the Security Identify in my Globals has the expected just logged in userID. That very same Security Identify is empty when I login with google. Any …

Modal won't open! console.warn('Unknown component found! ' + tagName);

Hi, new here Great place, great piece of software Trying to open a modal to add a user (have followed many tutorial, but same result) Here’s what my code look like and the warning that I get into …

Access values returned after form submit

AHHH IT NEEDS TO BE “MODAL SHOW” and not “SHOW” - - got it. Thank you.

Hide an element based on local session variable

yes sorry u can do that, i asked about your server language cause with nodejs u have websockets and the data can be updated in real time. But with javascript the only way i can think is for example …

Change Order Icon location

You would need to add some padding to the header text, otherwise it will be on top of the icon - unless you mean you want to swap the position of the text and icons. th { /* text-alig…

How to use security enforcer when there are two security providers❓

So you are using argon hashing for some of the passwords and not for others? That is why you see unauthorized … All your passwords must be hashed using argon hashing algorithm when storing them in t…

Repeated Form - what am I doing wrong?

I have a form that is repeated inside a table. The table creates a list of links and should display the Name of the link a text area where the user can edit the name of the link. But, I can’t get …

Getting started with APIs

Hello All, I’m struggling with understanding APIs. I’ve read an followed this document https://docs.wappler.io/t/using-api-data-source/3670 but I’m getting lost in the instructions and not able to …

Displaying a client side error message after Google Account Connect attempt ⚠

Hi there, I’ve set up a server side error handling for when a non-registered user tries to login with a google account (below). But how do I display a quick “popup” or toast message on the client sid…

Database update, pulling data not working

Hello, I am trying to use the database “update query” to update the database. However, I wrote nearly the same query as my testing database but it is not working for the actual DB. ^ this is the up…

Display Text Centered Vertically in a Display Block

Nevermind, found it. Was overthinking it.

Git manager not working

Hi, I just updated wappler to the latest version (from last week) and now when I try to Pull from remote i get the following error… Any help would be much appreciated!!!

Masonry get images from folder issue

Hello! I’m trying to make a masonry that images display from a folder named “realisations” but nothing show. It is the first time I try this so I might be missing something. I followed the documentat…

Working with arrays stored on a database column

Hello, Further to this topic, I have a column in a table sorting values as ‘1,2,5,7’ . For the sake of an example, they can be category IDs. I have a different table that lists ID_category and catego…

Can’t quote a community topic from mobile device

Just a quick note how to bypass this bug: Just select the text you want to quote and then click on the topic reply button instead of the floating quote button.

Converting Bootstrap 4 site to Bootstrap 5 Modals

I have converted an old BS4 site to BS5 and the modals don’t seem to work. Is there something I have to adjust to get Bootstrap to recognize the modals?

Local Storage not working on iOS (Both Chrome and Safari )

I linked it to a new a subdomain and it’s working now on ios as well as desktop. Will keep trying on earlier subdomain. A bit worrying that the purge and delete on my cdn seems to be a bit unreliable…

Help with List Group

Thank you very much @Teodor Solution code bellow: <div class="container"> <div class="row"> <div class="align-self-start col"> <ul class="list-group list-group-horizontal ali…

How to convert Bootswatch theme to Theme Manager?

How to convert a Bootswatch theme to Wappler’s Theme Manager? Including colors and such

Session variables are not being shared between tabs

Browser sessions are not shared between tabs: If you want to share data between tabs use local storage instead of session storage (browser sessions).

Write log file txt with Asp.net

Hi! I would have to do something like this to write a TXT file log. I found something like this, but I’m reaching for an ASP.net version. Has anyone ever realized such a thing?

How to access session variables from subdomain

My content is on cdn.mysite.com to restrict access Both my homepage mysite.com and cdn.mysite.com are static websites mysite.com is made with Wappler and cdn.mysite.com has a html game (Made by Con…

Setup guidance needed please - using my own server/MSSQL (not local)

I really need to get moving forward but need to understand the setup first. Want to use Node, not PHP I have my own Windows 2018 server and MSSQL instance. Already use node on that server too. D…

Execute Steps

Hello, yes it was removed when we redesigned the server connect panel, after a long discussion about redesigning server connect panel as it was not really needed. Now you just add your steps under ex…

How to write API Action "On Done => do x" in App Flow

Just a clarification here. Actually the flow steps are executed sequentially. The only exception is the Run step, which executes an external action and it goes its own asynchronous way. Server Act…

How to set session variable from Run Action of App Flow- can't see options in UI

Can’t see the usual options in the “Available Actions” to set session variables in UI. Is it to be done directly in the code file of the editor? But how? Thanks

Using Formatters in WHERE in Server Action

Hi. I have been using formatters inside the where bindings since forever on client side. For eg: sc1.data.query1.where(`prop1.lowercase()`, 'hello', '==') But when I tried using the same in a Serve…

Show Dynamic List in a Popover

You can’t add a repeat region inside a popover.

Export PDF api2PDF in custom server S3 or FTP or other

Hello, Good evening, I need your lights, I managed to create my PDF thanks to api2pdf However impossible to save the file on anything other than on the default google drive has anyone tried with Am…

Best way to run sitewide background task, that runs even if page is navigated away from

I want to update user profile on my site with the latest orders , after they make a purchase on my site. It needs a few seconds to retrieve as sometimes it needs multiple tries. I call the API actio…

Insert to Database in Custom Module

Hey @mebeingken, What I have set up is monthly tuition charges. These are broken down per student per week because: Multi-enrolment discounts. Multi-student discounts. Holding fee discounts. When …

Encrypted chat

Hi! Planning to start building a chatting system now. Preferably I’d like the messages in the database table to be encrypted. Can someone push me in the right direction with using the login session…

Q about what I saw in Unwrapped video - form design

from this video https://wapplerunwrapped.online/videoplayer.php?id=17 he takes quite a bit of time to set field lengths on a form. (and if another form was needed elsewhere in the system, he’d be m…

Accessing and modifying value from one element to display in another

Hi! This worked : <script> function myFunction() { Paddle.Product.Prices(12345, 1,function(prices) { console.log(prices); var p…

Missing php file in DMX Connect

On things like security logins, s3 sign download you will see a provider option this is where you choose the providers you defined in globals to use. This is so you only need to define the s3, data…

Import / require components from npm

Hi. I’m trying to use Material Design npm and I don’t understand where to put require or import modules to make it work (after npm install). I will be happy if anyone make an example how to use impor…

Generic Cloud Servers

@George https://www.cloud.it/vps/vps-hosting.aspx Hi George I use NodeJS on Cloud Hetzner and am quite satisfied. I created projects with ease and in one case I was able to retrieve a project with…

Variable Value from DB Not Displaying?

Try this: let url = this.parseRequired(options.url, 'string', 'URL is required'); Without using one of the parse methods, it will only handle static values. Here’s a list that describes better:

Connect to opc ua server

can wappler.io connect to a PLC device (opc ua)?

No Comma At The List's End

Your CSS rule is just fine, that’s the way of doing this.

Troubleshoot site cache

Recently while I’m working on my site in wappler (live) It will crash my web site and I have to contact my host. They tell me they clear the site cache and it’s ok again. How do i troubleshoot someth…

How to download document on google drive

Hello how to download a remote document on google drive and store it locally on the server Thanks

Kraken Authentication Api / how to set up signature

Hello. Anyone tried to access Kraken through Wappler’s Api component? I cannot understand how I must set up the signature to access. Here are example data. Full example data are: Private Key: k…

Can't get Action Scheduler to work

I am just trying to create a simple ticker that counts down. For some reason the tick event for Action Scheduler is not firing. I even added a console.log to check. A button event starts the action s…

MAIL BODY: Embed Images and Output Checkboxes

When see these checkboxes, I never know if I should ever use them, and if I do, what actually happens. Any suggestions? Thank you…

The content of a page in a variable

I would like to retrieve the entire content of an HTML file in a variable, how can I do this thanks all

Has 'Condition' in ServerConnect been updated? (No 'ELSE' displaying)

It’s a space saver right click will show a menu to add else

Api response

Good evening, how to recover the data contained in the response of the api, example with api2pdf, it allows me to easily create a PDF but I would like to recover the data present in the response of t…

Nothing to see on phone or tablet

There’s that element: <div class="y-loading" id="y-loading"> <img src="assets/images/loading.gif" alt=""> </div> which does not get hidden on mobile. Maybe you are using a third party pl…

How to change colour of Checkbox -Bootstrap 5 Custom

Adjust to suit: .form-check-input { border: 2px solid rgba(254, 14, 81, 0.95) }

How to have a header ( before a flex container that is vertically centred on the page)

Have a look at <!doctype html> <html class="h-100"> <head> <base href="/"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> …

Help with 'import' of NPM module for use with a custom Wappler Extension

If anyone else reads this, i was able to get this to work, but after installing the relevant node module (regression.js in my case) i had to re ‘deploy’ the project so that it re-built all the node m…

Multiple Submits On Same Form

Hi, I am building a chat system with file upload. When user selects a file and submits, the server connect form gets submitted with the file and takes some time while the file is uploading. Being a …

Corporate SSL certificate with NGINX

Hello Wapplers, I would like to share with you solution how to add HTTPS support with custom (corporate) certificates for your Wappler web-site based on NGINX reverse proxy. Disclaimer: make sure yo…

How can I rename files when uploading?

Has anyone successfully set up an App Connect S3 File Uploader? I have followed the tutorial https://docs.wappler.io/t/using-app-connect-s3-upload/23862 and I can transfer files. However I can not adj…

Inserting image for certain database cells

Hello guys I’m wondering if any of you guys can help me out with this. I’m trying to make a table from the database which shows images for certain keywords For example, I’ve created a mock data tabl…

Set the TimeZone on Digital Ocean docker?

Ok… I found the solution…!! by default if you bring in a date … it will use the UTC time… {{start_date}} ---- > 2022-03-15T14:35:00.000Z But if you use the date formatter it will take the t…

Browser cache issue

@sid Thank you, this was it, server reboot cleared a stuck process which was a pending OS update, ran the OS update, now page data response is as expected.

Data store update value on top of current value

I’m trying to update a data store record, I need to add to the current value of that record. How can I achieve this? There seems to be no way to select the “this.recordvalue”. If this can’t be done …

Inputting an unknown number of variables in a form and saving them to the DB

Assuming that you get the VARDEF from a SC call/API call you could create all this with a form and some repeats. Then process it in a Wappler API file - no data store required unless you want resilien…

BS5 Tool Tip

Nope. Previous use prior to 5 I never needed it. So now it is needed, eh? I did finally add the BS toggle. That’s when it worked… I just never thought to use the trigger. Thanks Mr. Soory… Duh.

Not understanding Code Suggest / Errors regarding Forms

Why do you have your form tag like: <form id="serverconnectform1" dmx-param="" action="../dmxConnect/api/loginvalidate.php" method="post" /> it should not end with /> but just > as forms are not sel…

Using sessions issue

I’m having problems with obtaining a value that starts as URL parameter. I have a form on a page that is accessed by a url that has a parameter - product_id. I have used ‘Session storage manager to …

Select component show only values not inserted in database

You need two database queries - one, which returns the items stored in the database and another one for the query items: You don’t need to filter the first one, just turn off the output for it. Th…

Does the browser component 'copy' work? If so, how to apply data to be copied

Hey all, Tried using the browser copy component/function - when using it - there is no option to select data for it to copy, but it does present a () so I inserted the data from that row, but no acti…

How would I upload an image on Paste with Summernote?

Hey all, I’ve come to a solution. Thanks @Digo, I had literally just been looking at TinyMCE just before your posted. I’ve now decided to implement this instead of QuillJS for ease of implementation …

How to use theme manager with Bootstrap 5

On your pages if you look under add frameworks Is this also bootstrap 5 local sounds like this could be bootstrap 5 slate?

CORS s3 upload error need updated tutorials for amazon s3

Ok seems I was trying establish a connection using the root / secret key instead of using the keys created for the bucket. Thanks for your help guys.

Guidance on design implementation - Professional Guidance Requested

Looking for insight and ideas on how I might implement the fly-in animations on a home page. Thanks in advance https://inspirothemes.com/polo/home-shop-v2.html

Storing response (json) received by API Form in Session - to use on other pages

Stored the API Form response in a session variable of type array and could access it everywhere after that

Lag in Page Load due to script

Two possible solutions… You could use the Preloader to only show the page when it’s finished loading. Or you could set a ‘hide’ on the container while the server connect action is executing. You co…

Almost there... Node ... database connection on Digital Ocean pointing to 127.0.0.1:3306?

Just make sure you local database connection is called “db” and set it up as you wish.

Framework7: Issue with Swiper and AppConnect Server Action. Help!

Hi guys good morning, So I have Wappler Swiper on my page. <div is=" dmx-swiper " id=" preview " dmx-bind:slides="viewed.data.view_list" dmx-bind:initial-slide="square" vertical="true" auto-height="…

Docker Machines / Certs not pulling with git

The certificate are located in the docker folder of the computer used to create the target: ~/.docker/machine/machines (on mac) sorry I’m not sure what the location is on Windows/Linux Just copy th…

Best Practice: Mobile App With Website (MySQL)

Hi all, I’ll be creating both a website and an app that will use the same database information. I know from the past that in Wappler it was best practice to make two different projects: A website …

How do I reveal the Navbar when scroll direction is up?

You can tell im new to the program, I had it set to show when scroll direction is = -1 , but when page is loaded this value would be 0. I have now set it to: scroll direction <= 0 and this has fixed t…

Copying page results in white page

I expect the answer is: The paths in the new file will need adjusting - ie the references to the css and js files etc.

Unable to make spinner work

Well, don’t use dmx-text here. It replaces the content if the button with the text. Use direct data binding inside the button: {{jsonDS.data.Login[session.data.preferredLanguage]}} >> <span class="sp…

Add quick code commenting

Well … for Mac it’s cmd + / and yes it is working, i just tested this for you again.

Select2 - Update

Multi select is now available in Wappler, thanks to the Tagify component: See:

Select2 Mult Select Usage guidance

Multi select is now available in Wappler, thanks to the Tagify component: See:

Multi-Select Inputs - How to Write an Array to the Database

Multi select is now available in Wappler, thanks to the Tagify component: See:

Multiple Select Form

Multi select is now available in Wappler, thanks to the Tagify component: See:

Use a user-specific Salt to hash passwords

Hi, I am new to Wappler and I think about coverting an application I wrote (currently Xojo Web2.0) to Wappler. For better security we currently use a user-specific Salt which is stored in the Databa…

Problem with Multi Insert

Can’t seem to get a multi insert to work from as follows. I have a repeat region that has two form fields inside. These are multiplied by the number entered in the input field above it. ( ‘how many …

Wss connection issue

When you publish a nodejs application with plesk, you need to turn off proxy mode in Apache & nginx settings. Because Nginx sends proxy requests to Apache and connection cannot be established with nod…

Posting from a multi form control

Your checkboxes must also have the same names ending with [] if you want to post multiple values. Example name="checkbox[]" Then the POST variable with this name will show a comma separated list of …

Help with ternary statement

<input type="hidden" id="inp_user_type_status" name="user_type_status" dmx-bind:value="((chklist_personal_data.data.query.user_type != null) &&(chklist_personal_data.data.query.user_type_override != 1…

API Action (server-side) - how to get status code?

api.status Its not available in picker.

Exit script in appconnect

I seem to be missing something here I am running if statements and if the condition is not met I want the flow to exit. Similar to: function dosomething(invar) { if (invar == false) { return; } …

Slideshow Mobile

How to get a slideshow to fill the viewport height on mobile devices? It seems to work well on desktop but even changing the properties doesn’t affect the viewport height for some reason.

Overflow problems

I managed to fix the problem, seems like it was because I had to set a realtive position to a parent container in order for the overflow to work, thanks anyway

Add Item to Array in a Server Connect

How does one concatenate values into an array in the server connect? As you can see, I have created a null value for the myarry. Then in the repeat I am trying to just add the values to the array and…

Best Version 4 Upgrade Documentation

Antony, the docs site is:

How to add ELSE in Dynamic Events Flow Editor

Just right click and add the Else step.

Working with JSON API, manipulating data and display with repeater (Open Trivia DB)

I am trying to build a quiz website using Open Trivia DB API. Example, https://opentdb.com/api.php?amount=10 The URL will give you a set of questions, with the correct and wrong answers for each of t…

Deleting two files before record

Looks like you have not set it up correctly. Each If File Exists should be followed by a THEN before the file delete like this. In your case the IF is doing nothing and if the file does not exist …

Problem of parser when analyzing data from an external API

Have you checked if your secondary front-end loads the same Javascript Wappler libraries?

Save 'Insert id" as a session to re-use

I’m wanting to pass the insert id from one page to another page and bind it to an insert column. I’m just not sure where in server connect I save the insert id to as a session and how to bind the id v…

Help with DB query output

First you need to group your results by the sam_sip_group_number and then get the results for each of these values in an array. So add a repeat step, after your query and apply the group by formatter…

Repeat loop api call returning 404

API Action failures don’t throw an Exception, hence Try/Catch doesn’t work There’s a feature request for this issue: If the loop stops after a 404 error, you need to untick the “Pass errors” che…

Knex timeout error when directly connecting to database

I’m trying to set up a new direct connection to my database and I get the following error: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

Node.js server woes continue - Database updates, adds, server actions running after success of others all fail

Going to close this issue - I just went with a docker container and Linode which works and is fairly easy to setup. Got everything up and running except SSL with Traefik. Port already in use which is …

Htaccess file redirect

Hi folks, would anyone know how to create a hatches redirect for example: domain: subdaom.xyz.com redirect to: 0.0.0.0:8050 (where nodeJS site is) however I still need it to show the domain name a…

How to make Medium Editors Functioning in a Modal

Hello guys, It is the default tabindex="-1" property of bootstrap 4 modals which causes the issue with the editor. Removing it should fix this.

Slideshow component for mobile (viewport height)

I´m using the slideshow component and works perfectly on desktop but as you get to a smaller screen the images resize to the width on the parent container instead of covering the viewport height which…

Repeat objects in one 'list'

Hi, I have a simple api with a repeater which contains one query. I would like to merge or join the query result of each repeat into one json output so I can list this result on a page. How can I d…

Not loading the page from the top

Internal link is used for SPA pages, where you only want to refresh the content without reloading the whole page.

How to loop in serverconnect

Is there documentation on how the WHILE statement works in serverconnect? I’m looking for something like a FOR a= 1 to 5 to loop 5 times etc. Thanks,

Best practice to paste Goolge Tags and Facebook Pixel code into website via database?

o well this is what i end up doing … if you might need to do it in the future.

Bootstrap Select - How to add flag images along with text

Well the select control is a form input. You need to use the Dropdown component here for these purposes. You can add your flag icons there in the <a></a> tags.

Added Database Column Datetime - NodeJS

I am building the database and the relative tables. When I add a column called created and try to set it to Datetime with NOW and set the Default to knex.fn.now() by clicking the time icon.

Switch Control - reading static value when unchecked

I’m trying to filter a Data View with a Switch Control. I’m filtering through 9 other fields and this is working fine. I read numerous community threads and reviewing: Nothing seems to assist …

When I change background color in Theme Editor, it changes the background of text input also

Looking at Bootstrap 5 docs https://getbootstrap.com/docs/5.1/forms/form-control/#variables it shows that the $input-bg variable uses the $body-bg variable value, so this is not a bug with the theme m…

How do I catch API Error in case of connection issue?

Sorry all, nevermind. The TRY/CATCH does work. I had another API module in another SC I forgot to delete.

Mailer Setup

Hi Alex, You are not doing it correctly. You don’t need that ‘Setup MAiler’ step in your action. You need to set that up in your Globals now. Then it will be available to you in your Send Mail step. …

Ignore form field insert if blank

It would be more appropriate to use dynamic required/disabled attributes, instead of using a conditional region for fewer fields. dmx-bind:required="somecondition==1"

Help wanted on how to properly save date to database (NodeJS with Postgress)

Hi! I just had the same exact problem. I assume that your local timezone is UTC/GMT +1 so the 1 hour difference that you see is that you see there the UTC time, which means that it’s actually right. …

Security Provider Properties - Secret Key - from data source

Before i put this in as a feature request, i first want to find out if its a valid request. If its possible, is there any reason why it might not be a good idea? @George Scenario. I have multiple cl…

How do I edit the valid/invalid mesages when using forms

You can enter it under the validation rule you applied:

Help needed with syntax for repeating within js - PayPal Checkout Cart

I need to integrate with PayPal for cart payment because the client has used them for years and doesn’t want to change. Their guides are horrid to work with. Information everywhere and it’s hard to w…

Weird caching behaviour when reloading pages

When reloading pages on my server, they alternate between the current version and either an older version or a 404 error. I’ve tested this on multiple browsers. You can check here: eg. https://www.p…

How to import CSV from remote API?

Edit: Currently using the array fields directly, so low priority issue Hi, I’m using API Action to download a CSV file from a remote API. It’s downloaded as a text string, how do I use the Import CS…

App Connect Flow documentation

Is there any documentation on app connect flow other than the introduction? The intro mentions the following use cases which I’m interested in but I can’t find anything other than a few folk asking t…

API "Done" and "Success" Event not firing for some APIs in Client Side API

For Codes in the 200 series the following works case "210": return new ObjectResult("this works") { StatusCode = 210 }; and the following do not work case "210": …

Specific search criteria

I have a very large site that at one point I changed the security provider login page. I originally had a login.asp page that I needed to refer to but now it needs to be mylogin.asp. So if I am sear…

Import csv - data instead of file

Hi, I get csv data (not .csv file) from api, and I want to insert them to db. Is it possible? It looks like Import csv needs file. I tried to use Export csv before Import, to overwrite temp csv file a…

Session Variable getting reset on moving from one page to another

The problem was that i wrote if:'session.data.preferredLanguage=null' instead of if:'session.data.preferredLanguage==null' Working now

Can you suggest how to parse alphanumeric value starting with number or variable name with blank space

You can try something like records['3G/4G'] or records['RATE CUTTER'].

Base 64 Image - upload and save using wappler?

Stumped! Been at this for hours! Hi All, I am using webcam.js to take an image capture. I convert the javascript variable which it produces (base64) into a appconnect variable. I now have the form f…

New Node Server serving pages - DB not connecting

Ok, got it running. Was a db connect setting. Not sure which one since I just kept entering combinations of host name, etc till it worked. What is strange is that I must go in via ssh and start the s…

I am still trying to figure out how to handle YouTube api pageToken

Wappler Team I need some help in understanding what is the best way to return more than the default 50 items the YouTube api gives using the pageToken parameter from the YouTube api documentation. So …

API custom htttp codes

Lasterror seems to only run if the api does not run. api1.status can be used to access the status code

How to access API response , message and status code

I can access the api status as api1.status and the api data just like the json syntax api1.data.xxx

Sqlite3-Error

This looks wrong. Can you please re-select it using the folder icon? The path to the db should look like: not sure why is it wrong in your project.

Advice on flows, local storage & large datasets

Hi, I’m hoping to get a bit of advice… I’m currently re-developing a dashboard that was originally written using React (https://dashboard.ourfish.org). The reason it needs re-developing is due to the…

Form select fields not importing into server connect

For some reason my form import has two select fields missing. Both are for selecting ‘County’ and are identical apart from name and ID. I have been accessing them to use data inserts prior to this and…

Inline flow issue

@Teodor you showed me how to use inline flows to validate each step of a multi-step form by applying them to the ‘Next’ buttons to each step. I am trying to re-create one of the inline flows but now i…

How to create an advanced list filtering

Just add them as separate groups instead and add conditions to each group, where the filters should be applied.

Finally got node.js hosting up and running on Cloudways hosting... well sort of

Just got it working by changing the .htaccess file to: DirectoryIndex disabled RewriteEngine On RewriteRule ^(.*)$ http://localhost:3000/$1 [P,L] RewriteRule ^$ http://localhost:3000/ [P,L]

When does API Event "Done" Run

My Api is running but the dynamic event “Done” is not. I have put a simple debug step in the Done Event but it is not running . Does Done run in all cases or only after success or is there some other …

Image link to external website

Maybe you forgot to add https:// to your links

Cannot Pass Parameter to Page Flow Via dmx.parse

Try this dmx.parse("flow_stripe_error.run({stripe_error_message: ‘“ + result.error.message + “‘})");

Text alignment issue for different viewport sizes

I managed to fix it, I was changing it on the normal view instead of advanced and it was overiding the alignment. Thanks

I want to show on scroll down and hide it on scroll up a side bar, this is possible in wappler?

Add the browser component on the page and use the scroll y offset value to detect when the page has been scrolled down.

Conditional database insert

Just use the condition step in server connect and put the insert in the “then” section.

Trouble connecting with ssh key to hetzner docker server

Ok, You have an SSH key on your computer, it has two parts: Private key - id_rsa Public key - id_rsa.pub Once the public key is uploaded to your VPS, it won’t ask you for a password to login. You…

Dynamic Text+HyperLink+Text

Just don’t use the dmx-text in this case. Bind the data directly like: <label for="input1" class="form-label col-form-label"> {{jsonDS.data.TC1[session.data.preferredLanguage]}} <a dmx-bind:href="jso…

Mssql not updating table

Solved! The field for holding the password in mssql was less than the length of the encryption key. Also, I needed to pass in a value for a field that was set to “not null”.

Detect Pixel Color Of Image

Does anyone know of a lightweight module (nodejs or JavaScript) that will detect a pixels color for example the top left pixel of an image? I am essentially looking to detect if an uploaded image has…

Can you pls confirm these "empty" JWT Signing and OAuth2 php files are normal?

Hmm seems those are placed somehow in your root folder modules and not under their securityProviders, jwt or oauth2 sub folders. Not sure how you manage that, but you can delete and recreate them.

Change the Colour of Bootstrap 5 Button Border

Your <link rel="stylesheet" href="css/style.css" /> include should be after <link rel="stylesheet" href="bootstrap/5/slate/bootstrap.min.css" />

Required configuration option 'client' is missing

Trying to do a save all I got this error. Error exec update query: knex: Required configuration option ‘client’ is missing

Adding options to data store

This how-to shows how to add items to the data store with a button, but does not extend when there are options (radio buttons, checkboxes) such as sizes, colors. Maybe use a form??

Api processing question

I have an API that gets submitted and returns a batch ID number. The batch then will return a result, but i can take up to 2 to 3 minutes before the result is available via the API. Is there a way t…

Use Session Variable in Javascript

You need to use dmx.app.data in front of it and remove the quotes. email: dmx.app.data.session1.data.emailId If the session element is in a content page then add content before session1.

Localised validation error messages for forms

Hello I want to have text input validation errors in different languages. I have a fixed set of supported languages and i am able to use a dropdown list and session storage to store language prefere…

Sever Action Output Timing

You need to encapsulate such code (the response pipe thing only) inside a Promise: You use await to wait till the promise is resolved

Blank date field updating as 12/31/1969 instead of NULL

I have date fields in my sql tables that can be blank and is set to have a default value of null. When I update the table with the date fields left blank, the value 12/31/1969 (or 1969-12-31 in sql t…

Digital Ocean App Platform and Security Provider Restricts

Hi Everyone, I’ve been able to deploy my app onto Digital Ocean’s App Platform. Its connected to an existing Postgres DB cluster that I created thru Wappler DB Manager. My local Wappler target is a W…

Node.js multiple errors

Ah ha! I see what’s been happening. When I first set this up I made a typo in the password (in the database connection in globals). When you save the connection settings there’s no indication that the…

SQLite and Right Joins or Outer Joins Alternatives

During my quest to get more acquainted with NodeJS and SQLite, I ran into this error message: {“status”:“500”,“code”:“SQLITE_ERROR”,“message”:“select profile.* from profile right join login on login.l…

Flow not showing Else

New release v4.6.2 not showing Else in Inflow Condition, only shows then.

Math form functions

Here is my form field where I did the same thing. Maybe it will help you. <input type="hidden" class="form-control form-control-sm" id="hiddenId" name="hiddenId" aria-describedby="input3_help" readon…

How can I find out the address of an external request that calls the API directly?

How can I find out the address of an external request to the API of the application? I went through all the $_SERVER variables, but I can only get the address of the application itself. How can I find…

Then and else missing for the prompt component in flows

I think you are confusing the “prompt” with “confirm”. Only in “confirm” there are conditional then steps available. Otherwise indeed use the “conditional” action.

How Do You Fix SQLite DB Tables When An Update Fails

I’m getting an error that I’m not certain how I should resolve it after reading the error message. I’ve tried to add two more tables to an existing an SQLite DB with two tables. Below is the screensh…

Trigger Modal/Alert Client Side from Server Connect Webhook

For that you would need to set up a websocket to listen for real time updates on server. This is not currently implemented in Wappler although it’s on the roadmap. As a workaround you could use the s…

Masonry not initializing when inside a tab pane

Component like masonry, google maps, swiper and others that rely on the height of the element they are placed into will always have issues with tabs, modals, collapses, initially hidden elements. On …

SQLite set up

Hi all, I’m trying to set up an app with a Sqlite database, but I get stuck at somepointt. Following the @ben’s video (5. The databse) I set up a new projetc, with Docker as hosting and NodeJs as s…

Questions about bootstrap and capacitor for mobile

Decided to give mobile app building a try in wappler, however i have some questions i need answers to, I’ve tried to search for them in the forum but couldn’t find answers. Can we have multiple mai…

Database connections

I’m struggling to fully understand how to properly set up database connections. I have previously managed to setup a Database query that displays data in a repeat region. this works but if I access t…

Handy list for Bootstrap 5 manipulations

Bootstrap utilities are generated with our utility API and can be used to modify or extend our default set of utility classes via Sass. Our utility API is based on a series of Sass maps and functions …

Restricting calendar navigation and available dates

Question #1 answer, yes within, should have made that clearer, apologies @aschoijett! <dmx-calendar dmx-class:disable-prev="(currentStart < varToday.datetime)" dmx-class:disable-next="(currentEnd > v…

Validate an input dependant on other input

Just use: dmx-bind:required="block1.value" And make sure you don’t have just required attribute added, you need it dynamic!

Card Body and Footer not displaying in Repeat

Yes it was. Thanks - back to my CSS lessons

Modal_window.hide not working

Thanks - that worked! I had been saving each time using CTRL + S but it did save when I went to the main page.(and removed some other changes I tried along the way. Data is inserted each time I clic…

Bootstrap 5 Toasts Style

Is it possible to edit the following sass variables in the advanced view of the Theme Manager? $toast-max-width: 350px; $toast-padding-x: .75rem; $toast-padding-y:…

Data not showing from database

Hi, I am trying to pull some data from my database to show it on the page. I followed the instruction from this video When I follow the instruction on 8:46, mine only shows the headings…

Validator error message position

I have an issue with the validator feedback message position with a radio group. Any ideas how I can improve the display from from my current result as shown in screenshots attached. Here’s the layou…

CloudFlare as Axios Response in Network Tab Missing?

SOLVED WITH THIS FOR ANYONE WONDERING const axios = require('axios'); // you will need to install this const { toSystemPath } = require('../../../lib/core/path'); const fs = require('fs') const F…

Client side validation for select input

Yes that’s a bit more complex when also using validation. A solution here can be the inline flows for your next buttons. Run validate for your input(s), then add a 100ms wait, then add a condition w…

Integrate client side validation to Multi-Step form

Well there are dynamic events - on click > input > validate. You can keep the next button enabled and run the validate action instead. It will show the validation message when the input is not filled…

How to upload image with a url in the path

I have a file which I am need to get from a subdomain eg, images.thesite.com With he upload it is done under the domain eg, staff.thesite.com The website is running under the main domain eg. thesit…

Cannot find module 'socket.io-redis'

Now I actually see that you are missing an older redis module that we actually do not use any more. So probably you /lib files aren’t all up to date. Just delete the /lib folder and save a server ac…

Web server log concern - connect.session() MemoryStore is not designed for a production environmen

I’m seeing this on my web server logs - any ideas ? Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single pro…

Incremental $_POST var names

You wish I’m failing to understand if this is a PHP or a NodeJS project, so I’m assuming NodeJS. If there’s any difference between NodeJS and PHP is the string concatenation (PHP uses a dot, JavaSc…

Cronjob fatal error includes

Undefined index: REQUEST_METHOD So, turns out you can’t call this script directly. You have to use curl instead: curl http://yourwebsite.com/cron.php This is because $_SERVER['REQUEST_METHOD'] do…

Strange data binding output difference

You can’t use dynamic data without using a dynamic attribute. Your class="" attribute is not dynamic. It must be: dmx-bind:class="'f' + (floorprice > break_even ? 'good' : 'bad')" Or you can just u…

Off-canvas showing behind dimmed out and unable to select anything since update to 4.6.0

Z-index are defined by bootstrap per default: You can override them in theme manager if you need special values and create a custom theme.

Which js file load cordova-capacitor mobile app

Add the following to the bottom of the first Javascript file that loads with your app. This is <project-dir>/www/js/index.js for most Cordova projects. I am trying to enable push notification via…

Delay showing an image

I’ve solved it. Instead of a ternary on the page, I’ve put in a condition in the API and used Set Value to return either the value in the database or the static image via a condition. The page then u…

Submit redirect issue insert and email

Well please check for errors in the console in dev tools as well, when th server action runs. Also set the mailer debug option back to it’s default value 0.

Set Session value form url parameter on page load

I am getting extremely frustrated with what what was once simple tasks in Dreamweaver and dare I say web assist plugins, to now being really confusing with Wappler. For this instance all i am trying …

Complex formula in server action

You need to use the to number formatter in the formula:

Cdo not working in classic asp send mail

Microssoft has removed http://schemas.microsoft.com/cdo/configuration/ used in the mailer.asp script. I was just trying to add a mail reply to an old webapp for a costumer today. Is there a way to wo…

Issues with "project name already in use!"

Are you sure the project is no longer in your project list? Try to locate it and delete again. You can restart Wappler afterwards and check again just to be sure.

Server connect query with multiple rows add to client side array

Hi, I have a query which returns multiple rows and i simply want to add each of the returned rows to an existing client side array - seems like it should be straightforward would appreciate any guid…

Strange Space

I see your mark. However, is it normal for a database to enter a space when the input is empty? The only recourse will be the use of the trim(). It appears it’s the best fix for this issue. Thanks T…

Database Query Sorting Condition

What is this Sorting Condition and how would it be used? Can the sorting be done only if the condition is true?

CSV export/download

You should see your parameters and fill them with the necessary data, here is an example of a link with a parameter:

This is one way to show newest database record on bootstrap icon. (This is a How to Guide for Node.js Project)

If you have a database and you want to get the newest record each time a new entry is made in the database here is a way to do it, but first here is what I am talking about. 1.) Here you can see the …

Wappler Documentation - how was it done?

The docs uses lunr.js for the search. Another good search script is flexsearch. There are several good docs generators, you could try Docusaurus or docsify. You then write the docs in markdown and it…

Node Argon2 login unauthorized?

Thank you thank you! That fixed it. @Teodor what I meant is that I have tried to login with a SHA hash encrypted password. For example: Username: myusername Password: mypassword In the db: 9f338c…

Swiper in different devices

Hi all! Just trying to create a full width, 60vh height background swiper. So that in PC wold be fine a standard fullHD size, but for vertical devices it would be an almost square space. If I set the…

Sha512 encryption not working in a converted NodeJS project - error 401

Do you use the hash formatter for this? It should generate the same hash in NodeJS and .NET. The only thing I can think of is that it maybe in a different case, so that one is uppercase while the othe…

Server Side Variable as String in Javascript Code Question

Try: const srcImgName = this.parse(options.File_Name);

Refresh after login kicks you back out to login

I think you may need to check ‘No Auto Load’ on your logout action. It currently runs when the page loads and logs you out straight away (though doesn’t redirect). When you refresh the page you’re alr…

Grid style calendar

I love the calendar management tools in Wappler. I’ve checked it out and was able to quickly build a calendar using data however I need a view that shows all my employees (or a filtered group) listed …

Seeking Clarity on Login Timeout with Wappler and PHP

When you don’t use the remember me option, as in your example: a cookie won’t be created. I.e. the login will be kept for the current session (or until the browser is closed) In your case, when th…

Can I do a form to insert data with nested data?

Can I do a form to insert data with nested data? Table “products”: name prices (reference to table “prices”) Table “prices”: id currency amount Is it possible to create a form to add a product,…

Can Nodejs handle a .php url file request

Good day Wappler family. I want to rebuild an existing website using Nodejs as the server model. I have remote devices that upload values to be handled by a php script. Is it possible to setup Nodej…

How to set up the initial value for Data Iterator

Hey I am wondering if there is a way to set up the initial value for a Data Iterator? I see the properties have a “Start Index” field, I have been trying to use it but to no effect. What I am trying …

Routing for static serverless sites

The easiest way to do this is to create a folder for each of the pages which includes an index.html page containing the content. The anchor tag will look like. <a href="login/">login</a>

Can i use for loop in frontend?

i just want to populate data like this but for loop is not available in wappler, is there anyone can help me to convert my pure php html to wappler?

How to setup API Action paging?

To close the loop on this. I had to use a Set Value “Count” for the offset and add to it during every repeat. I used that inside of the API to increase the offset each time.

Query Question: If $_Get is in field

I have a situation where I need the dynamic GET value to be listed first. Right now the GET variable is always 4 digits. The noc1, noc2 and noc3 values can be 1-4 digits. I need to get a list of rec…

Database bindings

I am not sure what you are asking in the rest of the post but maybe this will make some sense. <td dmx-text="cost_reason"></td> Is the same as <td>{{cost_reason}}</td> The table generator uses th…

Anyone using Stripe tokenized charging?

I think what you are describing is basically this: initially you create a stripe customer and store that id in your db You collect payment details by creating a setupIntent and then use confirmSetup…

NodeJS Adding Dynamic Modals

Being new to NodeJS, and really wanting to build using its features. However, making the transition from PHP to Node is proving to be quite a challenge. The basic structure is not too difficult. Howe…

nextPageToken

Has anyone figure out a way to handle nextpagetoken from an api call in Wappler. I am still trying to figure out the best way to loop through YouTube nextpagetoken to get all the rows retuned from the…

Bootstrap dropdown Hover Highlight not working after selection

Well … your dropdowns all have a href of href="#" so when you click on them, the URL becomes yoursite.com/page.html# and all become active as all of them point to this specific URL.

Fit image to mobile screen and apply some padding

Well, you need to enable the responsive option for your image in the properties panel.

When using Summernote in a modal the dialog boxes for Inserting Image, Link and File are appearing beneath the modal

From what i see you can fix this by adding this: .note-modal { z-index:1070 !important; } to your custom css file.

Static websites Options while creating new project

No need for a backend(server model) if you are just serving plain html.

Cannot connect to the databse

Hello, I was using Wappler for the past few weeks and now I am facing difficulty in connecting my project to the database that I will need to be working on. At first, I was having difficulty connecti…

Javascript help needed

Hi there! I have 0.1% understanding of Javascript but I think I’m almost there with what I’m trying to achieve, could anyone with a better understanding help me out please? I’m trying to use an emoj…

Setting element Height -different device sizes

You can use vh for height and vw for width: e.g. 20vh (for 20% of the viewport height)

How to upload multiple file fields and include links to each in an email

I have a form that has 3 separate file uploads that are optional. In my server connect I check to see if there is a file to be uploaded and upload it if it is there. I do this for each file upload a…

Binding data in a repeat region

Then just wrap your paragraphs in a repeat region Add a repeat region on the page and put them inside … again you can either use a repeat region or a repeat children region - depends on the layout …

How to return the (webhook) request JSON body

Quick how-to: If you need to use the body of an incoming request (in JSON), for example when working with webhooks and authenticating them. You can use: $_POST.toJSON()

Set build version

Hello, In Wappler I have some way to set build version of my app ?

MySQL Remote connection problem

Further to the above. The default configuration for CSF ports is fine for Wappler to communicate at the host level as is localhost to the hosted site, all good. But for remote connections you will n…

What's turning star rating into a string?⭐

You seem to be trying to apply formatters expecting a number to a string value. Apply the toNumber formatter to the value first and then to the ceil/round.

A security provider using the API of another Wappler app

There is an app A that is hosted on a private server. This server can only be accessed from one ip address. This ip address hosts a second server that is open to the Internet. App B is hosted on this …

Server-side Conditional to set browser form checkboxes "checked" and disabled

In thius PHP project I have a query API that condenses multiple form submissions over multiple days. SELECT apo_Kunden_ID, MAX(int_event1) as int_event1,MAX(int_event2) as int_event2,MAX(int_event3) …

How would i see the POST data from a result in Node?

My payment gateway is returning values in POST with some results so i can do the rest of the transaction… But now im bit stuck on this one… If they returned it as GET… then easy peazy… Before in PHP…

How can I use a dmx-repeat in javascript?

You can’t do it like that. You would have to assign the result array to a variable and use a javascript loop to iterate through it. Something like this: var repeater = dmx.parse('serverconnect1.data.…

Retrieve the values in the array from a repeat

You can use join to make a comma separated string from the original query: qryMatchingKeys.join(',', 'user_id')

Windows 11 - [process exited with code 1] message in terminal

I’s a bug with the new Windows Terminal, change the default terminal to Windows-console-host and you will not get the popups. Setting can be found in the Windows 11 Settings > Privacy & security > For…

How would one extract values from a string

If you have data returned as a string: data: "some&string&goes&here" this: {{data.split('&')[0]}} will return some this: {{data.split('&')[1]}} will return string etc.

Send mail with a progress bar

I put the resolution to my problem, should anyone ever need it first I get the number of addresses to send the message to (addresses.count) So through “repeat”, I send the messages. At the start …

Seperate a URL variable into two separate variables

OK, with the link provided by @TomD I manage to figure it out using split(’-’)[0] for the first and split(’-’)[1] for the second. <dmx-value id="var_val" dmx-bind:value="query.code.split('-')[0] "><…

How to take current time, subtract an hour, and convert to UNIX timestamp?

You can easily see what any of these produce, when you create a set value step and bind any of these as a value for it, then run the server action. Don’t forget to enable output so you can see the va…

Right steps to call API with data from form?

You would define post variables in the api (the thing with all the execution steps) and in the api action itself you would use those post variables where you currently show PARAMs.

Not a "stupid" question.. if you dont know the answer... How to run JS code in NodeJS

@George Im trying to wrap my head around this… I want to know how do you run JS code on your pages with Node JS? I have watched so many tutorial on guys doing great thigs… There is 1000s of videos…

How to join 2 database tables [was: Records]

Hello to all; Can I show a list of records from two different tables in my DB?

Error from offcanvas component

Issue was related to an outdated bootstap5 local file, updating fixed issue

Form won't submit with decimal value

Try adding step="any" To the input (for number, otherwise it will not accept the decimal): <input type="number" step="any"> And see if that rectifies the issue @Heather_Mann?

Inview animation issue

Ok so i’ve adjusted the start to 90% visible… Which appears to have resolved the issue. Why? is a different matter … Cheers!

Realtime Data Update WebSocket for 2 wappler projects with same DB

Can any one help me how to do “Realtime Data Update using WebSocket for 2 wappler projects (Admin and Client) with same DB” ? I have gone through the below document, here websocket is used in same pr…

How to show SA response to a modal instead of using Wappler Notification or Alerts?

Well just use the dynamic data picker and select the values you want to use from your server action.

Can't launch node developer server due to missing modules

Try to run the npm install from the bottom toolbar, there is an icon for that

Swiper - how to play video when the slide is active

Wappler Version : 3.9.5 Operating System : windows 10 Server Model: Nodejs Database Type:mysql Hosting Type: Heroku Bootstrap 5 Expected behavior What do you think should happen? I am using a …

Condition inside Flow not returning TRUE

I removed the whole flow and one container show/hide condition on the page and re-set them and now seems to work fine. Confused but happy it seems fixed.

Passing a List to a ServerConnect using "IN"

The rules for the sql language and for the Wappler action are different. The action adds functionality to make queries easier. The Wappler query action expects an array when using the IN clause. You c…

Orphaned SC API Files

There is currently no an automatic way to find any server actions not being used on any page.

Refresh updated row

When you load the script again, set the offset to use the offset value of the existing action. It’ll be in the dynamic data.

Sharing Production Target with docker

Hello Everyone! I would like to share my production target with another dev. I’m using mac and he is using windows. Should I only send the certificates to him? Thanks!

How to create dynamic checkboxes?

Changing @Teodor 's suggested code worked like this for me – In the browser each input is dynamically produced from the contents of the online “trainings” table – The id and name are alike but most …

Add RAND() to paged query

Have a paged query and I would like to get it the option to select (x amount) of products but have random products picked. Is this even possible ?

Trouble with API output

okay, so it looks like their default is .xml data, so you need to actually change the Data Type from Auto to json to force it. Then the data displays correctly. Thank you for your help.

Lets Encrypt/Traefik - only securing www.domain.com not https://domain.com

Hey team, We are seeing that the domain.com is unsecured, but www.domain.com is secured. I’m sure this is an error that I’ve I’ve created - any guidance on how to correctly setup / rectify would be g…

Dymanically checking an array of checkboxes

Hi, I think there is a tutorial for this in community. Since you have the values comma seprated in single column, you need to split and find the value to check a checkbox. dmx-bind:checked="dbfield…

Argon2 - Database Insert step for Argon2 hashed password doesn't insert password into database

Thanks @Teodor, It helped to recognize issue. It occurred because there was no default value for email in Database Manager. Still I am thinking why I didn’t have this issue with SHA512. Anyway issue…

Force traefik to reissue certificate

OK so here goes (please backup! - I make no guarantees!) SSH into the server and run: sudo nano /var/lib/docker/volumes/wappler-compose_letsencrypt/_data/acme.json move the cursor to the start o…

Client IP Address debacle! Help please

I would use a global: < script type=“application/javascript” > function getIP(json) { document.write("My public IP address is: ", json.ip); dmx.global.set('ipadd',json.ip); } </ script> You can then…

Pagination/paging for SPA's

Hi, I have an SPA layout/master page with Bootstrap 5 Paging Generator on the bottom. I have a dozen content pages I would like to appear when the next (>) and previous (<) chevron icons are selected …

How can I check if mailer works correctly or not

They are the settings I use yes. But the one thing I don’t see there is the SMTP server address. For me it was SMTP Server: blizzard.mxrouting.net It could have been different for you based on reg…

Email Not sending - hellllpppp

Its working… i will describe what i have done and will post it here. thanks for all your help, very much appreciated vitor

Database connection ENOTFOUND

Hi there. Getting this error on digitalocean connecting with managed database: {"status":"500","code":"ENOTFOUND","message":"getaddrinfo ENOTFOUND db","stack":"Error: getaddrinfo ENOTFOUND db\n a…

How to input Boolean in MYSQL table field using Wappler

MySQL doesn’t have a built-in Boolean type. It uses TINYINT(1) instead. Zero is considered as false, and a non-zero value is considered as true. Wrapping a value with ' ' makes it a string, so you a…

Google BigQuery

Is it possible to use Google BigQuery as a data source in Wappler?

Split and input text and add % at start and end of split

So I know there are some smart people out there that could help with this. I have a search input which filters a custom query using LIKE Issus I am having is I need to split the search words and add…

How to store emailid

I am making a static website and I’m also using an unsupported database (Cosmos DB) to store my user accounts so i believe I cannot use the built in login system. In order to display users email id …

SHARP - Stacking Image Processing & Modifying Code

Hey guys, I’m trying to do some heavy image processing and while attempting to “stack” different effects on an image (see screenshot below) it seems like it will only actually “Sharpen” the image onc…

Export to csv only if query is not empty

You could use a condition step with the count formater and then > 0 After that put the export csv in the THEN step

Is the AWS SES transport functional?

Hi @patrick, Even if not in available in the UI is the ses transport for nodemail functional? Can I modify the SC json and add the needed options?

Exported CSV Dynamic Filename and Download & Delete CSV

I’ve only exported files with names which are a mixture of static and dynamic, but I expect the same would apply, eg: /admin/backups/items_{{TIMESTAMP.formatDate("yyyy-MM-dd HH-mm")}}.csv On a succe…

Formatting API Data that is an array in a table?

Pretty much the same as what’s explained in the second half of this tutorial:

Date picker not setting default value

I have an edit Modal that i am opening to update some content including a date. When i setup the generator for the form, i am choosing the Date type for the field. However, i cannot get the date tha…

Dynamic Sortable Table with custom query

I built a Bootstrap 5 table following the instructions at https://docs.wappler.io/t/dynamic-sortable-table/2866 but nothing will sort when I click the sort arrows. Searched through the community for p…

Change data in dynamic table to a link

You need to use the dynamic attributes > link for that, so your link code must be: <a dmx-bind:href="'/exports/' + name">Download</a>

Store SUM of input values from a repeat

If your inputs don’t have a static id then use their name in the expression below: repeat1.items.sum('hoursRate.value') if they have a static id replace the hoursRate with it. And of course change r…

Where query url FIlter

There’s an easier way to do this, as there is a way to conditionally apply the filter only when it returns a value directly in the query builder: Click the condition button and select the same expr…

How to upload html5 games to specific pages of website

If i follow you. Create the folders you need, Export the game content to the required folder Create a link from a menu or buttons to the index.html page in each game folder Upload your site to ser…

Swiper - Slide to Clicked Slide

Hi. I am having an issue with a looped swiper component. When I click on any of the slides, it animates from left to right and makes that slide active. But, this is true only for the first set, and…

Database for beginners Academy / how to

I don’t know their product but I really find vlaue in reading their blog / documentation / academy and amazing “how-to”. It’s really very well explained for people without IT background and the docu…

Bit of help please with a repeat when using an api

Hi guys, So I have an api which returns a number of pages (page: 1) in a query as well as data. I have the repeat for the products and inserts working well, but I want to somehow repeat the whole th…

Pass the GET URL parameter to server action step via $GET.key

Looks like you have mosunderstood how get post work. Maybe read up a bit, i’ll stick to the solution. For your use case here, the SA where you are verifying the UUID, save the uuid in a session varia…

IOS/Android Video Playback

I have searched around and found no results on wappler community to find out how to stop videos from launching to full screen on IOS and Android devices. Does anyone know how to stop a video on a sit…

How to trigger exception inside Try/Catch?

Hello, Can someone tell me how can I intentionally trigger an Exception inside a Try/Catch block? There’s no “Throw Exception” step Thanks!

Routing problems with external admin template for bootstrap 5

Thanks @sid, you were right, something in page was causing the problem, but not precisily my fault. Took me too much time trying to figure it out why this. I hope this helps to others if are planing …

How to add css to node content page

Links to the CSS files (Bootstrap, custom) are added on the layout pages and styles in those css files will automatically apply to all content pages attached to that layout. Is it a custom stylesheet…

Validate Data use advice

A server connect on the client webpage that takes a GET parameter and does the lookup against the DB. If it’s not there, raise an error (e.g. 404) and handle that in the client webpage with a browser …

How to set a default value?

You can make your parameter optional by adding ? after it:

Check if records exists in a table of a different database / LEFT JOIN with 2 databases

I solved the problem by using Join from the Data Transformations. I wasn’t aware that it uses a LEFT JOIN as standard. It would be great if I could set a condition in the Join properties. This shou…

Need some help on double input value from on source

I have a form with a hidden field for id-user and I have a select field in the form that gets the text field and value field from a table “users”. The value field in the select will add the users name…

Insert + many images / best way to proceed (need advice)

Ok. So the term “uploading” here could be “selecting” images. You can show hide sections in the form for your setup. First would show inputs… Second would be like a dropzone where images can be sel…

Displaying setValue inside field on-click

Take a look at my html source. You simply bind the value of the field to the form’s output value. Note that my button calls form.submit() and isn’t a submit type … That’s the key to this.

PHP + Docker: Not uploading images

Yes indeed it is fixed in Wappler 4.5, as mentioned in the release notes:

Deploy / build failure on Mac M1 Arm

Hi, not sure what has happened to my project but for some reason I cannot deploy it locally this evening. It’s been working fine until now, although I think there was a message about updating node mod…

File upload from canvas object

If you use a server connect form then you can use the following: var form = document.getElementById('form1'); form.dmxExtraData['file'] = blob; Change form1 to the id of your form, file is the name …

Dmx.parse Not workin

Right, so add content before var2.

How to export data to CSV?

I see problems on both of your screenshots. The path must be the path to the file you want to export, like /folder/file.csv Export data must be a collection/array - in your case the database query. …

Multi-domain redirect www to apex using docker

Just documenting a solution here after solving for a client… Extending off of the solution from @bpj here: Multiple domains on single docker app Client has multiple domains on the same web app and …

How to: Add multiple values to a single array item (array app connect component)

Hey all, Might not be explaining this perfectly, but I have a form, each form input has an array component associated with it. When a user types in a value into the input and presses enter this send…

Opened a cloned github project and cannot push changes

Getting the following error: Can Push using the github desktop app though.

How to reCAPTCHA inside Conditional Region?

I’m not able to summon reCAPTCHA which located within Conditional Region after the region re-shown. It works well on page load, but doesn’t show up when the conditional region is hidden and shown agai…

Relational DB Linking Question

In the variant table, id should be set as the unique key, not product_id.

How to reverse an email address for obfuscation

This works in set value: {{query.organisationEmail.split('').reverse().join('')}}

URL to Variable

You can access it via the UI after following: Or directly using {{query.product_id}}

Form returns Response has been truncated

Have a CSV file that I upload, it check to see if the product is already in the DB, if it is then it updates the buy price, if not then it inserts a new record. This is done in a repeat. Problem I a…

Is there a way of finding out what modules are used in a node project

OK I’ve officially given up trying to get docker running on my server and get Wappler to connect to it. So back to the other way which is to upload the Nodejs Project to the server. But one thing I …

Has anyone had success adding a Docker/NodeJS to Portainer?

Have been trying to get Wappler to upload to a Docker/Portainer Container for the past few day with no success. Has anyone been able to do this? If so could you give me any pointers.

How to pass session variable to php file without including app connect

PHP is being evaluated on the server and not on the client. You can only pass variables to PHP using the querystring or by using a post request.

Is there an easy way to auto format input field with thousand separator comma?

Is there an easy way to auto format input field with thousand separator comma?

FormatDATE/TIME

Never mind. Figured it out. Case sensitive. Thanks Brad.

OAuth2 Class Not Found Error PHP

That error comes when the file doesn’t exist or the case is incorrect. Check if lib/oauth/Oauth2.php exists and the case matches exactly.

Redirect - Unauthorized

You could set a Dynamic Event attached the Server Action based on the response. Ie, if unauthorised fire the Browser to redirect to the login. Or use a Security Restrict on the Action itself and spe…

How do I use dynamic variable inside PHP tags

Probably used wrong terminology here, sorry The following is an include file used with HTML2PDF. It works well as it is, but I want to make things dynamic. For instance I want to change the include…

Security manager possibly missing a nodejs module

Website works fine on local docker, however when I push it to my server and I try to goto a page that requires login I get this {“status”:“500”,“message”:“Couldn’t find database connection “live”.”,…

Date format in NodeJS is different to PHP

Updated the date/time formatters for nodeJS, you may try them out. util.zip (1.3 KB) This has an updated formatDate function that has support for milliseconds. Place it in lib/core. date.zip (836 B…

Database fields order

No there is no way to order them. We present them in the order they are stored in the database

Adding "spam-safe" backward email address 🛡

Are you looking for this maybe?

Custom query brings back duplicate records on page

When you create a repeat and bind data inside it, you need to pick the data from under repeat, not from server action.

Animations for iview has suddenly stopped working

Nope, on Mac, but I’ve just worked out what it is…nothing to do with Wappler. On my Mac I enabled reduce motion, and this also affected any webpages (did not think it would do that). I’ve just untic…

How to properly use Data Detail from a table within a repeat region (help!)

Hi. For nested data, I would recommend to not use Data Detail component. Instead, just use regular server connect, and use where condition formatter to filter it down to the nested value you are aft…

Problems with stripe payments

Working locally with Docker this does not work, however when put to a live server like Digital Ocean it works, does any one have any idea how to get this to work locally? I have followed the tutorial…

"Undefined Invalid Date" Message in Date/Time Picker For Dates in 2021...!

Antony, there is no year added in your date format. How does the calendar know which year have you selected to mark the correct date or allow selection? That’s why it breaks. You need to add year to y…

How best to unwrap a stringified JSON

You could but it seems a lot of effort for a simple formatter thst doesn’t take additional arguments or has a complex config. You just need to chain .parseJSON() to your stringified value.

NodeJS - ID of the last created user returning Null

NodeJS uses the knex package to build queries, the documentation mentions some problems with MSSQL when triggers are on the table. Knex.js - A SQL Query Builder for Javascript (knexjs.org) How does …

Email if field is changed

Do a single query to get the current values and then use a condition to see if the current value matches the API’s input value - if not, do your email steps…

Sum of value inside a repeat and outside

Use the Global Name, when using Name it will set a variable in the current scope, so the variable is only within the repeat, setting the Global Name will set a global variable.

Show/hide OR

Hello, Your code should be: dmx-show="type_loc.id == 7 || type_loc.id == 9 || type_loc.id == 21" It’s standard js operators

Error Sharp MODULE_NOT_FOUND

As stated in the release notes of the recent Wappler updates, we moved to optional installation of NodeJS modules. So to indicate that you have used the image processor sharp module, you need just to…

Display QueryString / $_GET on client side

It does answer it. Use query.var to get the value.

Database problems

Yes, this can happen from time to time, normally due to a failed update or accidently double submitting a change. Easiest way to fix is to reset the changes history for both targets

Query compared to access

I know this is basic but for some reason I struggle to figure it ou. I want to create a query with all of our turnpike transponders with info r from a separate list of the trucks that have the transp…

Sildershow in Modal - NodeJS - gives [object%20Object] when clicking on it

What are you putting as a Link? Is it a variable? Where the variable comes from? Maybe if it comes from a database query you’re doing something like {{ query }} instead of something like {{ query.da…

How to remove up/down arrows on form input?

SOLVED: This has worked, instead of messing with my bootstrap files, which could change. Put this Style code into the head AFTER all other styling files so that it would override the other styling…

URGENT: Bit of help on routes would be appriciated

@Hyperbytes Hey Brian, I ended up doing it a slightly different way than I was originally planning. I’ve got the router working finally. However rather than doing a query I’ve just set it to a selec…

Can I download a file using API

Hey Everyone, I am trying to download a file using an API request, however the file is not being downloaded, so is this currently possible in wappler? I have tried using a server connect api, and an…

How to handle translations, site w multiple languages

Well you can handle translations really well with app connect dynamic bindings and database with translations. So you can have a server connect action fetching the data for the current language and t…

Error when starting server in node missing module

I had the same issue caused by a Wappler upgrade a few release ago, and solved it by deleting the contents of the Wappler project lib folder and restarting Wappler, this will recreate the contents of …

SHARP - Remove Uploaded Image Background

Looking how to use Sharp (or other free JS method) to remove an image’s background color and make it transparent. Our customers will upload an image (typically with a white background) and I’m lookin…

NodeJS MaxBodyLenght exceded

When receiving data via the API, I ran into a similar problem. @Teodor, please tell me how this problem can be solved in NodeJS?

Split and filter query

Place each condition in a separate group and you can add a condition to each group by clicking on the question mark which will enable/ disable that condition. You will probably need to check if eac…

How to pass an array to an api?

Then what i suggested above is what you need to do. Add a hidden field in your form, use the array component value as a dynamic value for this hidden field and send it to your server action. There, ju…

Filter with input and multi values

Hi and thanks, but autocomplete it’s not good, it’s good with split my config my example works with two values, but it will be necessary to create more variables in order to accept more Thanks

How do I convert Unix Milliseconds to a readable format?

You can a similar expression in Wappler, eg: (var1.value / 1000).toDate().formatDate('dd-M-yyyy, ss')

Server API post JSON data array

It is a good one - will add array compatibility too.

How to paste value from clipboard into an input?

Hi, I’ve successfully implemented copy (or rather Write text to clipboard) feature using browser extension. Now the problem is how to paste the latest value from clipboard to an input? I expected wor…

How to upsert non-null columns (PostgreSQL)

Solved: INSERT INTO user t(id, name, randomStuff) VALUES (:P1, :P2, :P3) ON CONFLICT (id) DO UPDATE SET name=:P2, randomStuff=coalesce(:P3, t.randomStuff); coalesce returns the first non-null arg…

Help using min() function

Does anyone have experience with using the .min() function? I have 2 variables to determine the lowest one: My typed formula isn’t valid… What’s supposed to be there? The magic wand to get to the…

How to run database migration through CLI?

Hi, I’m setting up my NodeJS production deployment using Caprover. Something I haven’t figured out, what’s the command you run to deploy migrations? So I can automatically run that command at each d…

Custom Query Request Failed: error due to SQLeoVQ

I created a normal query and listed the users it shows on the browser, but the error stopped showing, and custom queries are working now. This is what is happening on my machine: I had running the …

Cannot do a basic query with Custom Query > Postgres 'Request Failed: error,'

You shouldn’t develop with your live server as active target. Also develop locally and when done and tested - then just deploy at once. Custom queries take a full round trip to the server to execute …

Dynamic Meta tags?

You’re more likely to get success with dmx-bind:content="DynamicDataGoesHere"

Access Denied with Mysql in docker container

Its Works fine! I was trying to define the ports the same in database connections and project definition. Thanks for your help!

Database insert through a query

Hi all, In the database I’ve got 2 tables, (customer details and bookings) linked trough the ID field as foreign key. I’m building a form, where a new customer would enter his details and in the sam…

Security Providers not working due to invalid name

As a general rule, don’t use dashes in names, underscored are OK. dashes are ok in page names of course. I assume it may confuse the dynamic coding as it could represent a minus sign and the framewo…

Circular progress / dmx-bind doesn't work

Hi. Happy new year! Does anyone know a good library, codepen or something for circular and semi-circular progress bars?

How to send a response with custom header

I’ve set up a public endpoint thru wappler. A webflow form submits to this endpoint. This works great. But now I want to send a response back to the webflow site. I need the response to look like th…

How to get OAuth2 token on client side?

I use Auth0 with Wappler actions like this: From what I’ve seen the token are in the server session and I use redis session so deployment don’t break client session. I’m trying now to use a libra…

Wappler dynamic modal body form doesn't work

I found the mistake. If you first do an offcanvas layer and you open a modal layer from there, the forms do not work and you get many errors in Chrome dev tools (F12) and see there’s warning messages…

Sketch

Hi, Need instructions on video on sketch design to wappler? Also need tutorial on : backend for customer to manage adding their own product and blog if making for a client? Do we have to build an e…

Control bootstrap classes from multiple conditions

Hi. Seems like you need to apply multiple conditional classes. dmx-class:row-col-4="var1.value==0" dmx-class:row-col-3="var1.value==1".... Here, I am assuming you have a variable which has the coun…

Paged Query + Repeat

Paged query returns a different data structure. You need to add .data in Expression:

Create a live iCalendar feed (ics)

Is there way for Wappler to create an iCal feed file (.ics)? I have a database of a schedule of events, and I am wanting to create a live iCalendar feed of the events. Any suggestions?

Slow insert records into the database

@George, have there been any major changes in the repeat component in SC since Wappler ver. 2? It feels like the multi-insert has become slower. Question to the community. Has anyone worked with larg…

Knex migration adds "on update CURRENT_TIMESTAMP" to created_at column

Thanks! Here’s I managed to workaround: table.timestamp('created_at').defaultTo(knex.fn.now()); This will create the column with the default value of CURRENT_TIMESTAMP, but without the “on update” s…

CSV with spaces in headers

Just a share… Been playing around with importing csv files and basically generating tables. Here is a notice: CSV with headers that have a space aka “First Name” gets generated as [‘First Name’] bu…

NodeJS - Condition Server Side not working. But in PHP it does. Same stucture

Well that is why I am asking what exactly do you want to check… If you want to check if the file is selected in the input then use the post var as a condition. If you want to check if a file is uplo…

Theme Manager - How Do I Install Custom Fonts?

This is a Question hoping for a How To procedure. I see questions about unresolved issues with Theme Manager but nothing turns up in the Docs or Tutorials or How To categories about the limitations o…

List of all the dmx functions

Here an overview of the most important attributes and functions All dmx- dom attributes, they work on all element, also elements that are not App Connect components, these attributes always expect ex…

Ho to renew Traefik certificate?

I believe Traefik renews automatically, have you checked the expiration date?

Stripe Webhook: how to test with metadata?

I’ve been struggling with this for weeks… Would love some help! I need to test my webhook by doing something with the MetaData that is sent by Stripe. My set up: I have a paymentintent where I se…

How to delay the stripe client side component?

I’m using stripe connect, I need to add the connected ‘account_id’ to the client side Stripe component. So I get the account_id from the db, and load it in there using a dynamic attribute: However…

Open Modal by link

Have you tried this <a href="#" data-toggle="modal" data-target="#myModal"> Launch modal </a>

Nodejs redirect to intended URL after login

As I continue to recreate my website in nodejs, I find myself going back to my old topics and responses to refresh my memory on how I set things up in php and adapt it to nodejs. In my current todo t…

Error saving page with Server Side Expression

Hi, I get this error when saving my main layout page with this expression: <link rel="stylesheet" href="<%=_('$_SESSION.theme')%>" /> The error: ReferenceError: refreshActionTreeMeta is not defined…

Reconciling Tutorials with Current 4.4.5

I’m working with PHP/MySQL Wappler projects from 2 years ago. I’m trying to conform the new way I create database connections to show a table view of columns using the Bootstrap Table Generator on my…

API Login with Cookie authentication

I need to do login to a OData Rest API (using a GET method) that returns a Set-Cookie header. I’ve used a API Form to make de GET request and was successful, but the Cookie is not stored neither I ca…

NPM Tutorial for a newbie? Node

Hi Guys Im very new to the node thing… so even if this sounds very stupid… I want to do a calanader ics in wappler… so @JonL pointed out a very cool ics-npm Its all great and managed to - install…

Nodejs Setup - Links relative to "root" or "document" whats the best option. Using routing but not SPA

Nodejs Setup - Links relative to “root” or “document” whats the best option. Using routing but not SPA

Create Capacitor Android Mobile Application in Wappler, with Android Studio (GUIDE)

There has been recent discussion on replacing Cordova with Capacitor for building mobile and desktop applications, so thought I’d give it a go to see how simple it is to get an Android Application up …

Wappler app in different country language

Can we make app in english and in different language side by side at same time? And make the input field in other language as well ?

How do I target by key in a repeat

My situation is, I have a fully dynamic site, with a swiper, the slide needs to be controlled by a bunch of sub navigation, because some things are in different conditional areas I can not target the …

How to build a dynamic partial?

In my nodejs content page, I have 4 tables with same content inside. The only changes in this bootstrap table is that the repeat array is filtered based on a value. Now, I want to build these tables a…

Theme Template

Hi All, I’ve adjusted the colours through theme manager but the example here is not updating, even with a refresh. It’s as if another theme style is overriding any changes, is there something else I…

Create Survey Scoring Functionality

I’d like to create functionality where a group of people (say a committee of 5 people) fill out a survey of 8 questions but in order of highest individual priority to lowest individual priority. Total…

Best way to sync between 2 computers

Hi @sevenrice, The best way would be to use the integrated GIT Repositories that Wappler offers. This would allow you to work on any number of computers and share your project with others as well.

Striped Table

PLEASE DELETE THE BUG TEMPLATE DUMMY TEXT BEFORE POSTING THE TOPIC! Wappler Version :4.4.4 Operating System :Windows 10 Server Model: Database Type: myphpadmin SQL Hosting Type: Using the bootst…

Time sheet calculator?

Can I build a time sheet calculator in Wappler? I previously built one by hand in php, and am trying to recreate in Wappler. Thank You

Multiple masonry filters

So I worked it out dmx-bind:repeat=“view_orders.data.repeat.where(query1[0].surName.lowercase(), inp_filtername.value.lowercase(), ‘fuzzySearch’).where(supplier.lowercase(), inp_selSupplier.selected…

Is there a way to stop a form submitting when 'enter' is pressed?

Hey all, Currently if a user hits enter/return on a form input - the form will submit. I think we can improve the UX of our specific scenario by disallowing this and instead triggering form submit on…

Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

Finally got it to work, i was connecting to the database with port 5432 in server connect, Here is what i tried >> I created a connection pool, and i added the connection pool details along with its…

How to bind class with dynamic class name?

What if you try: dmx-bind:class="'static-part' + dynamic -part"

How to transform JSON to a simple structure?

I think the parse is probably missing in the transform function, since you pass the data as an expression string it must be parsed first. exports.transform0 = function(options) { options = this.par…

Node js layout page

Is it possible to control the size of the content section? I’d like to make it 9 columns wide and have the leftover 3 columns be the same text for all pages and hidden on smaller screens. Thanks in…

Has anyone managed to setup docker and connect to it from aapanel-docker manager 3.4

Running aapanel on ubuntu server which uses the aapanel for web management. I use Docker Manager 3.4 Problem I have is each time I try and connect from Wappler I get Server: ERROR: Cannot connect t…

DataView Filter by Date, and Dynamic Binding on Repeats

In App Connect there is no NOW() available. To get the current date time you need to add the date and time component on the page:

Actual date and time

Hi, There is a {{NOW}} binding available in server actions. You can use that in value part of insert step.

Clarity About Project Updater and My Project Files

Hey there @Teodor… Can you please clarify something for me with the Project Updater. I am currently using Wappler 3.9.7 If I install the latest release and click [Cancel] when the Project Assets Up…

Browser refresh shows "page not found" error, when viewing single-spa routed page

If your route in routes panel is: /admindashboard/ then all page routes loaded for this page need to have urls like: yoursite.com/admindashboard/allcompletedorders/ instead of yoursite.com/allcompl…

How to bind JSON to dmx-text?

Here’s a custom formatter that should work: Create custom_formatters.js in your js folder dmx.Formatter('array', 'jsonStringify', function (obj) { return JSON.stringify(obj); }); and referenc…

Non Submit Buttons Submitting Forms

I know this has been covered before because I remember replying to it. I have a form that has two buttons, one is a submit and the other is just a button. When clicking on the non-submit button the f…

Ignore a Folder When Using PUBLISH

In the FTP settings you can exclude files and folders so that they won’t be synced.

Bit of an issue with Google Maps not showing dynamic markers properly

Aha! So that is the issue then. That is why i asked @gunnery to check for errors in the console. The error is pretty much self explanatory. Too many geocode queries are made and in Google Maps API t…

How to properly return custom server-side form error(s)?

Hi, I’m building a form to allows the user to change the password. One of the fields is the current password, which can’t be validated client-side. I’m validating the password server-side (Server Ac…

[nodemon] app crashed - waiting for file changes before starting

You have to resave a Server Action. A module is missing =>memoryStore I had the same problem.

ASP.NET: Problem with summernote form

Ok i edit the web.config and now It seems work: <configuration> <system.web> <globalization enableClientBasedCulture="true" fileEncoding="utf-8" /> <pages validateRequest="false" /> <h…

How to hide login button server-side? (once logged in)

Hi, I’m building a user dashboard and would like to hide the login button in the navbar. I have created a Server Action that returns the current user identity: I have set the master page to call …

Importing CSV to MySQL (docker-compose)

Thank you all. I managed to solve the problem. It turns out that after changing docker-compose, it is necessary not just to save the project and restart Wappler, but to do deploy.

Rendering summernote content with no html "noise"

Use dmx-html ( you can do it in dynamic attributes > display > inner html) of the paragraph

How To Install Navicat on Ubuntu (guide)

How to install Navicat on Ubuntu: Download Navicat for Linux. Create a directory in your home directory called Navicat. Open a terminal from within the new Navicat directory. Change the pe…

Date picker - Disable past dates

Yes, you can do this. Add a datetime component, which returns today date: Add a min date dynamic attribute for the date picker: And use the datetime value as a min date value:

Sendgrid Single Sender error message (using Node.js)

I just registered an account on sendgrid, verified a single sender, setup a mailer in Wappler: Setup a send mail step in the server action: Email received in my gmail inbox … So, you can use yo…

Tagging users from within summernote

If anyone is looking for how to do this I have it working. Add the following code to your page in script tags… function tb_hints(){ dmx.global.set('editorConfig', { …

Getaddrinfo failed: Name or service not known

You shouldn’t enter https:// in front it is not a webpage!

Warning Message about @aws-sdk/middleware-sdk-s3

Nothing to worry about. This is an optional dependency and it is not needed.

Is it possible to use a server-side cron job to trigger a Wappler Flow

I have a php page with a Wappler flow, set to auto-run on page load. Is it possible to trigger this process from a server-side cron job? (Plesk server running on a Windows Server 2019). I see how to i…

Grid settings

I have my design layouts set in XD using 5 viewport sizes, 375px, 768px, 1024px, 1366px, 1920px. 375 uses a 4 column grid, 768 and 1024 uses an 8 column… and 1366 and 1920 uses a 12 column. My quest…

How to set the value of a Global Variable from a Dynamic Events Actions

I have a global variable var1 I have a button btn1 On my button’s dynamic mouse click event i want to set the value of the variable var1 But in the dynamic event actions i cannot see my variable va…

Wsl2 docker linux filesystem

I am semi forced over to a windows 11 setup Just wondering if people using wsl2 also store/run their Wappler projects on the linux filesystem ? Does not seem like Wappler plays nice accessing the f…

How to look up a value in Json and use it to set a buttons text

That’s a bit complex to achieve the way you are trying to do it. You can’t get the ID of the button when filtering the data source, but you can get its value. You can add value="b1" to your button wi…

What do the various Available Actions in Dynamic Events mean

The value is not often used on the button, depending on the type of button (input or button element) it will show the value in the button (only with the input element). The options you mention are act…

URL Routing Help: mysite.com/user. How can I achieve this? The docs does not explain this

Let’s say I have a site at www.mysite.com. A user creates an account, redirects to my dashboard. From the dashboard, he can create a username that allows his customers to access his page on my site …

Server connection with multipage api

In this case, I display the first 100 results test

Connection timedout error in heroku?

I am getting this error in my Wappler project which is deployed to heroku. Project is working fine in localhost. "status": "500", "code": "ETIMEDOUT", "message": "connect ETIMEDOUT", "stack": "Error:…

Anchor Image Hover Effect

In my tests all I did was copy the css into my styles folder Paste the html where I was testing Edited certain things with the html as the image sizes etc wasn’t looking good in my tests so I set th…

How to Debug

For the best backup you should consider using git. We have a Git Manager in Wappler for that. Just enable it and regularly commit the file changes.

App Flow vs Page Flow

In the Flow field you need to enter the name of the flow you want to run. Name is just the step name. If there are issues running a flow from another flow we will check it. But once again - maybe ex…

Cannot see Components in App Flow- Run Step

You can’t see the components from different pages in the App flows. You need to setup a Page Flow instead - on your index.html page.

How to Change Text of Button 1 When Button 2 is clicked

The easiest way would be to use the toggle component. So add it on your page: Then use button 2 to toggle the toggle component on click: And for the inner text of button 1 check if the toggle co…

What do Button Action Toggles mean

These are options to control/toggle different components on your page. So if you add a modal on your page, then add a button, selecting the Action Toggle > Modal and then selecting your modal id, thi…

Wrap strings to a new line

You can use style rules to create the effect. <style> p { max-width: 25ch; word-wrap: break-word; } </style> <div class="container"> <div class="row"> <div class=…

Issue with SSL and Oauth2 provider w/ Azure

Hello, I have an issue where my return URL declared on Azure for an Oauth2 workflow is returned with a port 80 added to it, and of course, there is a mismatch that breaks the authentication. Here is…

Whats the best way of removing results from an array server side

I am returning 100 results from a single call to an API as an Array I have a database query with a few records of productCode I would like to only show the API records that do not exist in the Datab…

NODE_ENV - Staging

I have docker based setup. So I have created .env files for all three targets in the .wappler folder, next to their respoective yml files… then added a path of that in each target’s yml file. env_fi…

Available Actions and Properties are blank

Do you have any “include” files in your head-page “index.php”? This caused me great problems and so I moved all the code that was in my four include files directly into the head-page. Now there are …

Amazon Seller Central Oauth clarifications

Is it possible to have a short video of how to connect to the Amazon Seller Central API?

Webhook doesn't respond to event sent by Stripe

Hi all, Below is the result of a test. How do we debug a no response? Both the payment_intent.succeeded and the checkout.session.completed give a 400 bad request.

How to handle daylight savings in docker / php setup

Hi there fellow Wapplers, Here’s a PHP-n00b question for you: How do you handle daytime savings in a docker / php setup? This article explains how to handle daylight savings time in PHP. It involve…

Branching Forms

Hello, I’ve just watched this video - https://docs.wappler.io/t/creating-multi-steps-forms/10799 on multistep forms. Is there any documentation or guides I can follow to build a branching form, i.e.…

Speeding up show/hide (see screenshot) 📽

I haven’t experimented much with it, but perhaps you can put the default state to “display: none”. And use the ‘show’ dynamic attribute. That way it should be hidden until the script finishes loading…

Basic structure to display simple api endpoint

Hello I am trying to display a simple bitcon price from the following endpoint: https://api.cryptonator.com/api/ticker/btc-usd What I dont understand is the basic structure needed in bootstrap to d…

Docker deploy on macOS m1 arm: Service 'web' failed to build - Sharp error

On Mac m1 you have to choose Debian 11 bullseye or Alpine as base for your NodeJS as the arm version of the Sharp library can compile only on those. You can change that in your project target docker …

Dynamic Format on Date Picker

I just tested: dmx-bind:format="dynamic.value" and it seems to work fine.

Displaying user uploaded documents i.e. PDF

Hi There, Apologies if this question has already been answered somewhere on the forum. I would like to display uploaded PDF documents for each user, how can I achieve this? I am saving the name of t…

How everything fits together

Hi All, Am just trying to get to grips and understand how everything fits together in terms of Gits, Wappler, Docker and AWS. I’m just a bit lost, to be honest, and I just wondered if someone could …

Dropdown repeat smooth scroll to ID?

Finally figured it out for anyone else here is the solution! dmx-bind:href="#{{packagereference}}

"Smooth Scroll" from a referrer page. What is the Selector code for that?

What if your data does not load in 3 seconds then? It won’t scroll as the element won’t be created yet. Also what if the data is rendered in 0.5 seconds, then you wait every time until 3 seconds pass…

Caching the output from a server connect script

I have a server connect API script which has a custom query resulting in around 30k records. It takes a couple of seconds run but the info won’t update very often. What’s the best technique for takin…

How to apply a function to values in Wappler

i would like to take multiple data points and run a math function over the values., how would i accomplish that in wappler… say i have 5 input boxes, the user plugs in a value in each of the 5 input …

Browser prompting for username and password after invalid credentials passed

Hi, I have a strange issue which I have not seen before. If I pass invalid credentials to the Server Action which has the “Security Login” action from my form on the page, the browser prompts for the…

Encrypt/Decrypt - ASP .NET to NodeJS

After some experimenting here the code for decrypting the data encrypted in .NET. exports.decrypt = async function(encrypted, password) { const crypto = require('crypto') const data = Buffer.from…

Bootstrap vs AppConnect

App Connect is the front-end interaction for the Wappler components and the back-end, and is not a design framework, unlike Bootstrap which is a design framework. probably the best way I can explain …

How to ensure site development is restricted to what can be hosted on Firebase

No all those can be used just fine on static html pages, so thanks to them you will be able to make dynamic pages in the browser. The only one you can’t use indeed is server connect as it requires a…

Operations with API

Hi. If you have the values available on the page in some variable or server connect, you can use it to set text/value/html dynamic input of, say, a paragraph element. In the value part, you can use t…

Do i need Node.js ?How to upgrade Node.js?

Well you need newer NodeJS installed locally just to run all the command line and build tools, like the one required by the Firebase CLI.

Adding a simple rotate button for images

You can do this. Add a variable on your page, and on click of the button pass the image ID to it, in the same onclick event as you are using to run the rotate. Then in the expression use: <img dmx-b…

NodeJS and Social Meta Tags

A dynamic NodeJS page queries the database and receives the data of a record (cod / title / description / image) I would like to configure all the meta tags for sharing on social networks (especially…

400 error, no form errors in response

Some file server side validations causes the problem.

No Longer Can View Custom Query Output

How can I reverse the setting that I approved on Wappler 4.4.1 update? While the update was finishing, it displayed a question that I obviously misunderstood. After the update, I no longer can view t…

Has anyone tried to Salesforce JWT OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration

I have been trying to use wappler JWT Signing, OAuth2 and OAuth2 Authorize to authorized plus API connect to a Salesforce Connect app that I created and I just can’t seems to figure out how to impleme…

Filter list by all records (Form Select Problem)

In my situation when I wanted ‘all’ results I did this What I did was the all option was static for me so I added a value to the select with a value of ‘published’ Then when it comes to the query …

JSON multipage

Hi The API service, that I have subscribed to, proposes in some cases JSON files divided into several pages. How can I combine them? At the bottom of each file I find the amount of pages of which it…

Use data bind a value in a variable

I think you want to get a property with the value val2, use: {{val1[val2]}}.

How to filter repeat element by unique values of an attribute within an array

This is quite a specific use case, but I have a repeat element that lists objects from a JSON array data source. Each item has an attribute “----_tenant/id” (dashed portion removed for confidential pu…

Dmx.parse adds {{}}

I’m using datatables and trying to add an id to an array in app connect on selection of a row. This is the function: function dt_select(rowid, checkboxid) { // console.log(checkboxid); // Get…

Getting a load image path error with nodejs

Its ok, I’ve just worked out what it was, the drop zone defaults to multiple which is was what was stopping it. Unticked the multiple and working fine

Trying to deploy to Digi Ocean App Platform - fails due to no package-lock.json

Hi all, Not sure if anyone is using Digital Ocean’s app platform. I typically use AWS and have no issues deploying there. I thought I’d try out the DO App Platform. I’m deploying from Gitlab, but DO …

Login and Redirect -- Stuck at Redirect

You need to add the browser component on your page in order to be able to pick it in the data picker.

Show results with landscape images only?

I am showing 4 listings with photos on the front page of a site. But to no avail I can’t keep the website owner from submitting portrait photos sometimes which whacks out the layout. Is there a way …

I can't get browser to redirect on Server Connect Unauthorize Event

I added this to test.php, and it works. <script src="/dmxAppConnect/dmxBrowser/dmxBrowser.js" defer=""></script> But it would be better if that is handled in private_header.php where the browser com…

My Form Generator sends data to localhost:8100/[object%20HTMLInputElement]

Most probably an input in your form has a name="action" Please see:

API Security and authentication

You need to use the API actions in Server Connect, not the one on the clientside.

Newbie ... Json data

You need to use a repeat on the api1.data.data. Then inside the repeat you might want to use the name element as dynamic text in a paragraph using {{name}} You can find out more here: https://docsde…

Ellipsis menu

Sounds like you want to create a dropdown menu. Assuming you’re using bootstrap 5 with bootstrap icons: Make a dropdown menu. Try out the code here: https://getbootstrap.com/docs/5.0/components/dr…

Wappler on an Ultra Wide Screen - Cannot exit full screen mode

I managed to find a workaround… I fired up my monitors display switch to default, then I was able to resize down again then put the monitor settings back. Thanks All

Running app flow on condition

Hi! How do I run a flow when a condition is true? So, from a server connect I receive data about competitions. Each competition has an end datetime, on server side it moves all to “finished” when e…

Validation Rules do not get applied (sometimes)

It sounds like conditional regions could be your friend here. Put form 1 in a conditional region the shows when form 1 has no data. When submitted, it removes its content and then shows the content …

A date from the Date Picker is an invalid date!

So just add the date validation to the server-side only. On form submit if the date enetered is invalid, the server-side validation will be triggered and form won’t be submitted. Another workaround …

Running Python Code / Program

Hello all! New to Wappler. How would I go about running Python programs via Wappler? Essential looking to build out our Web app in Wappler / node.JS and basically passing parameters to our Python p…

How to auto refresh iframe, or whole row every 10 mins

<script> setInterval(function() { // Select all iframes Array.from(document.querySelectorAll('iframe')).forEach(function(iframe) { iframe.src += ''; // setting src will reload the ifra…

Scroll To Item By ID

Hi @nshkrsh No, just use the Smooth Scroll component when you want to scroll to an #ID

How to run or call Custom code in extensions/server_connect/routes

Routes should start with a /. https://expressjs.com/en/starter/basic-routing.html Remove res.json({ data }), that was only an example code. const fs = require('fs') const { getToken } = require('sf-…

CSS Linear gradient Issue

Ahhh nevermind… the first code worked from the beggining. Somehow, since I didn’t had content at all it was not displaying the colors. Thank you so much! #checkoutLayout { background: linear-gra…

Is there any solution for integration of payment API RAZORPAY with Wappler

I have gone through the doc of Stripe (Getting Started with Stripe Integration in Wappler) integration, but i don’t get any solution for RAZORPAY payment gateway integration. Please suggest, if you ha…

Mobile Apps: Data blocked by CORS?

Well you just need to enable CORS in your server connect project in its options.

Problem with formatters, getting week number

Jim, did you check the link i posted in my previous comment? It explains that you need to add this in your page head tags after the moment.js include: <script> dmx.Formatters('string', { getWeek: fu…

Issue with Medium Editor not working in NodeJS

<script src="../dmxAppConnect/dmxMediumEditor/medium-editor.js" defer=""></script> should be before <script src="../dmxAppConnect/dmxMediumEditor/dmxMediumEditor.js" defer=""></script>

File paths in node.js site

Also i see that you have two elements using the same id="main" on your page, which is probably causing the issue.

JSON inside a Repeat

Hello, something is stumping me with the addition of a div inside a repeat. I’m adding an “Add To Calendar Button” (atcb) from GitHub - jekuer/add-to-calendar-button The CSS and JS are found, no iss…

How does login timeout work in NodeJS?

Use the cookie.maxAge option to set the timeout. I checked the knex database store and it uses the cookie maxAge as expiration date. The clearInterval is an interval time in which is does a cleanup o…

WEBM video support for auto play ▶

In most of the browsers autoplay won’t work until the muted option is enabled.

Socket Identify

I have a few questions about the Socket Identify: What format is the ID value? If you store the user’s socket ID in a database, what format is the best field to use? Do I understand correctly, if se…

Force user logout in all site copies in browser when logout action called (NODE)

Due to how the security provider works it is possible to open multiple copies of a site in different tabs and login to each with the same credentials. But, when a user logs out in one tab they remain…

How to set other server responses for 'Server Connect' action

The notification will return the text you put in the Set Response step in your server action.

Swell headless ecommerce

I’m contemplating using Swell. They offer Frontend API using their JavaScript SDK and Backend API using NodeJS. Is it possible to integrate with Wappler? I don’t know where to begin. I have only be…

Star rating implementation

You need a repeat which repeats the stars icons 5 times and then you check this value of 4 and assign a dynamic class to your icons based on this value. Example: <div is="dmx-repeat" id="myrating" …

What is the difference between value and selectedValue on wappler 4.3.1?

Hello @Teodor , @patrick I saw selectedText Added when using select input and thank you for that. I also saw a new property like a selectedValue. However, when I try, it gives the same result as the …

Problem send mail in Nodejs

I have set everything up as it should (as far as I can see) However when I send an email I get this error "Error: Invalid login: 535 5.7.8 Error: authentication failed: \n at SMTPConnection._format…

Form to Email with V4

To get values from app to server connect (workflows api) just click input, then choose your linked page, then choose the form and then pick import from form and you are done. Don’t know if thats to…

BS5 form date picker not sending value?

Okay, I need to add Moment to the layout page for it to work! Now there is a popup tot select the date! Thanks @Teodor!

How to send a notify after save record in mysql?

Hello to all, Advance I’m very inexperienced, I’m at first with Wappler, I am writing to understand how to do the following: Using a form, enter data in the database (so far I have succeeded) c…

What is a Lexar error and how do you resolve it?

Can someone explain to me what a Lexar error is and how to resolve it?

How to secure my API, if I want to use it on a different server

Hi, I already had a similar topic someone time ago (How to use Security Provider with a Server Connect Action from another site) Brian helped me a lot with this. After reading the following article h…

How do I present a list of selected values?

Hi all! On the left side in the screenshot, I have a table from the users table. I’m trying to make it that when you click on a user, it moves to the “selected” list, and removes the item from the li…

Javascript Variable dmx-parse dynamic variable in JS

Hello Wappler, I have looked at the community docs but not getting this to work <div class="btn card-footer btn-primary text-center pt-0 pb-0 ps-0 pe-0 border-0 bg-info w-auto h-auto rounded-bottom …

SQL genius help for custom query

Yep worked it out @Dave cheers for the response. Heres the code just in case anyone else needs to do this. Today Birthday: SELECT m_dob, m_name FROM m_info WHERE EXTRACT(MONTH FROM m_dob) = MONTH…

Using A Flow To Fill A Data Store From The Database

Hey everyone… I’ve just been playing around with Flows and Data Stores and I’ve managed to successfully fill a data store with contact records from my database, so I thought I would document what I d…

Dirty Form Checker Functions - JS

UPDATE: 2021-11-16 I was having trouble with accessing the global object with AppConnect (I assume this is because NodeJS being server side and all), so I have cleaned up the code and added “global” v…

Time picker in 24hrs format

I believe you need to have capital HH instead of hh for 24 hour time formatting.

Is it possible to connect remote database to nodejs

Hi, i would like to know how to make a remote database connection with Nodejs running on development environment in wappler. i deploy the site through github , my curren project is actively pushed to …

How can I prevent dmxBootstrap5Navigation.js from being added?

I’m using a theme that already has its own JS for its navigation menu, so that when you hover over an item the menu opens along with various other things. The problem is Wappler automatically adds dmx…

A Table Repeat In An HTML Email

Yes, I’ve voted for the ability to be added to Wappler. I need another alternative or other ideas until this feature is reality. I need the following inside an email message. <!-- TABLE LIST --> <d…

Drop/move event in Calendar

how can i disable Drop/move event in the calendar ?

Event date in Drop/Move in calendar

How can I get the date event($event.date) when I use Drop/Move Event in calendar?

Run Python Scripts

I would like to run a python script in the background after I click a button. Is this possible and if so, how do I get the script to run after button click?

PDF download damaged

Hello just a question, I have a download server action following this approach However the downloaded pdf displays a message that it is damaged. Although if I use a static value to download the…

What Is The Best Way To Integrate My Help Section?

You can think of the help section as any other section with articles on your site - blog, articles, news. So you can store everything in a database and filter this data and display it on the pages. A…

Want to Submit form on enter/return

On keyboard key press dynamic event of the input box, set Enter key in key field, and select formname.submit() from the action picker.

How to prevent download of exported CSV file before it's ready?

Hi, So I am generating reports which I then present the user a button to export the report. When they click on the export button I run Export CSV File in server action. Once I get a success on the …

API Header Key Values?

The inputs are just visual helpers. Only function they perform is server side validation and form linked validation on client side. If you don’t define input variables, you can still just type them …

Auto store and reload data input

Have a look at Debounce on the value changed dynamic event. It is a value in milliseconds that will delay the action. So if the debounce is 500, it will not execute the action until a half second of…

Export as CSV, Download and then Delete

Is the recordset then already downloaded and shown on the page? Why not do the conversion client-side then instead of querying the same data again on the server to convert it there and serve it as a …

Sudden Unauthorised message from content page on Node server local)

Hmm, just as strangely as it started, it suddenly started working again, no idea what was going on

Read Authorization Header in SA

I see you use PHP, it is possible that your webserver has stripped it off.

Chart (chartJS) Formatting

Hello, I have used Wappler charts and it i working great! There are a couple of options available, but not much in the way of formatting, style or classes. How can I best change the following: Axi…

General Question on Security of a Public Facing Page

Hi, I know the title sounds like a contradiction. Here is the situation. In my app I have successfully, behind the login wall, created some survey type pages, which work well, reading questions from…

How does Reddit achieve this page navigation?

That is actually a div/modal displayed there over the content.

Docker Web SSL / HTTPS

This is possible by using Proxy/load balancers to route traffic to multiple docker sites and also maintain SSL certificates. The two main solutions are Traefik or Nginx Proxy: We will be making …

Simple form database insert giving me trouble - Maybe I forgot how to

Looks like your input Is missing a name parameter—it should be registeremail.

Call Server Connect in Custom Module

Hello @patrick , Can I call another server connect action in the custom sc module ? If possible, can you show how to use it with an example? (PHP)

Problems setting sqlite connection with nodejs and local docker

In Wappler 4.1.1 we have also introduced a special root folder called ‘db’ for docker based project where you can place your database file and then it will be available within the docker container. S…

Show Modal from layout page nodejs

When I click it generates an empty link The link is in the navbar menu of the layout page which is called from the page containing the modal It has always worked like this with php So how is it b…

Font Awesome 5 icons not showing

Make sure to save your layout page and that the font awesome include exits there.

Recaptcha error: Given key was not present in dictionary

For some reason I’m betting reCaptcha errors now when implementing. Haven’t had problems in the past. I get the error: ‘The given key was not present in the dictionary.’ I’ve double checked site a…

Unload Event for NodeJS SPA

Hi. I have a simple NodeJS app with a layout and two content pages - home and chat. I have links on the page to switch between the two content pages. Everything works fine. What I need to do is if t…

Pass ID in Calendar

It seems the calendar returns the id as a string (https://fullcalendar.io/docs/v4/event-object), so it doesn’t match the data detail key. To fix this use the to number formatter in the click event, s…

Enable disabled form

The toggle component can help you here: use it to change the disabled attribute and toggle it using your button

APP IS BROKEN :flushed: JQuery File No Longer Loading

Well it has miraculously started working again now on my laptop… maybe I needed to also do a reboot after clearing the cache… @datguru, @George, @JonL and @Dave, thanks for your suggestions and carin…

Running Server Connect API at an interval

Hello, There is a special component doing exactly that, it’s called Action Scheduler:

Week label

First you need to add the moment framework with locales (cdn or local - it’s your choice): Then add the moment component in the app structure: and select your language:

Check file type when upload - if JPEG do image process if PDF extension do not do the image processing

Mmmm @Sorry_Duh good… your idea about the formatter and ends worked like a charm. Im sure there are many other ways… but it worked…

Issue with cloning from git repository

hmm - what is the difference in the package.json from the new blank node project and the one you are getting from git? Maybe there is also a package-lock.json that is coming from the git project? Thi…

Awesome video tutorial for NodeJS n00bs like me

Hi there fellow Wapplers, Recently I’ve started to rebuild a Wappler php project to NodeJS. Some things go really smoothly, other things not as smoothly (running into database connection errors from …

Speed up deploy time on Digital Ocean droplet

What I encounter when running a droplet on Digital Ocean ($5 account) is when you deploy an update it can sometimes take a very long time to finish… I have had deploy-times of more than an hour. :-S …

Can I Turn Off CSS No Duplicate Error Messages

You can disable linting by adding the comment /* stylelint-disable */ . Enabling it again later in the css is done with /* stylelint-enable */.

Can I use Server Connect POST without forms?

You cannot use POST variables without forms. You can use GET variables, and these are being sent as URL params when you are calling the server actions. You don’t need a direct link to the server act…

Custom theme toggler

I have a custom theme I uploaded but the toggler navigation does not close when It is open. When I switch back to bootstrap cdn 5 the toggler navigation works but when I change it to boostrap custom …

Page Flows: Run Names

Solved it. You apparently have to hit Enter after adding the name. It works now.

Import dump Sql in Wappler Docker

With Wappler I set up and configured some Docker / Hetzner sites configured with mySql database. I would like to transfer some tables with their contents to the new database by taking them from the m…

Make user be able to edit text

Reading the documents from the beginning would be the best and fastest way . I’m sure you will have more ideas by reading the documentation and you will see how simple what you want to do is actually …

How to make a content highly secure?

Example : Consider I have an navbar and that navbar as a button which should be available to use only when the user is authenticated. Now, here I can use dmx-show or dmx-hide dynamic attributes based…

Refresh Server Action

You can use the Action Scheduler to load your server actions on a specific time interval. It’s just not real time like in Node.

How to log errors and warnings into a file in php using wappler?

We are using PHP server and we want to log errors or warning into a file. I did not able to add this using wappler. Please recommend possible solution for above problems. Thanks in advance.

Cannot connect to MySQL Database

Wappler Version : 4.1.2 Operating System : Windows 11 Server Model: PHP Database Type: MySQL Hosting Type: Custom I apologize if this is a rather incomplete report, but this is a super weird issu…

Portainer Credentials

What credentials are used to set up the Portainer image on a Docker deployment? I’ve tried using the same credentials as my traefik dash but it doesn’t want to let me in

GROUP BY and COUNT(*)

Actually, the second result is correct. Since udv_id is different, it is correctly being grouped. In the first query, the result is technically incorrect since udv_id = 50 is not the only status 12 v…

Include file with a condition

I’d like to include a file (ex: footer.php) when a user is logged in (in my case userIdentity.data.userid is present), and not show it if not logged in. How can I achieve this pls?

How to use the JSON field in database?

Hi! I created a JSON field in the database manager, and created variables within. Each variable has the appropriate label and input in the ui properties. The form generator didn’t create the fi…

Relatively simple JS question

I currently have some JS on one of my PHP pages, but it’s at a point where it’s near 200 lines long so I want to move it to its own file. The only problem is I can’t work out how to use something like…

Dynamic change of the state of menu items

Yes, it’s possible with Bootstrap only:

Switch checkbox condition

If a checkbox is checked it will send its value on form submit. So add a value for it, for example 1. In your server action you just need to check: {{$_POST.announcement}} It will be true when the …

How to import an external package

Hello, I’m using ChartJS package because I need to use a combined chart (not available in wappler). In order to set the colors, I need to import the patternomaly package on my JS file, when I try to…

I need to pass a dynamic variable as a number and not as a string

When you have "unit_price": "{{plano.valor.toNumber()}}" it will parse the expression in the string and should return the number, not a string. Make sure there the expression is as above, having a sp…

Json null shows as ""

Not sure if this is something I’m doing wrong on my part but I have this structure (only showed relevant part to avoid confusion), this is a upload form. My issue is the double quotes even when my …

Need a mathematician smarty pants please

Isn’t that what you need then? <div class="container"> <div class="row" is="dmx-repeat" id="repeat1" dmx-bind:repeat="60"> <div class="col-3"> <p>{{$index % 4 == 1 || $index %…

Wappler and MS SQL Server assistance

Hi @dra, welcome to the Wappler community! You will require SQL Authentication setup on your SQL server to be able to access your SQL databases remotely say from Wappler. Windows authentication setup…

MySQL tables not syncing between Prod & Dev Targets in a Docker Container

By syncing do you mean the schema is not updating? To update schema on your remote you need to right click ‘changes’ and select apply latest.

Docker MySQL updates

In Wappler deploy process do the individual records get updated? Or is it just a full db swap?

Best method for storing arrays in database

Assuming there is ALWAYS a value for each and thus an equal length for each array, you can perform a repeat on one of the arrays, and then reference the other arrays value with $index. For example: …

Charts: mixing bars and line

Hi everyone, I have a complex bar chart where I need to add an additional dataset as a line. Is it possible to specify a type for a dataset only? Thanks!

Disable or Readonly with Select Dropdown

This worked! Thank you for your help…

What's the technique for looping form fields and sending them to the API script?

I’m venturing slightly further than normal with repeats and arrays, etc. but need a steer from someone. Here’s my page code: <div class="container"> <form id="formQuestionnaire" is="dmx-serverco…

Project settings server model error during folders move: dest already exists

Hello When I select in project settings Server Model NodeJS I again and again get the following error: Why is this? Thanks Thomas

ERROR: Service "redis" uses an undefined network "proxy" Error Launching Services!

Hi all, brand new deployment, identical to our staging environment (AWS, docker machine from within wappler, mysql etc.) I have redis ON and I’m getting this error: ERROR: Service “redis” uses an u…

Filtering Database Query with Multiple Checkboxes – Multiple Categories

I followed every step in your tutorial «Filtering Database Query with Multiple Checkboxes» and that works perfectly. Now my issue is that some records of my database have multiple categories. I sep…

Collapse depending on screen size

Add a Browser component to the document. For each div.collapse add a dynamic Collapse Show when the browser.viewport.width is less than 900 (or similar) the code should finish up looking like <div …

How to upload Database changes from local development to remote production target?

You make the changes on local these changes then appear in the changes area below the tables, on local they will all be added unless you remove them. When you go switch to your remote connection its t…

Google autocomplete doesn’t show results

I had the same issue. However, my form was in a modal, so I needed to change the z-index of the pac-container and it worked. .pac-container { z-index: 2000 !important; }

Call Server Action with parameters inside Javascript Function

Something like this for static values: dmx.parse("serverconnect1.load({param1: 'asdasd', param2: 'eerer'})"); Something like this if you want to pass values from a JS variable or something: var x =…

TLS support in mailer

Does mailer extension in Wappler support TLS? If yes, that’s cool. Point me how to use it. If no, please consider adding this option.

Recaptcha failure

I can’t figure out why the recaptcha will not work on this page. Same recaptcha keys on other pages are working fine. I have stripped all other scripts from the page - double chkd the server connect a…

How would you approach this?

Hi there! I’m creating a platform where gamification is the main feature. I don’t have much experience with complex conditions, do you have suggestions on how to approach this? The system will have …

Dynamic Upload path error

trying to make a dynamic path when uploading af file with the following as path: /users/{{$_GET.uid}}/company/logo {{$_GET.uid}} is session id on the company, so the file gets uploaded in the right …

Vallidator warning : Cannot read prorty 'title' of undefined?

Why am I seeing the following warning when opening up a validator in server connect?

Deploying Nodejs/Docker site to a aapanel server

So after months of avoiding it, I have now tried Docker and a NodeJS site. All works great locally, but I am having problems deploying it to my server which is running Ubuntu. I am using aapanel with…

Conditional display in input field ⚡

Set a default value using the data formatter …

Node js impossible to start on remote server

Hi. I encountered a similar error and the solution for me was to change the start code in package.json as below: Instead of the default ./index.js, writing node index.js seemed to work. I don’t c…

Switching tabs with a normal button

How about using an Anchor Button with a toggle?

Security manager setup

I have 7 user types that each needs to be redirected to their own respective page upon login Whats the best way to use the security provider / permissions to restrict access and redirect to their …

How to view file properties or sort by file properties

I have tried to transition from Dreamweaver to Wappler with no success. Our site is massive and I need to be able to view and sort files by their properties in order to work with them efficiently. I k…

Infos about an foreign key error

You have a foreign key relation id_unite that you haven’t given any value but it is required because of the reference.

SFTP Hosting with A2hosting. public_html not found

I got it figured out! A2 hosting doesnt use the default port for SFTP. My URL was also incorrect due to it being on a shared server. after reading through the documentation i found the correct port…

Recipient e-mail in send mail fails

I have a send mail action us to send mail to a database query I can get the mail to send to a recipient if i statically type in the e-mail address but whenI connect the e-mail address using the data …

File upload outside /public not working

V4.1.2 Nodejs + docker desktop Hi! I’m trying to make an image upload form that uploads the files outside the /public. In the forum I’m reading that it’s possible but it doesn’t work for me. The s…

(docker) display console logs on output?

Now you can debug in real-time with docker:

How to transform db JSON text to regular text?

When I retrieve my Json I use .parseJSON() in a set value step with the returned Json value from the database or repeat etc. Something to try still learning Json myself atm.

How to send custom json response from server action?

Ok. I can suggest two approaches here: Write a query that returns all the data in rows. Then use Wappler’s group by formatters to group that information and return that in response via set value. W…

Display all repeat values next to each other, not as a list 🧐

You are repeating a block element. Block elements take the whole line. Change this to <span> which is an inline element or apply a display: inline; style to your paragraph via a custom class.

Possible to dynamically change html, specifically within an iFrame?

Your syntax doesn’t look right. To make an HTML attribute dynamic you need to add dmx-bind: in front of it. Also the static part needs to be wrapped in single quotes and you don’t need curly brackets …

403 error on download S3 file (DigitalOcean)

So thanks to some of the awesome posts out here (and after waaaay too much tinkering) I have managed to make a setup where I can upload files to Digital Ocean Spaces S3 and present users with a table …

Clear Datastore on Page Unload

Then your expression is wrong. You are missing the content part: dmx.parse('content.datastore.clear()') The data store is located inside the content page, which means you need the content. in front …

Can I pass a variable in a server connect to a library API? How?

You need to define a library item and define a parameter under $_PARAM. Use this parameter in the library action query to filter your data. Then in your server action, call the library item as Exec (…

How to make Alert Boxes haev abt mor zing

Hi, is there a way to control that background colors of an alert box, perhaps have an icon of our choosing. Currently the alert box is a bit plain jane and blends into the underlying page a bit too …

Dynamic checkboxes aren't being checked

Please try changing this to: dmx-bind:value="connAccommodation.data.queryAmenities.values(`AmenityID.toString()`)

Restore database

Aagh, I just screwed something up. I tried to rename my project folder in the finder. Docker and Wappler don’t seem to like that of course. So I create a new blanc folder and retrieved the latest ma…

How to secure uploaded files?

Teodor, I followed the documentation trail right thru on this topic, it mainly concentrates on storing uploaded documents outside the website. This is a course of action I wish to avoid if possible. …

Dmx-bind isn't working for this counter.js script

You need to wrap your script in a named function like: function myCounter() { // code here } Then call this function on server connect done static event. So enter myCounter() there.

Add data from a repeat into an array

Ok so some more changes will be required. Please remove the split from the results setvalue step so it becomes just {{myarr}} Then on the page, where you use the values use this code: {{serverconne…

How to use data store rows in server connect

How do i use data store rows in server connect?

No 'Access-Control-Allow-Origin' header is present on the requested resource

I’d just like to thanks everyone for there patience on this issue it was my first time with CORS and wanted to make sure I set it up right before attempting a new host (my old one wasn’t very helpful …

Whats wrong with this expression

Cleaned up the brackets a bit, in the first part of the expression you have 3 opening brackets and only 2 closing brackets. For the whole expressions you where missing 1 closing bracket. (get_comment…

How to protect uploaded files?

Hi, in my new file upload page, I wish to allow Users to view files online without downloading. This works very easily for PDF files by linking to a URL directly to the PDF or image file. Other fil…

Modifying summernote-upload.js

Hi, Looking for some general JS guidance here. I’m wanting to make it so uploaded images in summernote using Wapplers summernote upload plugin open in a lightbox. So essentially, I need to modify sum…

Problem with [object Object] being added to links

Thanks for your time, partricks comment re link scope sent me in the correct direction. It appears that the name “link” was the problem, i assume an object conflict with the HTML “link” tag Changing…

App Already Running Alert upon page load

Do you have dmxAppConnect.js somehow included twice maybe?

Base64 Image Convert

Hello , I want to re-scale (crop and resize) an image with a simple image upload form and convert it to base64 to save the database. Is there a way to do this with wappler? I want to do this server-…

Ye gads this is obtuse

After years of paying for Wappler, I’ve finally gotten down to learning how to use it. Not that I haven’t tried before–it’s just not all that intuitive (for me anyway after using DW for years). So m…

Try Catch Suggestion

Don’t quote get your point here. Try catch is there so that you can handle the error on server side itself. If you don’t want that, just don’t use it and wherever the error occurs, SA returns the $_…

Sending data to javascript functions

I’m working on a new project and looking to use some different JS libraries for multi select etc. I want to be able to initialise multiple pickers from a single call. I have it working really well …

Is there a way an easier way of counting visible repeat rows?

I have a repeat and I have a hide condition if a repeat record meets a certain criteria lets say value = 1 Before I embark on complex algorithm to count the number of visible rows based on the same h…

Best approach to update table data in "real time"

Thank you @Teodor Worked like a charm in no time!

Need your help with Risk Management Application questions regarding SQL Statements and Parameters

@Dave only can work at nights after work on this, but thanks for checking in. I tried your hint and played around a bit. I came up now with this solution that seems to work well. Thank you so much for…

Default Image Source vs Dynamic Image Source

Well you can manually enter the path in the expression … dmx-bind:src="'/static/path/here/' + serverconnect.data.query.somevalue.default('static_img.png')"

Download from Digital Ocean - Server Side

Hello Everyone, Here I go again with download files from Digital Ocean (S3 Connector). I searched over the forum but did not found a clear explanation on how the “Download File” and “Get File” compo…

How Do I Change The Colour of The Bootstrap 4 Switch

I have a BS4 switch looking like this: I’d like to change the dark blue colour shown when the switch is on… what is the best way to do that? I’ve looked in the Theme Editor, but can’t find an opti…

Where Can I Download Wappler 3.9.9?

Hi there @Teodor… I am having to re-install Windows on my main laptop this weekend. My app is at a critical stage where I need absolute stability for my clients, so I need to re-install Wappler 3.9.…

Question: Is it possible to disable Server Connect Schedule for Development mode?

Hi, as I wrote in the title: Is it possible to disable Server Connect Schedule for Development mode?

Hide Chart if less than two rows in query

Dear all, @ChristopheA I created a text input field and set the value to data_view1.items, and it showed the correct amount of items. I changed the name of the data_view1 to data_view_risk_score to …

How to change color on pagination list

Hey @steen, Select it in your Wappler’s design view and then in the properties panel at the right you should be able to select the background color and text color. Already did it for my paginations …

How to reverse chart?

Hi there, I have a chart as below: What I would like to do though instead of having the chart going up from 0-6 I would like it to go for 6-0 is it possible to reverse the chart? Thanks for your …

Where is the "Make Repeat Children" Button?

Hi. Since forever, I remember seeing a “make repeat children” button showing up in the UI for DIV elements. Since last month or two, I don’t see that anymore. Has this functionality been remove…

Whats the best way to handle this

I think you’d be best off using a while loop. Add a set value that’s updated when done is true and use that as the basis of the ‘while’. I found the while loop difficult to use with the ui, it works …

NodeJS Folder Public Permission

I would like to check the permissions of the public folder (nodejs) and possibly change them if not correct How can I do it at Wappler? Thanks

Summernote image uploads with drag & drop

I have a few upload actions for handing summernote images and files, but they only work correctly when you use the button in the toolbar to say add an image, if you use summernotes drag+drop feature t…

No MySql data is showing up on my pages after Dreamweaver conversion

Wappler creates different (updated, newer) files than the old DMXzone extensions, so that’s most probably causing issues. Please remove the dmxConnectLib folder locally and on the server, save ANY of…

How Can I Pass A Hex Code For Background Colour Via A Query Parameter?

Antony, why not use the UI when you don’t know what the syntax is instead of typing random things as expressions?

Adding info popup with set width and dynamic binding on mouse over🔎

Well i see in Bootstrap css that the popover class is limited to max-width: 276px You can try overriding this by adding: .popover { max-width: 100% !important; } to your custom CSS file.

Detail Page

You just need a server action with a single query, filtered by this value. You include this server action on the details page and bind the data you need on the page. Really similar to this tutorial, …

How do correctly create a uuid for a new database entry?

There’s a lot of different ways and definitely no right or wrong, just depends on use case. There are different versions of ‘standardized’ UUID’s, v4 seems to have evolved to be the option adopted by…

I have an API sending me webhook data in XML and not JSON

I could not find an easy way around this, so sent the XML to Zapier first, then made them send me a Webhook in JSON format. Hope this helps anyone else who just has no control over what the API sourc…

Dynamic Swiper Only Reading the First record

In the data picker you picked the image name from under the server connect and not under the swiper data source. The dynamic part should just be filename:

Need help with forms inside of table repeats

I’ve done this a few ways before. The first, was to simply ignore the best practice (or perhaps even requirement) that the form element had to be outside the table. I have a working project where I …

Set value to variable by javascript

Hello, I am facing something strange… My project is with NodeJS A single page with a variable “var1” (dafault = Hello World). A title showing the value of “var1.value” on the page. A button, when …

Formatting Advanced Variables

Hi, How might I be able to alter the Advanced Variables for a Navbar Toggler Icon, I’d like to style the toggler with a less thick border. - I looked thru the Bootstrap Docs but did not see specific r…

What i'm doing wrong! Setting up login page and action with security provider in nodejs

i got it to work! i missed the hashing password for $_POST.password

Need Help with Dependent Dropdowns

Has the process for creating dependent dropdowns changed in newer versions of wappler? Have followed the instructions on the posts available and they do not work. The second dropdown doesn’t seem to…

Lexer Error: Unexpected token

The lexer error is caused by the use of src="#" for your images. You can’t use a # as a value for the image source. Please find and all the src="#" on your page and remove the # from there.

Google OAuth2 CORS Error

You should just link/redirect to the google_login endpoint and not load it using serverconnect.

How to do a regions table for selected users

I need to input to a table, users different regions of service. its far from alle users where input of regions is needed. Whats the best way ???

Server condition malfunctioning when using != / == Null

$_POST inputs are never null - they are just empty. You can also just compare with the fieldname as condition to see if it is empty or not. No need to compare with null. So just check: $_POST.xx - …

How to prevent duplicate entries into db table when storing API data

Well all you need to do is to add the following steps: API Action repeat (API Action) – database query (filtered by your API value) – condition (query returns results?) – then -> update record s…

Has anyone else noticed the query manager / route parameters not working?

Well … you need to define it under App > Define Query Params and it will be available to pick: You don’t really need the query manager added if you don’t plan to change the query parameters values.…

How to tell if any element on a form is changed

Hello, You can check if a form element has changed using a bit of a custom js code. So you will need an app connect variable for this as well. Create a variable and call it formdirty. Set its value…

Google Calendar Source

Well that’s pretty straightforward. Enter your Google Calendar API key and the calendar id in the properties: You must first have a Google Calendar API Key : Go to the Google Developer Console an…

How to update live app and database? (Deployment workflow)

To get the schema transferred you need to right click on the changes in the database tab while on your remote target and select apply latest The data should be completely seperate from development as…

Pass ID from a database query to api as an array

I have several id’s coming back from a database query in server connect. I need to pass the id’s to an api as an array. I can do a repeat, but it is not very efficient. I’ve been trying set value a…

How to have multi columns in a nested repeat region?

Hi, I have followed the tutorial on Nested Repeat regions and all went well as far as the tutorial went. But I would like to go one more step because in my nested query, I have 2 columns. They have…

How to update the existing table data from a API result!

I have a api result which i stored in table 1(fields: code, rate), i have a another table called table 2 (name, code, rate, isOnline). i would like to update the table2 column ‘rate’ based on ‘code’ m…

How to limit characters displayed?

Just use the truncate formatter.

Electron Help: Files not found

And I finally figured it out! The cause? <base href="/"> Wappler forcefully adds this to the PHP project, so seeing it just felt normal. I must have looked through every single line of the head tag…

Custom Switch not working for me is there something I am doing wrong

Your for isn’t a dmx-bind try this for="checkbox_privilages" dmx-bind:for="checkbox_privilages_{{$index}}" on the label

How Can I Disable Responsive Font Sizes in Bootstrap 5?

Is there a way to disable responsive font sizes in BS5, since for BS5 the RFS button is not visible?

Electron: How to secure pages and run API actions with security provider?

Hi @Digo, Quite simple. Have a simple user profile Action (for example) on each of your pages, in the Server Connect Action for this profile set Steps for Security Provider and Security Restrict abo…

How to suppress helpful (but unwanted) droplists on your phone

Chrome (from what i read) ignores autocomplete="off" for login forms where you have your form names like username, email, passwrord etc. That is not correct, it should be added only once, so if auto…

Jquery Mask - Conditional Region

Most probably your script needs to be initialized, when the conditional region is rendered. Use static events > display > show on the conditional region to initialize your script.

Toggling Visibility

Toggling visibility is now easier using the toggle component:

Using 'this' in RunJavascript function

Parameters in the RunJavascript step of flows are supposed to come from dynamic bindings. Don’t think there is a dynamic binding for this. Also, the flow itself is run from a different context than t…

Can not get this JSON POST to an API to work right

I eventually have resorted to {{query_products_booked[0].ropi_start_time_local.formatDate('yyyy') == 2030 ? query_tripletex_customer_id.roi_date_created : query_products_booked[0].ropi_start_time_loc…

ER_ACCESS_DENIED_ERROR on localhost - docker + save emojis

Sooo, for information, I found the perfect solution to easily convert the database and tables charset to utf8mb4 using the terminal in Wappler, and now i can save the emojis. I will post the solutio…

Database search filter reset causing cancelled trigger events

Why are you using a button like, it’s not a real reset button: <button class="btn adm-mi-filter-reset btn-primary" id="btnResetAddMenuItem" dmx-on:click="fltrCategory.setValue('');fltrDescription.set…

App and Website

Best practices when creating an App AND and a Website from the same database/content? I realize I’ll need two different Wappler projects. But, other than that is there anything good to be aware of? …

Support for DECIMAL precision in Database Manager

the problem with this API is that it doesn’t return an array with the values, but an object so you can’t just repeat and select the values. So you need a repeat which repeats the quotes object as you…

IDs in repeat region

@psweb That did not work since it doesn’t evaluate $index value. so i add it like this and it works dmx-bind:id="'Detail'+$index" with this you can make any element in a repeat have unique ID not …

How Do I Move A Project To Be on a Different Hard Drive?

Okay, well I’ve managed to do it… I quit and restarted Wappler, and also renamed the old project folder… not sure which one was the solution but I’m on the new drive now. Thanks for your helps folks!…

Please help me with my Conditional Server Action

Here is what you asked for, but I got it working. You suggested me to wrap it in quotes: That didn’t work, but when I wrap it in double quotes: Then it worked. Result: Thanks for your t…

Conditional region contents visible in source code

So you are referring to the source code of the page? Source code will always be visible … what the conditional region does is to not render the content of the conditional region, so it’s not added to…

Repeat Children Key, vs Repeat no Key

The repeat children is the actual repeat component in App Connect. The regular repeat is a dynamic attribute. Only components can have properties such as unique key and dynamic events. So the regula…

Css clean-up for Wappler Design panel display bug ✅

.style1 { float: right; margin-top: -160px; } this float thing is breaking the layout. Why are you using a float there? What are you trying to achieve? BTW it’s also “broken” in t…

How to merge a repeat back together

So here is the situation I call an API which has thousands of results, in the API call I filter by date range to get me down to maybe 300 results, the amount can vary from only 1 result to whatever d…

Custom BS5 colors not showing in Design panel 🍧

Well… you may want to remove this post or keep it for future readers: The old Solar theme was still in our Include Header and took precedence over our style.css - despite the background-color: #2e2e3…

Install Docker Composer

I think I have solved I changed to Server Side on Custom hosting and now with the Docker app closed the development target seems to work The operation wiped the remote target I rebuilt as it was befor…

Pass id and use it on next page in an insert form

You can store the ID in a session on server connect success and use it on the next page. similar use case:

Copy input fields to other fields

I have a button with a function that I used in Dreamweaver to copy text from the first input box of a multi-update form and paste it into the rest of the input boxes of the other records. I’m trying t…

Double menu in hamburger view

Hi there. Can this be done in wappler: two dropdown navbar menus one under the other… When collapsed to tablet size both menus goes away and the hamburger shows. When clicking the hamburger, BOTH m…

Overriding Default Bootstrap Styles

Hi, What is the process for trying to style an element that has a default value already applied via the Bootstrap .CSS file. I do not seem to be able to change the values in the styles panel & I do no…

How to render a partial based on route in Node Js?

Partials are not really meant to be used this way. You need two content pages loaded in your layout - one containing your list of items and another one containing a form. Partials are used for reusi…

How to display the dropdown as soon as a user click on an autocomplete?

Hi, I’m using an autocomplete and I want: the user to be able to see the full list of value when autocomplete value is empty the user to be able to see the fitlered list when focus out of the input …

Database Not Exist validation issue

I have managed to fix the issue i had, hum… the validate step has to be before the insert step!. nowhere mentioned that validate step has to be before the insert step, i think its better mentioning …

Node.js: Local Websockets?

Yes. But you will have to open a tab in different browsers to test communication.

I think I broke my SQLite

I was following along with this tutorial: When I went to view the page in browser I got this error: Didn’t know how to get rid of this error so I clicked on ‘Move. to Trash’. I don’t get the err…

Status 500 code EISDIR message EISDIR illegal operation on a directory

Finally I solved all the problems with creating a database user with different name from “root”

SameSite Cookie Issues

continuing from here: Security Provider Issue with Server Side Redirection in SPA PHP Setup: PROD: Wappler 3.9.1, PHP with SameSite attribute set to STRICT DEV: Wappler 4.0.1, PHP with SameSite att…

Checkbox value not set on update form

The issue is with the expression used for the isOnline. It is just wrong - it must be: dmx-bind:checked="data_detail_currency.data.isOnline == 1" If you use the data picker to select it, then it wil…

Theme manager - how do I switch to my custom theme?

You need to change to a local Bootstrap 4 include, not CDN in the frameworks menu:

How to call modal from Javascript

dmx.parse('modalname.show()');

Radio Button Group Required Validation

It is impossible to detect all kind of layouts. You can add the element for the error message yourself in the DOM on a custom location. <div id="dmxValidatorError{form.id}{input.name}" class="invalid…

Can I delete all my API schema

After I am finished a job, and i know its all perfect and working, to reduce the size of my JSON server actions, especially those with huge amounts of Schema data, can i remove the schema data, and wi…

N00b NodeJS question: how to POST variables to custom js file

Hi there fellow Wapplers, So I have a NodeJS n00b question for the NodeJS-ers: how do I use variables from a (server connect API action) POST request in a custom js file? For PHP I know I can just p…

NEED HELP!: Can't query DO managed database, data does show up in database manager

Hi Jelle, You have to understand that there are two sorts of database connections. One direct in the Database Manager for Wappler, and one in Server Connect - to be used on the server. Both should ha…

Flow Editor - How do I get the value of a select?

Found out how. It turns out you need to insert a page flow, you do not have the option on an inline flow. You can then use a condition if the prompt = selected value. This also appears to work on app…

Case-Insensitive Search In Postgres

Hi. I have setup a multi-query using complex conditions. One of those is a search filter, which uses “contains” operator. But, the search executed on the DB is case sensitive. I searched for it and …

Full Reference for Server Connect and App Connect components

We also have a more detailed documentation with references coming up. You can preview it at: https://docsdev.wappler.io

Date Range Picker Invalid Dates

This could just be me using it wrong, but I am pulling a set of invalid dates from my database, and adding them to my date range pickers Invalid Dates area, however the dates will not disable on the p…

Form selection dropdown not showing database value

I am confused by your explanation. From your first post I understand that the “selected value” works for you when the option value uses the category binding, not when having the menu_cat_id Is that c…

Editing Bootstrap-generated Form without Re-running

Hi Paul @psweb, Looking at it yet again I saw that the POST variables were there, but the linked fields were not for these 3. In straight PHP the Post is all you need so I overlooked that. All good n…

Footer won't automatically adjust position accurately

Hi, When I first started wappler I could not get the footer to stay at the bottom of the page. This forum helped me out on that. Now a slighty more subtle problem. On my page I have footers positio…

Enabling Responsive Font Sizes

In contrast to Bootstrap 4, Bootstrap 5 has responsive font sizes enabled by default. The checkbox shown in @brad’s example is for Bootstrap 4. There is none for Bootstrap 5.

Bootstrap 4 and upload the site to own server

I have a ready page build with bootstrap 4 and now I want to rebulid it with wappler. It is a static page without db and I have some question before use wappler… Can I use my css and js from the “no…

How to debug whats happening when it looks like nothing is happening

Hi everyone, so I got a strange one here How do I debug a webpage that looks fully loaded but actually isn’t, when all the network activity has stopped, and everything seems static, but the info that…

Can we make the whole BS Card clickable - not just the footer?

Please check: There’s an example with cards.

How to get max value from one table and use it to insert into another table?

Add a database query step and use the aggregate functions to find the max value of a column. Add an alias for it: Then add the insert step and select the alias from the query step:

How to get current URL and url param and add onto it

You can set a session value as explained here (doesn’t mind it shows multiple pages, the idea is the same): But actually if you just want to show and hide elements on the page you can use the dyna…

How to properly use httpOnly cookie?

A httpOnly cookie can only be accessed from the server and not from the client.

Count all orders matching product type and sum price

Try adding an alias to the column you want sums of, and bind the alias names on the page rather.

How do you add a dynamic character count in a text or textarea field

I have a simple text fields with a maximum allowed characters of 120. I am trying to work out how to display the number of charters available in real-time while the user adds text into the fields. H…

How do I listen for more than one key input and do different actions?

It’s been a while since I used the keypress actions and I’m sure I could add many with different actions on each but now if I add one and then go to add another, it’s not available. Is it a bug or am…

Prevent geo location component to run on page load?

How about placing it within a conditional region and only show that region when you want it to run?

What is best method to support multiple stripe secrets key and publishable key for different env(like test and prod env)

The secret keys are saved per target so you can select the active target and modify to suit your needs. For the public publishable key you can store in the database and retrieve/output or set an envi…

Unable to uncheck checkbox

In the on changed event, place a ternary operator like checked ? goto1 : goto2.

How to use data binding in a server content editor?

adding .toNumber() solves it. Weird, I initially thought that it was gonna become string anyway because the formatter were still wrapped in quotes

500 Error?

Hi there, I am still new to Wappler and learning this exciting program. I am experiencing the below issues; I have correctly installed Docker, all updates are installed. Its MAC OS Wappler 4.0.3. I…

JSON object to string in server connect?

Hi all, I’ve got some output from a query that I would like to use in building a JSON string to pass to API action for a remote service (PDF generation). It’s returning as [object] … e.g. { “docum…

Select and Group by

I don’t think it would be possible to use a setvalue step as a source for the table generator. You can use the group by filter on the page if you need to do something like that, but then you need the …

Allow User 5 minutes to edit Comment?

In a Forum application I can think of several ways to give a User a set number of minutes to post a Comment, then display that "You have X minutes to correct or change this comment before it is Saved…

Can wappler use other than a MySQL database?

I have been using a sql database till now, Is there any chance that I could use something other than sql database like Postgres ? Which other database types does Wappler support ?

Applying Security in NodeJS pages

Where can I find the updated documentation for applying security to NodeJS in Login and Logout ?

How Do I Create A Server Action Condition: Value Contains 'xyz'?

Well Antony, just use the contains formatter available in the server data picker:

Theme Manager: Paragraphs not picking up font

So are you sure you haven’t overwritten paragraphs style in your custom CSS? You can check this when inspecting it the browser dev tools.

How can I set the selected item in a select after adding a record?

Hi. Indexes are 0,1,2,3. They are different from IDs. Set value is what should work, provided you have set the “optionvalue” of select to the same field as identity from insert. If set value does n…

Focus doesn't seem to be working

You need to use the shown event, not the show one.

Digital Ocean 'unmanaged' database how to drop tables?

(Node.js Docker mySql) My first project… Spent long time building on my local server without adding production remote docker target. Oooops. I dropped the local sql sample tables and added my own t…

Animate Bootstrap 5 Offcanvas on PC

Chrome and Firefox on Windows are controlled by the Windows configurations itself. If you choose reduced animations on Windows configuration than the browsers will match this setting and disable the a…

API needs SHA256 HMAC

This has been added for PHP and NodeJS to Wappler 4.0.2

Required field validation

Well you should use the dynamic events on the form, on success, not on button click.

Increment value

That’s because in the UI it should look like: dmx-bind:id=“'asis_' + ($index + 1)” no {{ }} are used in the dynamic expressions in the data picker.

Stripe: how to send email address to checkout server action (without database)

Can I send an email from the url query, like site.com/checkout?email=test@test.com, to the stripe checkout server action?

Local docker development on Mac

I am sure this is going to be a dumb question, but here goes When I setup a local Docker NodeJs project it automatically gives the Web Server URL: http://localhost:8100 Port: 8100 What if I wanted…

Layout is not updating

Hi. It sounds like you might be redirecting to a content page with another layout using internal. You need to switch off internal when a content page of different layout page is being called. If th…

Stripe - responding to errors in SC

Here you can see an example of how to show the error message to the users using the toasts component:

Functionality not working when inside a conditional region

I am sure there is something I am doing wrong, but was wondering if I can have some help. I have wrapped some content around a conditional region, however for some reason some functionality like sorti…

How do I set an object in a 'set value'?

Objects need to be enclosed in {{}} so try {{[array]}}

Make checkboxes unique

How about adding a Key to the repeat?

Navbar bevavior in subfolders

I have a navbar in my project and I’ve added an image in there as well as hiding some elements if I’m not logged in. the navbar works fine on the pages in the root of my site but the pages in the subf…

How to create a secondary navbar in the content page that sticks under the navbar from layout page?

You can add an id to your content page container/navbar like id="sticky-secondary" and then style it like: #sticky-secondary { top: 56px; } so it stays under the top navbar.

Weird on-apply/changed behavior

And why not just set the min date of calendar 2 to be 2 days after the value selected in calendar 1? anyway the correct expression is: <input id="date1" name="date1" is="dmx-date-picker" dmx-on:u…

Database structure not deploying after setting up portainer and traefik

Hey George, yeah I read that and solved the port issues, although I had to go a bit further and remove my containers because killing the processes did not free the port somehow (I spent hours trying …

Set All Bootstrap Colours in Theme Manager

Hi. In the advanced colours options of theme manager, I don’t see options for colours such as green-100 or indigo-300 etc. There are part of Bootstrap 5 colours from what I understand. I tried u…

Horizontal Repeat

Hi. You can manage the direction directly via flex-box Bootstrap classes like row/col/d-flex etc. In this case, I think if you add “row” class to the main div, it should fix your issue. <div id="re…

Need to create a booking system

Just brain storming here. I need to create a booking system, now I can see how to add the events in the calendar, but instead of the events showing I want the available slots showing, for example: M…

Slow calculations

I have some fairly simple calculations on a page using server connect data. For some reason a few are taking around 10 secs to load showing “Invalid Number” until they do… https://portal.rare.org/dat…

Double quotes dilemma in JSON validation, when variable sometimes null

So, problem solved. I thought it was about how Wappler validates json data in post api request. Turned out, I was paste null in the variable in a wrong way. I was write it as null so Wappler read it …

Hide Dynamic Attribute - still shows code in browser source code (how to totally hide code)

You can use a conditional region: A quick search of the Community should lead you to some help as the subject has been covered quite a few times @cpuser Conditional Regions Community search result…

Save Jason file in desktop app

Hi, I am creation a desktop app (electron) and was wondering how to save some app settings? Is it possible to create and save a Jason file? Or are the local storage persistent after the app is clos…

Cant get repeat region to work - API Data Source (Google Books)

Hi, I have setup Google Books API, and setup the Data source to work correctly and validated. Here is what I have done: A Serverconnect connects to a server action query picking up titles and ISBN…

Getting App variable data in a separate JS file

So i was given a solution. It is like in documentation above, but with content. in front of var1 function myFunction() { var myVar = dmx.parse('content.var1.value'); console.log(myVar); } Th…

Scrollable Bootstrap Data Table

I’m trying to create a data table similar to the one in this tutorial but can’t seem to make it work. IS it possible within Wappler to create such a thing? I have a sortable table that can have ove…

Securing Public User Uploads Files

Thanks @Mr.Rubi. Finally got to trying this and it worked. I am writing the exact steps and marking this one as solution, just because this post has a few more details. But solution to the original …

Server connect, no input parameters appearing

Input parameters appear when you have $_GET variables defined. For $_POST variables there are no inputs parameters, as you send them via a form post.

Guide for end users to request a One Time Password (single factor authentication)

Hi there fellow Wapplers, I’d like to share with you a little guide on how to create a One Time Password authentication method with just single factor authentication. This is intended for projects w…

Need a little help with a search

You can use the split formatter in the query filters and use it like: $_GET.filter.split(" ")[0] for the first term, $_GET.filter.split(" ")[1] for the second $_GET.filter.split(" ")[2] for the third …

Modal

I never found the problem, everything looks correct. I did create all again and works. Thanks to all

Guide and invitation for chat on how to use Wappler together with Strapi

Hi there fellow Wapplers, So lately I was browsing around some of the topics (such as Building a CMS with Wappler) about headless CMS systems and other forms of database managers such as Nocodb, dbea…

Dynamic Style background-image class - not displaying

If you want to use a dynamic value, then follow what’s exaplained here: Otherwise for static image, just use the design panel.

Show/Hide if field is empty

Well, then use dmx-show="!mediaTitle"

SPA Security Enforcer

Hi, I have started with a fresh new ASP .NET application and I am setting it up as an SPA. Have done this part before as well, so all is working fine here. Along with this, was trying to confiugure…

Docker Keeps Deploying Fresh Instance On Target or Project Change

Found the issue. It was this line. Maybe between managing dockerfiles of local, staging & production targets, I copied this from production docker file to local.

Is Wappler's UTC the same as GMT?

Hi, I ask if Wappler’s UTC should be the same as GMT because, in my app, whenever a user logs on, I update the User row with a Local and a UTC datetime. Then I have a database view to calc my timez…

Ternary, Or Operation and 3 possible outcomes, Crazy?

Try: <form id="form1"> <input id="var3" name="var3" type="text" class="form-control"> </form> <p>{{(form1.var3.value == 0 ? 'Off' : (form1.var3.value == 1) ? 'on' : 'Archived')}}</p>

Unable to update DB record with uploaded file name

Hi, I followed the steps in the docs about how to insert a filename after upload, however I am having problems updating a record to include the uploaded file name. The file uploads properly in the d…

What is the best way to prevent scheduled actions from running in Development?

You could set an environment variable and then check for the condition before running.

How to control Bootstap4 on a full screen

Hi, this is probably a small issue to the gurus, but I need a hint. I am creating a page with this layout. This is screen size Desktop(xl) and is acceptable for now (it will be smartened up before…

How to retrieve parameters by route - Node JS

I have a route like this I have a Content Page like this I don’t know how to recover the route parameter

Input mask validation - 4.0.1 version

newbie question: How to make an input mask validation for digits with hyphens in 4.0.1 version? The number should be ###-###-##-##. Then I want to check if the number is correct (it is a Polish tax nu…

Redirect a page based on set value from server connect

Hi, Is there a way I can auto redirect a user based on a Server action which output a user status? When user status is 1 the page will auto redirect to a specified page. I have had a look at some s…

Template pages for use

Is there a way to use a page from one of the starter pages for a website started from scratch? I’m only seeing the page during the initial project setup process.

Setting url parameter in server connect and action schedular

No. Wappler/AppConnect will pickup the value from main definition. And if you do put any values here, it will override the value from main definition at the time of call.

Encrypting oAuth tokens

Considering refresh tokens can provide access to sensitive data, it would make sense to encrypt them when storing them in the database, but how would this work/is this possible with Wappler? For logi…

Calendar - Time Offset

Hi Community, The Calendar feature is fantastic and displays event well (static or dynamic). I store my event date/times as UTC, and need to translate them by a value (that I call “TZdiff”). I see t…

How to check if repeater's queries increased/updated

@Dave @brad @bpj @sid here is a solution i found . there is a value updated event in the dynamic event for row element,when it a repeating a query,i used that and it worked bandicam 2021-…

Upload Form Not Saving File on Server

By default, PHP file upload size is set to maximum 2MB file on the server, but you can increase or decrease the maximum size of file upload using the PHP configuration file ( php. ini ), this file c…

How to manager dirty forms

I would like to manage the “dirty” state of a form - ie if any data has changed since it was last saved, or the form opened. I tried to use a variable in the form, and then use a dynamic event when t…

Form to check if a query returns a record

Well … single queries do not return array. You can’t use the count formatter with it. For single query just use {{!query}} as a condition where query is the name of your query of course.

Dropzone dont work

Dropzone requires a server connect form … you have a regular form. It needs to be converted to a server connect form.

Using a div + dynamic event to trigger a toggle checkbox

Hi, Can anybody walk me through how I can turn a div (container) that is containing some information and a checkbox into a clickable toggle for the checkbox? It’s just that the checkbox is tiny and i…

Wappler with analytics tool (e.g. Mixpanel)?

How do you get Wappler to work with an analytics tool like Mixpanel to track important events on your site?

Can't edit confirmation dialog in Flow

There is nothing additional to enable. Note that the Bootbox Dialogs are only available for Bootstrap 4 and not for Bootstrap 5. So if you are not seeing them, then probably you are using Bootstrap 5. …

Conditional display - toggling readonly state of form input field, or just show/hide input field

Hi, Having problem trying to get this working. Not sure where I am going wrong. I am trying to make a form input text field ‘readonly’ when it contains data from session storage value (which was pas…

How to do this form design

Hello, you need to use the form row options and you can edit edit your form layout afterwards (if using the form generator) in design view.

JQuery / Ajax call onClick to Post data to a file

Hi Wappler Community, Coming to you to see if something is possible with Wappler. I have an element that opens/closes a Collapse area. <h5 dmx-on:click="collapseThread.toggle()">Collapse this threa…

How to work with sub domains in Wappler with Docker

Hi All, just trying to get some input from other peoples experiences. Currently inside Wappler with Digital Ocean I can create a new docker machine, add a database, add portainer as well as traefik …

Sorting works in preview, not in browser

Good day! I’m currently following the getting started videos and I have a small problem. I created a sortable table, which works fine in the preview mode, I can click on the sorting icons and it wor…

Auto show Modal after set delay

Thanks @mebeingken. Found it. For the benefit of others, this is how to add and define a delay before a Modal can appear on a page. Create a Modal first using the App content side. Click on “Ap…

How to display link for more info in dynamic markers

I want to create a link in a dynamic marker info, so when the the button is pressed then it can load the database for that selected postcode and show information in a separate div. Anyone have any id…

Auto select first value of a multiple dynamic dropdown

So what if you use the dynamic option for the selected value of your first select and select the value returned by your server action? Like: This will always select the first option serverconnect1.…

User tables and login details

Hi, What is the best practice/recommended setup for user details and user login details in the Database when using Wappler? Is it better to have two tables? For example: Table 1 - {users}: user_id;…

What Does This Mean?

Somewhere on your page you have an expression [Update Service] which is wrongly added, maybe it has to be a string but it’s not enclosed in ' '

How to display text of response?

You can use the validation step for this in the server action. It will return a validation error on the front end which you can use to trigger an alert/notify. It should also work the way you set it…

Building a CMS with Wappler

Yes there is, just do a search at the top of the page for Medium Editor. Or simply add a textarea field to your page and press the Make Medium Editor button and have a play, that’s what I did.

Setting a condition disables Toast/Alert

Wappler Version : 4.0.1 Operating System :Win10 Server Model: PHP Database Type: MySQL Hosting Type: Expected behavior What do you think should happen? Toast or Alert messages don’t show in ap…

Invalid path error creating directory?

@patrick @George @Teodor Come on guys! You could have at least said ‘Dave you plonker why don’t you use the S3 Connector and offload all that bulk to Amazon!’… But NO you thought about helping me i…

How to curve bottom background

Have a play around with the following: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Untitled Document</title> <link rel="stylesheet" href="css/style.css" /> <meta nam…

Order in array of attributes

How can I sort an array with values before presenting them in a repeating structure?

How to add link in code field

I want to add a link in an alert which is displaying an error message. Like this, but then functioning (it just shows the plaintext now Context is to make it easy for the user to do the next ste…

How do I count referenced records? (Mysql)

Oh didn’t know the DB will do it for me, that’s nice! I have this working solution: Made column that holds the count of lectures Make it update every time a lecture is added/removed through a serve…

How to get rid of anoying bootstrap.min.css.map 404 errors

Hi there fellow Wapplers, Here is a small tip on how to avoid those anoying 404’s on bootstrap.min.css.map and some other files in the chrome network tab (F12). Those errors don’t really mean anythi…

Git Manager UI

Actually this all manual work shouldn’t be necessary at all. Is you want to connect to github repository you just have either to start a new project and specify it as clone, or if you already created…

Show modal while file download prepared

Is it possible to use an event to show a modal when a file download is occurring? In my case I have a SC API file that is triggered as a routed href on a button and the destination is a file download…

Can I Run Wappler 4.0 AND 3.9.7 on Separate Laptops?

@Teodor… I have two laptops which access my Wappler data on a shared networked device. I am thinking of leaving 3.9.7 on one laptop and installing 4.0 on the other. If I switch between laptops to e…

Show Modal 5 Seconds After Page Loads

One more thing to your steps: I need to remove show=“true” in the modal div tag. Afterward it works great, and a whole lot less coding! Thanks again!

Help with Binary File Download

I have a GET request to a 3rd Party API which following authentication via a Token, serves a file for download within my Node.js page. The response is as below HTTP/1.1 200 OK Cache-Control: no-cach…

Dynamic address search and display on Google Map

Step 1 - Create your Google Map Step 2 - Create your Autocomplete and select your map from the map dropdown. Also tick the “Move Map” box Step 3 - Under your map, create a marker. Set the Dynamic …

Repeat over two arrays simultaneously?

if i understood correctly, you can try to do this on client side via data store. have the server connect update the data store with the array 2 response on its success event.

Running Application in Windows does not start the software

Are you sure Wappler is just not minimized in system tray and then you should just click on its system tray icon?

How to reference an input inside a repeat from outside the repeat

It turns out I was really close, but missing the ‘items’ property of the repeat. You can reference the repeat values like this: tableRepeat_OrderDetails.items[varOrderDetailsIndex.value].inp_OrderID.…

Exchange Rates

For anyone reading this, here’s the simplified version… In the API call below, replace sc_current_triptaker.data.query.currency_code with your base currency code, or dynamic reference to it and local…

Is App Connect two way data binding?

Have you tried summing the input values, like: {{tableRepeat_OrderDetails.items.sum(`inp_Amount.value`)}} It won’t work with inp_Amount as it is not a numeric value, but just add a hidden field like…

Trim out leading zero in phone number in form

@Teodor, yes you are correct! I got it to work!!! Thanks you very much! Also thanks @TomD and @sid!!~ @TomD your suggestion work!

Node datetime and timezones

Before anybody spends too much time on this to help me…I THINK, I have figured it out. I believe that the local development node server is not in fact defaulting to UTC, but rather is picking up the…

Wappler app without Wappler

You can continue to use App Connect and Server Connect on any site build with Wappler even if you do not have Wappler any more. The file header indicates where the libraries are coming from and not y…

Server side time verses app time

Hi, just wondering what best practice is on the following. In my app the ‘Date and Time’ successfully returns my local date and time. But on the server side NOW returns a time that is 12 hours behin…

Swiper component loads but interactions only work after page resize

Long time since my last post. Busy with a quick Wordpress to Wappler conversion. When adding a Swiper component to the the index page of a php SPA site, the Swiper’s interactivity only start working …

Migrate site Sass/CSS into Wappler?

I have some Sass and corresponding CSS for my site. How do I migrate this into my Wappler project? Here’s the file structure, which I’m told is a standard file structure:

Working with currency and decimals

Given the form below, how can I show the Unit Price in currency format, but store the actual value in the database as a number: The Extension is a calculation of the Unit Price * Quantity, so I can…

Formatters on Client Side

Rather than dmx-text, you can use dmx-html to put the value in an element which should interpret the &#39; as ' e.g. <p dmx-html="T_Question"></p>

API POST XML problem

I’m trying to do a POST request. The data has to be in XML format. I keep getting the same error: Start tag expected, '<' not found I tried this very same request in Postman and Insomnia and it…

Links to (#) causing my pages to exit

Hi Lee, it is probably a route caching issue. But until you get that solved you can replace your <a href="#"> with <a href="javascript:void(0);">. I usually use this instead of <a href="#"> It will …

Emojis in the Database and Displayed by Wappler

I’m trying to store emojis in my database and then display them with Wappler. Problem: Wappler is incorrectly displaying emojis. Possible reasons that I can think of: Wappler is incorrectly interp…

Stripe Connect: Initialize Stripe.js with the Connected_Account 🚩

In version 4.0.1, this is now available in Stripe component UI.

Stripe Connect: Help to fetch the object / ID created on the Client Side for use in Server Side

My setup: When I click a ‘save card’ button, a createPaymentMethod() action by the Stripe Card Element generates an ID (pm_1J0BDjBfY9idGe2ue3fYcOz4) on the client side. How can the server side compo…

Select control value property in repeat doesn't work

The select value is always a string. It needs to be converted to number. Example: dmx-on:changed="dd_products.select(value.toNumber()) Just apply it using the data formatter, so the formatter js c…

Two conditional queries in the same API Action

Use the conditional option in the filters …

How to keep your DigitalOcean Droplets automatically updated

Hi there fellow Wapplers, How to keep your Digital Ocean Droplets updated automatically So one of the questions I had regarding the Digital Ocean droplets is: how to make sure that I keep up with th…

Date Picker shows email selector and date selector at same time when ID is "mail"

Nothing really related to Wappler, this is all controlled by the browsers. Before, it was possible to set autocomplete="off" on your inputs, so this stopped browsers from suggesting auto-filling wha…

Obtain Client IP & Store To DB

Is there a Wappler way, i.e. use dmx-browser, rather than a PHP script to get client ip and url so they can be stored to database? Here’s what I have found and currently using: <?php if (!empty(…

Action Scheduler to Hit External PHP File

Hi - my lack of Wappler knowledge is probably hurting me here. I’m using the Action Scheduler to refresh my database every five seconds. That works great. But how can I use the Action Scheduler to l…

Login and password - Encrypted URL

Hello Everyone! Is there a way to create an URL with encrypted login and password, so the user doesn’t need to type these infos, skipping login page? How about security? Is this safe? Thanks mates!

Wappler 4 - Importing bootstrap themes

Hi, I am very new to wappler and I have been struggling a little bit with importing a theme into wappler. I can build from scratch but it would be nice if I could figure out how to import themes with…

List in 'textarea' split into separate 'input' fields

I’m looking for suggestions on the best way to tackle this little challenge. The idea is to paste a list into a 'textarea' and then immediately that list be split up and copied into separate 'input' …

Pass variable to library action

Exec is what you want. Inside the library, setup PARAM inputs and those will be exposed on the Exec action.

Where are the tabs for the tab content?

I see the tab content object in component library, but I don’t see where you get the tabs. This inserts the tab contents for 3 sample tabs and shows the content of the first one, but there are no t…

How to store INPUT and multiple CHECKBOX as JSON in single DB field

How can I turn this… into this… and save it to a single Database field? [{ "part": "O/S/R 1/4 Panel", << name of part from INPUT field "repair": 1, << represents YES / checked che…

Can I easily delete 'blank' rows in an array?

I have part of a form which works well. The results of which are entered into a single Database Field as json. There are 5 rows shown here but the user can add as many rows as they need and then submi…

Random entries with NULLs added to database

Random entries with NULL values are added to my database: I have created an app with multiple pages (30+ and have some 40+ “workflows” (as it is now called?)), any suggestions for an efficient way …

Unable to update checkbox field

Thank you Anthony. I must have reviewed that article 4 times and did not find the problem. What I was doing wrong was with the bind statement. dmx-bind:checked=“sc_get_golfers.data.query[0].golfer3_p…

Access variable that is inside a route from a button click outside the route

I have an index.php file which has a php include file that has a modal for looking up contacts. This file is included after the opening body tag but before any route elements. <?php include 'inc/glo…

Update frameworks across multiple pages

Update one page so that you have the JS file installed. Then you can do a find and replace to change the other pages.

Bootstrap Responsive Column Size Changes

You can use inline styles like: <th style="width: 80%">

Get Wappler to detect full schema of very nested JSON

Any idea why Wappler isn’t detecting the keys inside the “generated_output” part of the JSON that I’m getting from an API? I checked that the JSON is formatted correctly with https://jsonlint.com. JS…

Docker: Local Databases

Just revisiting a couple Docker sandbox sites I started playing with a few months ago. 1: Can you create a local database with Docker? If so, how? 2: If answer to first question is ‘Yes’, can the lo…

Is this a bug or a moved/removed feature?

Expand buttons have been removed as they don’t fit our new UI and the upcoming UI improvements.

Docker: Connecting To Remote Database

I have setup a local PHP staging with Docker and it works great! What I would like to do is connect to the existing remote MySQL database on our production host. If this is possible, are there any ins…

Wappler 4 Database error when trying to fetch data

Hi Teodor, I didn’t realise that there were 3 “Refresh Schema” levels: db level, Tables level and, Single table level Once I refreshed the 3 levels, I managed to fetch the data. My mistake was tha…

JSON Date Conversion

From what i understand in this post all you need in your server action is: myDate.substr(6, 10).toNumber().formatDate('dd/MM/yyyy')

Virtual database columns from complex JSON data

I was dealing with dozens of external API’s that return hundreds of data points yesterday. I wanted to store all the retrieved data, but creating a column for each piece of data was going to be overk…

Is it possible to do a dmx-class to toggle multiple class at once?

You can set multiple class toggles on same element. But each dmx-class can have just one class.

Heroku 2 dynos running scheduled task twice

Hi I have a wappler app deployed on heroku using server actions that’s supposed to run once a day but I notice this morning that it runs twice . Is it because I have 2 dynos on my heroku app ? what co…

Accordion Collapse

Have a look here

Smooth Scroll speed and easing configuration

I have the following problem I have a page.php which includes a top menu.php Each item of the included menu corresponds to a link to a Smooth Scroll instruction on the page. Each Smooth Scroll anch…

Group Checkbox Insert

I have a group checkbox input that is failing to insert into the database. I have followed the instructions for Wappler version 3 tutorial. However, though the record is added to the database, it does…

How To Elegantly Work With PHP Session Timeout and User Logout?

(This post is based on what I have learned and any feedback / further details would be most welcome!) So I’ve had an issue with my app whereby if a user logs in and then does not use it for a while, …

Proper Target configuration for IIS

Is it possible to have multiple projects within a single host in IIS? For example, I have a host defined in IIS called ‘sandbox’ that points to the sandbox folder in the inetpub directory on my local…

Help filtering MySQL result with first name and last name in different table columns

If you have a single filter input field and want to search many columns, another approach is to convert the entered string into an array and use each element as a separate search criterion. Eg here I’…

How to display date from database in "text input" with a type=date?

So I believe you have solve the problem for me. I went back and try reformatting the data binding value as yyyy-MM-dd instead of yyyy/MM/dd on my update form that seems to work now it even started the…

Issue with browser viewing

Make sure your main layout page is saved.

Make APIs private

Right now, I have APIs (or server actions? Do these terms refer to the same thing?) that, if someone happens to go to that URL, they can directly call. Is it possible to make it so that people/bots fi…

Get device info from header

Hi, I have a node.js back end with a mobile (ios and android) and web front end. It is accessed but a limited number of my clients existing customers and he has asked for some logging of who is usin…

How to toggle icon in button

Probably the most simple question ever… I have a button and I want it to toggle and change the icon contained within it. The button class is btn and I have set ‘Action toggle’ to Button under prope…

SPA open modal from external link

Select your modal, add new dynamic attribute and select modal > show. Select ismatch under your route: You are done. The modal will show once the selected route is loaded.

ApiConnect & Woocommerce v3 api

WOOCOMMERCE SOLUTION I connected to woocommerce ! It works fine !

Anchor on same page and smooth scroll

Yes, you can do this using the smooth scroll component. Add the component in app connect panel Add anchor button and add the Id to scroll to

Not using Security Provider API step

That’s correct. You no longer need to add all such steps which have moved to Globals. That includes DB connection, mail, S3 etc along with security provider - which you might see in older docs.

New project Wappler 4 with Bootstrap 5

In your project settings in the frameworks tab you need to add bootstrap 5.

Help Regarding Stripe Checkout Session with Connected Account

Hello, I am a Wappler Pro User using Wappler 4 beta 13. I have been using Wappler and is simply amazing & user friendly. I am facing an issue with the Stripe while using it through Wappler. I have …

If/else on the front-end

You know how we can get if/else statements on the server side (see below)? Can we also get those on the front-end? For example, I’d like to display different alert types, depending on the response …

SPA with nodeJS

Well it is a SPA. You must not be doing properly or not following the tutorial exactly. Probably this part is not set up properly: Building SPA pages with NodeJS There is no need to “search the docu…

How to implement user login: Behavior different from documentation

I am trying to implement static user login security for my site. Unfortunately, after I set up the security provider and try to put the security enforcer in place, … when I try to configure the login…

Bind input content of auto-complete input field

What I am trying to do: I got an input field with auto-complete enabled. If there are no results from the auto-complete, I want to use the input (typed) value in the input field to bind it to a serv…

Conditionally show element based on external API response

Perhaps you are conflating the dynamic attribute “Show” with the alert dynamic attribute “Alert Show”? Show will display an element, but an alert has a special attribute of when to actually display t…

Help + advice needed for form and DB entry

This will be used in a much larger form but I have cut it down for simplicity. I have one row in the form that has 1 INPUT field and 3 CHECKBOXES. Typically an entry would be as follows… And th…

API > import & update DB

I want to use this api : https://restcountries.eu I don’t have problems to connect and display data on page. All ok with documentation and community. Works like a charm. But i would like to connect …

How would I download an image for use in a SC from an image URL?

Hey all, Let’s say I have a number of images, e.g. www.example.com/avatarimage_1.jpg. I want to save these images so that I can then store them in my own S3, and then my own path in the DB. Is there…

Return confirm "custom" pop up

Based on this tutorial we can use the “return confirm” static event. I would like to know how to either having a custom pop up or having a button “confirm” that appears next to the cancel button (inac…

Repeat row or another way ? How to?

Hello, the basics are explained here: Instead of table add a container > row > col structure. Set the size of the col to what you need it - i.e. size 4 will add 3 cols on the same row. Then selec…

How can I let the user add more rows into a form in groups of 3?

How can I use a button to add three additional rows of form fields, and then more in groups of three? I am sure there is a topic about this but I can’t find it.

Web Site Doesn't Load Once Viewed A Few Times In A Browser

I’ve built the first version of my app’s web site using Wappler. I’m getting this strange thing where once it has been viewed on a specific browser on my computer, then the next time I come to view it…

Many small databases or 3 large ones

I have a blog that allows quite a lot of user customisation for this to work I have a main database table that holds all the things like the order to render the blog in what roles can view each sectio…

nodeJS modals and dynamic side bar not working

I am more than likely doing something wrong, but for some reason modals and dynamic side bar do not seem to be working. I have them on the pages that fill the master layout page…is this right or am I…

Beginner question: Autocomplete with multiple tables?

That is not as simple as it might sound to you. You will need a custom query here for what you need to achieve. For example using UNION will do what you need: SELECT car_brands FROM table_cars UNIO…

Connect to Webflow

Hey! Is it possible to connect webflow and Wappler? I want to use Wappler as a backend. I checked everywhere I can not find the way to do it. I am not interested in using Webflow CMS. Cheers

Make custom query parameter literal vs string

However nutty this may be, I would like to make a way in Wappler to search every piece of data inside every table inside my database. I start off with a custom query SELECT * FROM information_schema…

File Download server action

Can I use the File Download server action with an image file. My action file, loads an image, resizes it, adds a watermark, and saves the output to a folder, each time i add the File Download step at…

Accessing parent from nested repeat child component

I am trying to manipulate a table to include ‘invisible’ cells to accommodate colspan not being supported by DataTables however I’ve run into a roadblock that I hoped someone might be able to help wit…

Help with dynamic nested JSON in API

I’m struggling with sending POSTed data in a nested JSON via server connect API. My workflow is: Server Connect Form >> Database Insert >> API Action I need to replace “John” with the value from the…

Digital Ocean Spaces CDN

This is my first time attempting this I have managed to get the CDN enabled on digital ocean but what I can’t seem to work out is if the sites actually using it none of the media is using the sub doma…

Prevent Login Form from Filling in details

I have a login form on my dashboard. However, whenever I go to the login page my username and password is already filled in. Is there a way to prevent the browser from storing and autofilling that inf…

How to use server connect from an app?

Hi, I have a form in a modal. The form is a Post with a server connect. On the submit button of the form I have 4 flow steps. I wish to execute them before the server connect of the form is called…

Problems setting up node

I have followed the instructions to set up nodeJS on cPanel. The error I’m getting is: {“status”:“404”,“message”:"/ not found."} does anyone have any idea what will be causing this?

Form generator not populating fields

Looks like my problem connecting the front-end to the database was probably caused by the fact that I initialized the project from a near empty BitBucket non-Wappler repo that had a README and gitigno…

Unable to access remote database without SSH

I have a bunch of queries which were previously connected to a remote AWS database and working fine. However, I have recently needed to access a different remote AWS database - via SSH (see connection…

User does not get logged out

Just in case anyone is curious, I have found a Wappler solution to my last remaining problem. To the Logout Server Connect > Dynamic Event > Success I added a server reset action as in Now when I …

Theme manager changes not visible - wrong design framework chosen

Do you have also bootstrap 5 selected as design framework in your project options? Seems you have ver 4 there…

3.9.9 - Navbar unable to find the views when a main layout is used

I’m unable to set up the Navbar when I use a “main” layout for a simple site example: Link to GitHub repository of my site: Broken site with a “main” layout It loads okay initially: But pressing…

Don't show data from a query unless selected?

This is one way this might work I haven’t tested this yet thought new is my array name the top one is when a box is checked as the array has values the Bottom should only trigger when the array ha…

Still Frustrated!

I have read extensively through this forum but due to my dark era of the 80’s, whatever brain cells I have left don’t seem to quite get the grasp of this (what seems to be) lovely software called Wapp…

Can variables be dynamic?

Could you not use something like this? dmx-show="(connQuestionnaire.data.queryQuestionnaire[loopQuestion] == FieldAnswer) (use square bracket instead of dot notation)

Reusing code

Today has been quite a day learning loads of new Wappler features and techniques. I have a chunk of HTML - only about 6 lines - which will be used a number of times in the page. It references a coupl…

Using repeats in autocomplete

Got it working! I ended up using one query with an INNER join, making “projectID” from one table match “project” in the other. I then added a Condition that the userID needs to match the user’s identi…

Greater than or equal to in query conditions?

Be sure that in your database the field type is ‘date’ or ‘datetime’. Looks like you have a ‘varchar’ field you are putting dates into.

Advice on custom matching parameters in routing

I guess I’ve found the answer. Right syntax in Path: /profile/:id/(.*) Then client side, pick your dynamic values, like user_id for building the routed link, for example: profile/[user_id]/[your_fir…

Force forward to https link wappler

Hi is there a way in wappler to auto redirect a user to a secured site ? Saw this module but dont know how to apply it in wappler

Internet Explorer not supported warning?

Add a Browser component with an ID of browser1 and finish up with the code below. <p dmx-show="browser1.userAgent.contains('MSIE') || browser1.userAgent.contains('Trident/')">Please use a different b…

Setting main layout variable from partial

Hello everyone, I need to set a variable located on the main layout from a partial…I see the variables in the picker, I set the value but it remains with a null value…any hint?

Show a subset of records in various places on a page

I initially thought this would be easy but am now wondering the best way to achieve this. I have a query which will return some records. I want to show those records in different places on the page d…

How do you build a membership function, with subscription and trial function

I want to make a mebership system, where you can have a 30 day free trial, and then sign up for monthly or yearly subscription. My thought was that if I did not have the need for a free trial, I coul…

Error While Importing CSV

While trying to import a CSV file to a MySQL Database, I cannot locate the cause of the following error. Anyone have an idea of how to decipher this: Both parameters should have an equal number of ele…

How to play a video background

The answer is in this post

Questions about API

Hello, I’ve just started working with Wappler and have few questions about API, will be very grateful for answers and tips. [Q] Seems apps for API Data source are available in PRO version, what is …

What is the correct Wappler Dynamic Event for triggering an action from an autocomplete menu?

Hey all, I have an autocomplete - this displays keywords matching the users input. When they find an input I want to then add the value from the drop down that they click on to an array component. I…

Insert Record with images

I need guidance, i am trying to insert some records which include multiple images to be written to the database and saved in a folder. I need to know the serverconnect order (conn>>file upload>>insert…

How do I let the user overwrite theme colors dynamically?

Desired result: User can select primary and secondary colour (perhaps more later) that will overwrite the default theme colours. This will be applied to their own subdomain (saas structure) Example …

Wappler screens have become unworkable

Ok Got it, immediately after saving after Reset Panel Sizes, quit wappler and restart, seems to have done the trick,

Dynamic Repeat with button inside a card, how to select the parent group's ID?

Try just deleting repeat1[0]. if I understood you correctly you’ll need to select code just next to design and have only id in this case (not sure but something you can try haven’t used cookies yet)

Where have target settings gone?

found it, top centre of screen

Comparing array in repeat

I’m sure there’s a simple way to do this and im just not thinking about it correctly, what I have is two tables one table is used for the data and is then repeated this all works great but then I have…

NodeJs Best practice for HEADER

Yeah. For me this is the main reason. I just use different layouts: Marketing layout (landing pages, about us, features, pricing, etc) Auth layout(register, login, 2FA, forgot, etc) App layout Adm…

Compare rows in a repeat region

Hi, You will need to set dynamic class with condition being something like this: sc1.data.query1.where(total, total, ==).hasItems() This is a rough code, please make sure to use UI for the expressi…

Data picker doubt

If I have two records that use data picker in some field with date, because the changed date in one of them is shown in the other ?

Confirm if user wants to leave page

Hi, I was wondering what is the best method to create a custom prompt to ask the user if they are sure they want to leave the page. Preferably I would like this confirmation to trigger if they hit t…

Favicon with NodeJS

Non-Wappler method:

Chart - Heatmap

Hi, I’m trying to create a heatmap (55 matrix which you plot data on) and i would ideally like to be able to colour each block in the matrix a colour signifying the importance Green, Red and Amber (se…

Docker hosting in AWS - couldn't determine Default VPC

Ok I solved it by creating a default VPC after following AWS documentation here: https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html Best. Jay

Frustration!

Hello, I’ve been using Wappler now for 4 days and while I see the tremendous potential, I am ever growing frustrated with things that don’t seem to make sense (although it is probably something I’m do…

Can Wappler send text messages or SMSs to a phone?

Hi This is a general question. Can Wappler send a text message to a phone? I know it can even if I need to call a free SMS web site outside of wappler. So really my question is, what is the best wa…

Wappler layout problem

When I start wappler, I dont have the same folderstructure or layout as in the docs. ? Can anybody tell me how to get Server connect tab to show Server actions tab to show able to make some folder …

Retrieve client_secret with stripe.confirmCardSetup

Alternative you could pass it as parameter to confirmSetup, but using the stripe component to create the setup is the easiest and intended way to do it. stripeCard.confirmSetup(My_ServerconnectID.dat…

Single query's column's columns have no values

Hi, I have created a server connect logic using a single record query to supply values to an email. However, column values from the query are blank in the email. My setup is… The query uses the p…

How to download the latest ver of Wappler Beta from within Beta

I have Wappler Beta 4.1 installed and wish to update it to the latest release. How can I do that without downloading it from the website directly? Every time I download from the website it asks for m…

Import CSV > map fields functionality - any ideas?

Hey all, Looking at an imprort CSV function (this part’s easy) - but where the user is able to map the fields live in the UI before finalizing the upload. Has anyone tried this using Wappler only - …

How to find in array?

Thanks I managed to fix it right before trying this! My issue was that Wappler was adding quotes to school_slug and schoolname I just started over and used the code field and this prevented it.

How Can I See My Navbar Hamburger?

I’ve found the answer! You cannot leave the navbar “Theme” set to default… it needs to be one of the other options… This article helped… it is easy to forget that the navbar setup is a Bootstrap 5 t…

Date and Time returning [object Object]?

If you mean the datetime component in the App structure, it will return an object as it has multiple properties. To get the actual date from it add .datetime to the reference: e.g. to get the date…

How can I use binary data image?

Hello, I have to insert a blob image in my page. How can I do that? I’ve tried to assign “dynamic image” and force like this: <img dmx-bind:src="data:image/jpeg;base64,sc_datiazienda.data.query[0].q…

Installing Docker

Hello, I’ve managed to install Wappler & Nodejs on my Ubuntu System. I also have Docker installed. When I click on ‘System Check’ in Wappler, I see that everything is installed correctly except for Do…

Can we execute a custom script function in Wappler?

Here is an example, I have a form which send data to a server connect api on submit. If it fails to do so due to some unknown error then I am storing the form data in local storage using Wappler func…

Im trying to repeat an array to return database

What im doing is adding new items to the array each time the user makes a database insert, and I’m a database query that i want to use to return those inserted records, so im passing the array ite…

Sorting Bootstrap Table with App Connect API Data Source

@George and @Hyperbytes : thank you gentlemen! So given this direction, I did some experimenting today and I would like to share my steps for the benefit of anyone else who needs to do this but doesn…

How to display an error message generated from MySQL

Hi, I have created a page for Signon that is based on a User table in MySQL. One of the fields is Email. In the underlying MySQL there is a unique index defined for the Email column of the User tabl…

API JSON return alias's

Strange question alert. In database queries I can assign an Alias to any column I am returning. Is there a similar way to do that for API JSON returns? My situation is that, I may be linking to 5 di…

Datetime Picker minimum time?

Is there a way to limit the times available in the datetime picker? I don’t want users to be able to select times between 10pm and 6am. Thanks.

Google OAuth & Photos API Tutorial - Part Two: Google Login

This is part two of how to get Google photos into Wappler via the API. I don’t have much time so am going to show the basics and hope you can work it out from there. Create a new Server Action. I …

QR CODE Generator

Hi, thnks @bpj and @sid, I hadn’t thought about using flow, good idea, thanks. I ended up using this API to generate the QR codes since it is faster and easier: http://goqr.me/api/ so my code is sim…

Recaptcha not displaying

Hi, found the answer, it is jwaw, (Just wait a while)

Radio controls, submitting final radio button value only

I see some strange things in the code your provided … like this dmx-bind:value="business_type_group.value" - not sure what are you trying to do using it. I just tested the most basic form with 3 rad…

Login Error

Patrick this happened again… back in December 2019 it happened. Now it’s sprang up again… Do you suppose this would be caused by Apple’s new file system manager? I know that sounds crazy, but this is…

Sortable table on content page

Is basic.ejs your layout page? for car-list.ejs only asking because I have noticed sometimes adding something that requires a extra script or file etc on a content page is placed in the layout page so…

Calendar open Day view on day click

Is there a way to open the day view when you click on a date in FullCalendar? Thanks.

Submit form to Text Message?

Seeing a bit of conversation on text messaging today. What I would like to do is have my job coaches send our clients text message reminders about appointments or new job openings. Ideally the conta…

How would you create an input box with individual boxes per letter?

Hi folks, I need to recreate an offical form which has input boxes like above (ie like on surname etc). So each letter is in it own little box, no there are two ways this will be filled in, manual…

What's with Wapplers Git intergration usernames?

I raised this issue privately some time ago, but no solution was reached. Fortunately, I found below commands which solved it for me: git config --global user.name "first-name last-name" git config …

Client Side Timer

I want to detect when a user has been inactive (e.g. hasn’t edited a form field) for 10 minutes. How would I do that in Wappler?

Original $_POST (file) values not available in SC

I’m trying to access the original filename to store in a DB against a GUID that is set upon saving to S3 so that the user can then download with the original filename. I used to use (within a repeat …

Apply dmx-class to items in repeat ul only applied to first instance

You don’t need to check the length for this, just check if the expression returns a value or not: <div class="list some-padding"> <ul is="dmx-repeat" id="del_repeat" dmx-bind:repeat="BritTh…

Sub string

How can I get part of some string ? For example : string = “part1:3:CL:22:test” I need just word “test”

Stripe: Help with the right input variables/object

For the community’s info: the textarea field does not communicate with the POST var input as wished. I toggled the bootstrap 4 generator, which turned the field into an input text field and now my pm…

Identify Marker in Marker Position Changed Event

Hello Sid, In the current version the marker id was not available for the marker move event. Here’s an updated version that includes it: dmxGoogleMaps.js.zip (7.0 KB) You can use the marker id the…

Change F7 alert title

How can you change the default ‘Framework7’ title of F7 alerts?

Values inside array inside get of REST

How I can get values inside array inside get of REST ? The result of get is: {“api_credentials”:{“status”:200,“headers”:{“server”:“nginx/1.14.0 (Ubuntu)”,“date”:“Mon, 21 Jun 2021 13:07:18 GMT”,“cont…

Hide an icon if value is null

I have to hide an icon if a value of data detail is null. It seems simple but… it doesn’t work. What am I doing wrong? <a href="#" class="btn" dmx-bind:href="data_detail1.data.facebook" target="_bla…

How do you clear data store on page refresh?

Anyone else trying to figure out how to trigger an event on page load on content page inside a layout. Select Page Flow Create the run step Set to auto Run The resulting code in the content …

Get value from Rest

Your JSON isn’t structured correctly.

Best Way to Add Python Processes for AI support

Hi there! I’m creating an AI-enabled app and building a number of different python jobs and scripts for data analysis. I’m trying to figure out the best way to set up my python processes and I’m not…

Why Could My App Be Losing Access to The Database A While After Users Log In?

So my app is PHP/MySQL based… all works well except that some time after a user logs in, typically measured in hours, the connection to the database is lost. Can anyone give me some ideas as to why t…

Use one image in multiple places

I have images which all load on page load (SPA). Those same images are used in several modals. I’m working on a PWA where I’d like users to be able to view data offline. The initial images are all …

Stripe: give session/checkout info to success page

Solution: Add session_id={CHECKOUT_SESSION_ID} to the success url Then: Pass the query to the server action Server side: use the session ID to retrieve the check out customer ID → retrieve cust…

Where is the SSH private key when deploying remote Docker target

Following the docs here: I need to know where Wappler places the private SSH key in my computer. This is for future use to access the droplet using Putty. Thanks in advance for your help. Best. J…

Page flow condition syntax incorrect?

This isn’t working as expected, any ideas?

Stop Auto Complete clearing input?

There’s a “no clear” option in the Autocomplete UI now, which allows you to leave the entered value in the input, when it does not exist. You can use it in combination with the no results click event…

How to not log out a user if they're offline

You can use the browser component to detect if the user is offline or not

Bootstrap toggle switch

How can I make a bootstrap switch like the image in wappler. green when on and red when off.

Summing values in a nested repeat regions

I think a binding like this should work $value.sum(AAIW_Score) You can put it just outside story info repeat div. The param in SUM formatter might need single quotes, and another toNumber() formatt…

Classes not added to dropdown in sidebar when in repeat

I’m currently having an issue similar to what has been reported as a bug in the past here: In fact, it appears to be exactly the same issue, only that instead of an accordion, this is a menu (…

Styles are not being applied (Bs4)

I am not really sure i understand the issue you are having in your video, seems quite random to me. Here’s the documentation explaining how to use the Design Panel: If you mean that the styles don…

Progress bar... doesn't work

Your expression is wrong, should be: uploadProgress.percent+'%'

Array map formatter

Yes, the map and filter formatter is in there for a very long time. We never implemented these because it was not possible to have sub expressions using the UI. The argument is a string with an expres…

How do you display Server Connect Set Value on the front end?

Response step removes all other output from the response. So the only thing you will see in response would be the text written in the response step. Similar to what is suggested in the link you have…

Autocomplete: dmx-bind

Hello Guys, I have an autocomplete where I have to set its ID as dynamic ID: <input is="dmx-autocomplete" dmx-bind:id="tag_search_{{internal_name}}_{{inclusion_field_id}}_{{var_control_id.va…

Query using IN clause

The IN value must be an array.

Looking for some advice for storing multiple users in a column

Hi, I’m looking for some advice on how to handle this best, I’ve tried a few ways, but I’m really not convinced they will work or are the best way to handle this. Essentially, I have a MySQL table w…

Can projects created in Wappler 3 be ported to Wappler 4?

Yes. But it is advisable to create a copy and open that in beta, and use original in version 3. Just in case something unexpected happens.

Modals, alerts, notifications not showing in browser

No need to worry about any map not found warnings. The unknown component is from a missing script. To get the scripts added to your layout, just add one of the elements in the layout, and then delete…

Georges App connect flow condition not working

Your Condition expression is incorrect. From @George’s tutorial:

How can I format to 2 decimal places only if there decimal figures

I have a database table with figures like this (to 2 decimal places) 10.00 12.50 15.00 17.50 20.00 But in my output I want to achieve this 10 12.50 15 17.50 20 or this 10, 12.50, 15, 17.50, 20 I…

Array not working in repeat region?

This might be a bit difficult to explain, but I’ll try my best. Currently, I have a dynamic table that fetches dynamic data from a database, in these tables is an edit button, that pops up a model wh…

Routing setting for 404 on NodeJS

You can add a custom 404 page by adding a route for the path * as a last route in the routing manager

How to show just the first word

dmx-text="'Joe Bloggs'.split(' ')[0]"

How to get daily backup of MySQL database in a Wappler project

We have a project in Wappler (hosted in a digital ocean droplet) and we need a daily backup of it’s database (MySQL) Could we please get some guidance regarding this? Any help would be appreciated,…

How to run javascript in a flow?

The Run Javascript is used to call a javascript function. Try adding something like this to the bottom of your page: <script> function displayToast() { toastr.options = { "closeButton"…

Retrieve Stripe element from server connect

Hello there, is there anyway to retrieve Stripe element from server connect? I have the big headache trying to display the list of invoice from Stripe to the user page. Is there anyway you can help? …

ServerConnect: splitting a post value for API action

It looks like you renamed the POST input. The “es_to” in the set value should now be “to”.

Traefik automatically add sub-domains?

I’m using Traefik as a reverse proxy. I now want to add sub-domains automatically without having to manually edit my .yml files and docker-compose it up. Can I change this file automatically: static…

Centering Content on a Page

I have a container that contains a row with 2 columns. I would like to VERTICALLY center the container in the middle of the page. Please advise how you would solve this. I do not want to use the TOP …

Needing Advice About Working With Digital Ocean and Docker

I’m working to build my web site and community forum setup for my app. Here are the key points of my setup: My web site is php based but with no database, and is designed in Wappler. My hosting …

Requesting Help for Setting Droplet Target

I’ve created a Digital Ocean Droplet for my app’s web site which will also run some other software, so rather than use Docker, I’ve created a vanilla Droplet and loaded apache2 and php. The droplet is…

Questions about Javascript Flow

Please, how to handle the returning value of a javascript function in a javascript flow? What is the meaning of the output checkbox in a flow definition? Thanks for any help

How to integrate my existed vue.js app with Wappler?

I am new to Wappler, I really want to know whether my requirement is possible before dive into Wappler. Here is my situation: I have made a web app core functionality with nodejs for backend and vue.…

How to retrieve and set the payment method for Stripe confirmation?

I am using a custom Stripe checkout form, which works perfectly with a credit card. For many other payment method types like sepa debit confirmation is required, so I checked the Confirm option in th…

Failed to load "js/bootstrap.min.js"

Hello! I am building a simple static web page and everything work great on my PC (Local). But when transferred to my personal web server (ftp) there’s no layout/css design or images showing, only t…

Maps fitBoundsToMarkers using previous markers

I have a Google Map which is using a server connect for dynamic markers. In the server connect Success action I have dmx-on:success=“maps1.fitBoundsToMarkers()”. This actually sets the bounds to whe…

Confused about time formatting - Not getting the right time. Possible BUG?

So it is stored with the UTC timezone in the database, not a standard (local) datetime field. The date formatters in App Connect work with local time, an UTC date string will be converted to display …

How to make Node app a PWA?

Want to make a node webapp into a PWA. I’m doing my research and see there are options like https://developers.google.com/web/tools/workbox I am curious how you have done it? Updating with more reso…

Most efficient way to build a system that counts 'impessions' of listings

Hey all, With one of our projects we have a dynamic diectory, this creates thousands of page variations with results. We have page views being counted when a specific profile is viewed, however, i’d…

Pass a secret key to Server Action using a data attribute or a hidden HTML element (See reco)?

Whats up guys? I need to pass a unique client secret key from SC to Stripe.js on the client side. How do I use a data attribute or a hidden HTML element (your recommended method)? …or does your S…

I'm getting errrors when i,m trying to do a self reference in database manager

ok…i got it solved, by creating another column…it seems changing existing column to a reference column ,is not working, unless you create a new column for the reference

How to Restrict Pages without User List

Hello Just found Wappler a few days back and am excited to see if it could be the answer i have been looking for. I have an Azure Cosmos DB database where i store user account details, game subscrip…

How to add a new tab

IDs are unique no two elements should have the same rename them to be different then click each nav link and choose the the tab you want it will show the tabs Id

Can I Disable A Link Rather Than a Button While a Server Connect Executes?

Guys, the HTML disabled attribute is not available for anchor tags: https://www.w3schools.com/tags/att_disabled.asp You can add a class to it when the server action is being executed. And with that …

Adding a filter to a table

Could this be the problem?

URL parameter encrypting issue

There are two js methods for encoding. encodeURI() for complete URLs and encodeURIComponent() for parameters. I believe wappler uses the first one for its encodeURL formatter. However this one will …

Get the date value when clicking on a day or event in the new calendar

Hello, The date click event returns the date, and you can get it in the dynamic data picker in the dynamic event: So every dynamic event returns different data, depending on what it does. As you c…

Help with right cc hash syntax for Wappler component

When you want to pass an object as value then you need to pass it as an expression, so enclose it in {{ and }}. {{ {number: "42424242424242424242442", exp_month: 6, exp_year: 2022, cvc: "314"} }}

Collapsible side menu, with footer

I followed this discussion and downloaded the project which I like and think I can use. However, I would like to add a footer similar to this article: https://docs.wappler.io/t/push-footer-to-bottom-…

Add "Define API Schema" to custom module

Hi, I am building a custom module and I’d like to add the “Define API Schema” button just like Wappler has for API Actions. Do we have any library to include it in custom modules?

Position of Record from database when filtered with a query

Position of Record from database when filtered with a query. I have a database with say 3 records in it. the IDs are 2, 24, 65 - because of the other records deleted. So when i query the database an…

Stupid question on static responsive multi-page site

Ah, I’m an idiot. The pages in the subfolder didn’t have the necessary frameworks involved. I added Bootstrap via the page framework button, and I’m up and running again. Lesson #354 in “how Wappler …

Single user + Bypass permissions to view a page

I’ve looked over the docs for this, but can’t seem to find a way of doing it. The current setup: I have a dynamic page that contains dynamic data (view.php?id=[id]) that a user can submit. The data …

Maintain consistent tab height

@Teodor put me back on track. This had nothing to do with tab clicks, it had to do with the differences in the tab content height. When moving from a “long tab” to a “short tab” the page length would…

Problem using last inserted record for page redirect

Hi Ben, You need to use the dynamic attributes > stripe > success url when using dynamic data

Electron: Dynamic pages with Bootstrap?

Hi, Bit of a noob question here, but I want to achieve this with Bootstrap: https://docs.wappler.io/t/creating-dynamic-pages-in-framework7/25504 Is there a tutorial for the bootstrap version of this…

API, Website and Cordova app all in one project?

I want to develop a project that encompasses a Web API, website and native mobile app. Is this possible in one project? Any advice welcome. Thanks JB

HOw to create an icon for the browser tab

Hi, just thouht I would let you know, it worked, thankyou for your wisdom, again.

Redis cache confusion

I’m getting really lost with Redis and caches in general I’ve looked at a few docs and post but can’t work out some things. how do you refresh/reset the Redis cache for pages (without hard refresh …

Advice on Staging System Setup

Hi Wapplers, I am hoping someone can point me in the right direction. I have a local development docker engine target (NodeJS) running Wappler on my Mac. I have a remote Production docker engine ta…

Server Connect to JS

Ahhh. A server connect action called directly in a flow is not what you want. Use a run action in the flow that calls the server connect that is on your page.

A couple of questions/help needed

I set the dmy-hide (or show) attribute and check if it’s greater than 0 to decide whether to display some information or not: <a class="nav-item nav-link" href="login.php" dmx-hide="userconnect.data.…

Don't upload unused files?

Hi, When building or uploading to a server, a bunch of unused files are uploaded, for example, /dmxConnectLib/stripe/ - even though stripe isn’t being used on the project, and the AWS SDK, which also…

Browser Preview not reflecting Design View

Hello, is this a content page? Does it have a layout page attached to? You can’t just run the content page in your browser, it needs to be loaded through the layout page.

Generic URLs in API Calls

How I can set generic URLs to use in more then one API Calls to change in just one point ?

Get value by Select Max

Stupid me… i’ve flagged “No Auto Load” on server connect properties…

Noob - Dazed and Confused!

Having spent the last ten days on Wappler and having spent lots of hours going through resources available, the key issue I am facing is simply how the IDE is organised and signposted. Confusing namin…

Using and installing Redis with Docker or direct on your server

Success! For others, the install that worked for me on a Centos 8 instance: sudo dnf install redis nano sudo nano /etc/redis.conf (change line "supervised no" to "supervised systemd"; save and exit)…

Multiselect menu - Select All

The problem is actually very simple. But I myself used to come across it very often and could not understand what was the matter. The fact is that if you look at the logic of the script, you can see t…

Javascript modules and App Connect

Hello @patrick We can add client-side java scripts as modules. Modules created with server connect are really useful. I guess it looks like it will be more difficult to create modules for AC with ja…

Adding Preloader to mobile app

Guys, I can’t seem to get the preloader to work on the mobile app. Some advise on this please

Language/Config file?

Hi, Quick question, is it possible to create a config.php/lanauge.php file from which settings/text is then read dynamically? This could be done via a database, but for simplicity sake, I would like …

Route picker in Security Restrict not allowing me to pass query param

The route picker doesn’t seem to work in the security restrict. See video of what happens: 2021.04.22 12.54 - 2124 - Whale I want to add the school parameter to the login URL. I have …

Field starts with point

Hi I want to hide an icon based in dropbox API, that returns a field named ‘.tag’ This is my code but i don’t know how i get field starts with point dmx-hide= ".tag == ‘file’ "

Get Timezone App Connect Custom component via DayJS

Normally I would have included this via a custom formatter and chain it to an empty string dmx.Formatter('string', 'userTimezone', function () { return dayjs.tz.guess() }); ''.getTimezone() But I…

How to filter a database query?

Ok so it’s not really hard to do this. On your page you need a text input and a select: I named them name and category but you can add whatever names you need. Your select needs an option without…

Test Schedule Server Action

Hi, I have created a Server Action inside the schedule section. How do I test it to debug for any issues?

Get last index of the repeated data

Wouldn’t the last index be the count() of records in your repeat? Or perhaps, the count() minus 1?

SPA Dashboard - Vertical Menu

I don’t know how experienced are you with CSS, but to make a column you need the following element: Needs to be styled using: position: fixed; top: 0px; left: 0px; height: 100vh; width: 320px; /* …

How to Restrict Date Selection on Calendar

Continuing the discussion from Getting Started with App Connect Event Calendar: we’re trying to allow dates to be selected between a specific start and end date (dynamically linked) in the calendar c…

Would be possible to create this app with Wappler?

Hey! Apps like Jitsi Meeting(https://meet.jit.si/). You create a room(chat, game, survey, etc) and then you share the code. People with that code can join to that room. Cheers

Hosting cost?

Hey! I am working on web app and mobile. I would like to how much can be the cost of hosting that online. I am checking some hosting pages but I am not sure which one is the correct one. How much you…

Presenting usable error messages to the user

What do you do to present usable/understandable error messages to the user? If, for instance, a user tries to upload an image and it fails, I don’t want to give them a “Error! Internal Server Error” …

Date/Time formatting

Fixed in version 1.5.0

Cordova fails to install for a mobile project

Hi George Following one of the ideas in that thread, i deleted the npm folder and ran the command again, it worked. Back in wappler, I ran a system check again - seems all is well. Thank you, onwar…

Wappler (Front End) & Backendless (Back End)

I wanted to know if anyone has had any success integrating Wappler with Backendless. I am fairly new to web development and I wanted to connect the two services seeing as they both seem like the best …

How to keep on click of button in row from conflicting with row on click

Use the stop modifier for the button in your table to only execute the action the button is expected to trigger. The stop modifier prevents the event from bubbling up the dom.

Data from repeat does not appear

I’m trying to display the data from a repeat on my page I am able to show the visitors and rookies but I am not able to show the past winners In order to show the past winners (among those that have…

Problem with image resize and upload

Hello, i don’t know what i’m doing wrong with this modal form that should resizes an image, loads it and saves the name in db. Nothing happens when I click the button…

Running window.print() in flow

I just tested this and it works correctly: Add this before the closing </body> tag. <script> function w_print() { window.print(); } </script> Then call it in the flow: wo…

Resizing Text Based On Parent Size

Is it possible in Wappler to edit the size of font based on a parent or the paragraphs width below is a image of what im trying to achieve Where Admin is is fine as it fits nicely but the second on…

Query IN operator ERROR

I can’t get the ‘in’ condition to work in a query. I tried it in both PHP and ASP.NET and both are producing errors when I try to open it in a browser. Here is my query: This is the error from an A…

Date Picker value not sending on Apply

I think this is a bug, I have a datepicker set to run a server action database update on Apply but the date value does not show up <dmx-serverconnect id="sc_date_edit" url="api/image-manager/photogra…

Libvips with ImageMagic Support

Getting this error when resizing a .gif image Is there something I can install additional to allow this? Wappler: 3.9.7 Node.js, Digital Ocean Docker

Decode from URL encoded format

Create a file custom.asp with the following content: <script runat="server" language="jscript" charset="UTF-8"> exports.urldecode = function(val) { return unescape(val); } </script> Place …

Attach to email a PDF generated by FPDF script

I’m using FPDF to generate PDFs from data and it’s working perfectly. I now want to send a generated PDF as an attachment in an email. What’s the method for doing this? The PDF is an invoice so I’ve …

How to get filter in repeat from two inputs

Maybe try this then: dmx-bind:repeat="v_orders.data.query.where(`c_surname`, inp_filter_name.value, 'fuzzySearch').where(`oi_status`, select1.value, 'fuzzySearch')" Maybe you don’t need fuzzysearch …

Pass the $index from a repeat to a Modal

I see So just add a variable inside the modal, and on the same onclick event you are opening the modal and setting the record ID to the data detail set a value for this variable inside the modal pic…

How to choose a font

Hi, I don’t mind being accused of brain fade on this one. I am trying to change the font in a paragraph. Where is the font name in properties?

Quiz App - Database Design

Hey! I am working on a new app. I have almost all the DB Design done. I need some help with few points. Docker - MariaDB - NodeJS - Framework 7 In thw quiz will be questions of 2 options and 4 optio…

API from returned data bind to data store

I have created an api form. Send the data to the server connect. All good. I get a response. All good. I try and bind the data to a Data Store but for some reason there is no bind options on the re…

Recreate routes.json

Downloaded a project from online which was no longer stored locally. Wappler does not recognize routing and realized that routes.json is missing. Any ideas on recreating/recovering the routes.json f…

TinyMce error with 4.0

I’m using TinyMce which worked without issue in 3.x . In 4.0 I’m getting this error . localhost should work… So perhaps something in the way the new version is running? Can this be fixed on the …

Preview Crop

Is there any way to give users the option to preview and crop a photo when they upload it? I want all the photos to have a certain aspect ratio, I want to make it easy to crop their photo to the sect…

Docker Remote error

You need indeed to install docker-machine separately as it is no longer included with Docker Desktop. MacOS On the Mac you can simply use homebrew: brew install docker-machine Windows 10: On Window…

How do you setup responsive images for IOS and Android?

I have a client that wants to supply and use many graphics that are preset for IOS and Android. So the images are intended to be supplied like this (and this is for just one image!) > images (folder)…

Browser GOTO stopping two App Flows running on signup page

Hey all, On my sign up page, I have two App Flows that trigger (to send data into Segment.com) on success of form submission (successful sign up). This works fine. But, when I put a redirect with the…

Use checkbox to toggle collapse

I’m trying t use a checkbox to show/hide data (specifically a table in this case) Is there a good tutorial somewhere on the uses of checkboxes and specifically how do I make this work on my page?

How would you most efficiently limit the number of items that can be included in a data store?

Hi all, I’d like to limit the number of items a user can add to a data store to say 20, and when they hit 20 trigger an alert to let them know. I know how I’d do this on the backend with SC, and I a…

Slow array count - how to improve?

Hi all, I have a repeat, and a checkbox for each item in the repeat. I also have a ‘all’ type checkbox, that when checked, checks the remaining checkboxes in the repeat. Adjacent to this, I have the …

MySql8 Quetion: How to change a REF (integer) field value to 'null' with a DB Update Action?

Hi all, I’ve tried a few variations such as NULL, null, ‘’ and blank - but I get the following error: "update connected_appssetoutreach= 'null' whereid = 1 - ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Inco…

Access to files in a non-public folder

I still struggle with the problem of not being able to display images on the page using the access rights set in the security provider. @Teodor has already answered that at the moment the Wappler is …

Can't save name file after upload

No,it doesn’t matter it it’s a modal or not. The expression is wrong on your screenshot. It should just be: {{upload.name}}

Server Connect: File Rename

You will need a form where you can input the filename of your choice. Then, in the rename step, make sure that you add a global variable under $_POST to reflect the form input name attribute, e.g. ‘fi…

How to setup Docker - on existing project

How is your project folder structure setup? Do you have a package.json in your root? Did you just create a new project and choose directly NodeJS and docker? (As you should) Or set them afterwards (…

HTML5 Canvas for creating graphics on the fly and saving as jpg or json

Has anybody implemented HTML5 Canvas with something like http://fabricjs.com/kitchensink into Wappler? The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript Here is a scr…

Mobile Apps: Stay Logged In Until Manually Log Out

I’d like to make my app stay logged in until the user actually logs out. It currently randomly logs people out and they have to log back in which is a pain on mobile. How can I keep the user logged in…

GIT & Wappler Targets - how do they work?

Hey all, So it looks like there is one local GIT, that we can then push to a remote, yet we have multiple targets. Our dev target uses a local DB etc. whereas our prod target uses remote DB’s and di…

Routing Url ID not working

Hello, I need help with routing. I tried for hours to see why one of the page is not working. I couldn’t find the why and how to fix it. Here is the problem: I followed all the available steps for r…

Need Assistance Understanding API

I’m posting this in the general How To tag because I am not sure where it should be placed. If there is a better place for it, please let me know so I can move it. Please bear with me as I explain …

How to Access Server Connect "Unauthorized" Error Message When lastError.Response is [Object, Object]

Thanks for the idea about how to find the answer @sid… So the string you are looking for will be somewhere below the sc_query.lastError.response part of the data… Here is what I needed in my case: …

How is called Data Connection?

DB connection step is no longer required. Just skip that step. And no, its not called query now. Connection was a different step in the past. Now removed. Query is still the same.

Design view of node js layout going blank white

Hi Sid, Not exactly sure how I fixed it but I deleted the project and started again. I have added a BS4 template admin dashboard and carefully removed all extra links that weren’t necessary. I do no…

Remote database with docker

I set up a managed database on digital ocean per Creating Database Connections with the Database Manager How do I keep using wappler’s target options functioning… I want the local development target …

Different Databases Per Target?

For localhost: For the remote:

Asp.net: Error submitting form

Where is your action input located? Can you try to rename that input to an other name.

How to use the date range picker in a dropdown

I have not played around with bootstrap down a lot. Maybe there would be a better solution. That said, you could also think of a better UI since drop down’s purpose is to show selectable options, or …

Dmx-html bind isn't working for summernote - any ideas?

NodeJS project I’ve added a summernote to my page, and I’ve set dmx-html to a field from the DB. This displays correctly on the page elswhere (for testing purposes) but won’t display within the summe…

Hello guys - How to start?

Hello all, I am not a developer but work professionally in the IT environment (ERP) - I find wappler very interesting to implement smaller projects myself or to create prototypes / mockups. (that’s h…

Custom database query no MySQL possible (INNER JOIN)

Hi there, I try to build a custom query using an INNER JOIN. Unfortunately, the custom query builder doesn’t seem to recognize this command, unless I switch to “MySQL” but as soon as I save it, and o…

Returning the number of images uploaded from a file upload or dropzone component

During webinar 5B I was asked how you could return the number of images uploaded within an upload server action. Due to time constraints I deferred the answer and said I would post a reply in the for…

How I do website?

Hey! Until now I was looking everything about web app(Docker, MariaDB, Nodejs). Should I do the same for website? Because when I ulpload website on, for example banahosting. Will recognise the databa…

How to validate api action in Library?

I’m trying to use the validation system inside the library but it’s not triggered. I’ve try using $_GET and $_PARAM inputs with the validation required and pattern. Then with exec the validation is no…

Prod Environment - Connection Timout for Postgres (Connects fine in Wappler, connects fine with pgAdmin)

Hey all, A bit perplexed by this one. I have a second DB connection, which is to Postgres. The Prod Postgres is a carbon copy of our dev version, just larger. Within Wappler on the prod target - I …

Mobile Apps: Display Based on Platform

Wappler does an amazing job at making both Android and iOS at the same time. One drawback is that they are almost too identical. For example I would like to show version number of the app on the app.…

Digital Ocean Connecting Images

The issue was I only had lazy load as a source.

App Connect Bindings in Summernote

Is there a way to include App Connect Bindings into Summernote? I am loading my text as Innerhtml and HTML syntax work, but things like {{var.value}} are ignored. Is there a workaround to make this …

Database design structure for CRM

Indeed, separation is good practice. But some info can be grouped into categories, because they belong to the same type of information. Here is a more accurate suggestion / example: user table (I…

Dynamic Bootstrap Tabs

The fade class should just be applied to the tabs content as: <div class="tab-pane fade" .... it should not be added as a dynamic attribute. So the code (slightly adjusted) should look like: <ul cl…

Can't get dmx.parse to work inside script

This is a matter of timing. The script is running before the var is created. Try putting your script inside of this: $( document ).ready(function() { // your code here }); Another method of d…

Simple list challenge which I cannot figure out

I have a relative simple challenge, which I cannot to figure out. I have Table1 with two columms: id, values Table1 is listed on the page with a repeat: <div id="repeat1" is="dmx-repeat" dmx-bind:r…

Does Wappler own your code?

Hello guys, Could anyone shed light on whether Wappler owns the code that is used by it’s users, us, to construct anything using Wappler? If someone could say that Wappler doesn’t, could that person …

Displaying Navbar Item based on user

Hi Everyone, Currently I am displaying a navbar item based on the user being logged in. This is working perfectly my main issue with this however is that you can see them “jumping” about when the pag…

"glib: Error creating thread: Resource temporarily unavailable\n\nvips2png: unable to write to target target\n",

I switched hosting providers and now in my new host I get this error “glib: Error creating thread: Resource temporarily unavailable\n\nvips2png: unable to write to target target\n”, is there anythin…

Toggle boolean value inside query

Hello, I’m trying to toggle boolean value in database query, not with IF-ELSE logic in Server action. Toggle means if value is true - set to false, and vice versa. So my DB server is PostgreSQL and…

Create Autocomplete from Javascript

Hello Wapplers, I have a form with 1 auto-complete and 2 dropdowns, when the user clicks in “+ Location”, all the red area in the image below should be rendered every time the user clicks on the butt…

Security Concerns with PHP SPA built with Wappler

The route URL looks like: domain.com/myRoute if this page is opened directly without logging in, the Server Connect inside the page has been configured to redirect to login page on error event. Howe…

Mobile Apps: Cordova Barcode Generator

You can probably close this thread. I ended up using an embedded Google font.

Webhook Not Inserting into DB

I’m trying to use webhooks to get some data into my database. But it never gets into my DB. https://webhook.site says this is what is being sent: “envelope”: { “to”: “afc1db9288e596eae297@cloudma…

Rendering pages in NodeJS

Is this design based upon a theme with an included JavaScript file? ie, the theme has functionality included within it that relies upon its own included JavaScript file? We have found in the past so…

Get 'Text Field' value from a Select dropdown - not just the 'Value Field' value

Correct! It is easy to do in JavaScript as per document.getElementById("select1").options[document.getElementById("select1").selectedIndex].text; so it should be easy to add to Wappler.

Working with filesizes

Just out of interest, I was wondering how others display file sizes when doing file listings from folders, so the end user sees the file size in either KB, MB, or GB. I am looking for a more scalable…

Test of $_POST Variable's Existance Fails if Value=0

Actually not a bug – a zero is considered “falsey”. That’s why we can interchange zero’s and false, along with one and true. This should work for you: $_POST.final_instalment_days_before || $_POST.…

Retrieve email

There’s nothing in Wappler, but there are some tools you can use with Wappler to achieve this. You can set up Mailgun to parse email and send the data to a url (this could be an API action in Wappler…

Connecting to new, prod mysql8 db - connection timeout (Workbench connects perfectly)

Hi all, Any guidance on how to debug this? I’ve had no issues in the past - and I was able to connect to a postgres prod db just fine - but when using the mysql as my main db (e.g. what you set on ta…

Stripe Webhook Error: Unable to extract timestamp and signatures from header

The stripe post contains a signature with a timestamp in one of its headers, this is used to validate if the request really comes from stripe and is not someone trying to simulate stripe. So the postm…

Set Cookie with Database Insert Identity

I am trying to set a cookie with the value from a Database Insert Identity. This is what I have I also have Cookie Manager set up I can set a Cookie using 'On Success' using the following, but …

I do not understand how to make a floating sidebar like in bubble

Hey! How can I a do a floating sidebar that never reload. Only the content in the middle. I saw some paint about it but nothing really clear. Cheers

SlideShow three column

I have a one-row page with three cards in three columns, but now I would like to edit with a dynamic slideshow, but I would like to keep the display of three cards with slides one at a time Is there …

How to use the terminal to include cordova plugins

for mobile apps. if i want to use a plugin that is on npm for example. how can i include it in the build?

Airbnb map style

Hey! I would like to do something like airbnb. Cards of the apartments on the left side and the map with location on the right. Is that possible? Cheers

BS5 - If Canvas + Modal open, close Modal closes Canvas at the same time

Wappler Version : 3.9.6 Operating System : Mac Server Model: NodeJS Database Type: MySql Hosting Type: AWS DOCKER Expected behavior What do you think should happen? I have a canvas open, and …

Problem on go to swiper slide from select field

That’s not how you should be doing this. Add a dynamic event to your select menu > data > value changed and select Go To Slide. As a value select the selectedIndex returned by your select menu:

Set filter from other page

You can use URL parameters to pass the value to the other page Session variables can be used for the whole site. I think that in your case, the second option should work best.

I cant get it to change cell color based on value

Well, to be fair its probably me doing something wrong. SO, any of the Wappler geniuses there could point me in the right direction I’d be grateful. I want to change the color of the cell based on th…

Export Templates

Hey! It is possible to export a whole project as a template? It is possible to export only the visual design template? Cheers

Tracking User movements

Does anyone track user movements and if so what do you set up? This is for an internal administration system. From simple recording of when a user logs in through to which pages they visit? which …

Animations - Load data to a HTML table

Hello Everyone, Is possible to add an animation to show data from a SC query rendered to a HTML table? I would like to add animation to show the table data on the right side after user clicks on the…

How to use query editor in custom module?

You can just add all columns you want to filter and add a conditional per column when to activate the filter. So you will have multiple conditional activated filters like this.

How to set up remote staging environment with Traefik & Docker?

Each of your targets must point to a unique docker container/machine. There is no sharing of the machines.

Dmx.parse how to

I am sending data from a frontend flow to a custom JS function: {runJS:{function:‘setinnerHtml’,args:[‘editjamdescription’,’getclass.data.query.jamdescription’]}} and then in the function if run v…

How to convert paged query to custom query

Maybe try putting DESC in the :P2 param itself?

How do I repeat in AC with two types of content inside?

I’m a bit confused. My goal is to show a list of cards, each card is a course. Some courses are owned, some are not: Right now the card you see are all owned courses. I retrieve them with a query …

NodeJS Index Homepage Route

Hi there, When selecing the root / as a route for my home button on my main.ejs page like below: It initally sets the link to a “/” which I would expect to work however upon save it then changes i…

NodeJS: Where to add custom code that requires a package

Welcome to Wappler! We probably need a bit more information like what kind of code you are trying to add? Generally you can access any/all code in Wappler by selecting code view at the top centre of…

Cannot write to action file error

Hello, I have a brand new project where some actions don’t display correctly on the appconnect side and on the server connect, I cannot create API action files. I was able to create a database connec…

Unexpected token, expecting ```(:)``` - Error on parsing E-Mail in Server Action

Yes, the curly brackets are causing the issue. You can do this like: {{'{'+qCheckMessageStatus.ID+'}'}}

Data Detail - possible to change the dynamic source based on a condition?

Hey all, I have a data detail that shows data from a repeat. Some of these repeats will have missing values (on purpose). What I’d like to do - is when a BS5 canvass is opened, check for a value in…

How to open a modal and show table of certain records

I’m new to Wappler and am at a loss here… Setup I have a data table with 250+ chapters. Each record in the table has a two character state abbreviation field, a chapter name field, and several other…

Importing CSV / XML Files

Wasting time is not fun. Especially whenever it’s with an easy task. Often I have to download bank info, and other large data dumps to then import the data to smaller platforms via CSV or XML files. I…

Repeat buttons in group, with non-repeat button after

Ok…like this… <div class="btn-group d-flex"> <button type="button" class="btn btn-outline-info" dmx-on:click="varPlan.setValue(plan_id)" dmx-class:active="varPlan.value == plan_id" dmx-repeat…

Truncate text based on device size?

You can check the viewport width using the browser component and change the truncate value based on it. Example: {{my_value.trunc(5, false, '...')}} becomes {{my_value.trunc(browser1.viewport.width…

Messaging platform

I would like to integrate instant messaging functionality within my Wappler application, do anybody has any experience with this? I don’t want to develop an instant messaging application from scratch,…

Issue with summernote image upload

OK, Teodor, this is crazy but I think i have found the issue. In the header on the working page read components="{dmxNotifications:{},dmxSummernote:{},dmxSummernoteFileUpload:{}}" --> In the non wo…

How to add missing fullcalendar features

Hi i would like to know if it’s possible to add more features to the calendar based on fullcalendar docs. I would like for example to have the hours slots in week and day view, The fullcalendar web…

Prevent default keyboard shortcut?

Use the keypress dynamic event - [Control][KeyE] and add Prevent modifier to prevent the default action in the browser:

CSV import - how to validate/respond with error if incorrect sheet format?

Hey all, I have a few csv file import API’s. Each has a different heading structure, eg. ID | email Or ID | firstname | lastname I’d like to respond with an error if the sheet the user has upload…

Hide/Show nested repeats

and are wrong. First, you did not add dmx-bind: to them as explained in my example. Second - the dynamic part is wrong. Both expressions should be: dmx-bind:data-target="'#accordion1_collapse' …

Stripe webhooks DB Update in test mode

Hi, Can we make DB updates with test webhooks? If so, why can’t we write the person ID in our DB as a test? I do get a response when testing the webhooks on the stripe page: And I see no events…

How to fix RequestTimeTooSkewed S3/DO Spaces error?

Thanks for the reply @George. The reason for the error was clear to me already, but I was looking for a way to change the Docket container’s time to match it with the S3/Spaces time. This appeared to …

Full Calendar in Wappler help

Does anyone know what or how the Rendering option is meant to work in the Event Source. Is there any way to alter the default header from to

How do I assign a property to an image, and create a group?

Although the images are from a previous era, you will be able to find your answer here:

Checkbox Groups and Radio Groups missing events

Just wondering if this is something I am doing wrong or if the events normally attached to checkbox groups and radio groups is missing. The dmx-on:updated="" I am almost certain used to be accessible…

Passing Data into Views Node JS

Hi guys, How to pass data into views in wappler ? Is it possible doing this stuff in wappler? if so how to do it? I keep getting error 500 once I insert the code in server.js Thank you

Blazingfast nodejs install

It does look like the right spot and the naming is similar to But just to make sure, get in touch with the host.

I am trying to setup multiple websites on a single droplet on digital ocean and am having some problems

What I have done so far: I created a new droplet using PHP and docker. Next, I set up traefik per the instructions by @George. This is where I am stuck. What are the steps in wappler to get this set…

Godaddy ftp help

Godaddy’s ftp is annoying as is dns errors everywhere has anyone got this to work with Wappler? Wappler can’t put files in ---- Data connection established —> ALLO 23 <— 200 A L’HUILE —> STOR publ…

Tab Content not shown in Conditional Region

I have a Tab Content within a Conditional Region. All contents are initially closed. The Nav List is outside of the Conditional Region. Now I have the problem, that the Tab Content is not shown on the…

New row in a repeat by group

I have an org chart on our internal web page that displays employees by manager. I would like to start a new row each time the “level” changes (you know so he boss is at the top) What is the best way …

Amazon API connect

I can’t connect to Amazon API service with AuthO2 Help me I have my app and client_id and client_secret

Video background

Well that depends on your layout … in your case: #pop_books { background: rgba(255,255,255,0.4); }

Data Detail

OK, I feel stupid… I was binding my form to the server connect instead of the data detail. We’re all good and it’s working correctly. Sorry for the unnecessary post. Dan

Update image in modal, won't update

@sitestreet here you go: On the action steps make your last step a set Value unq={{TIMESTAMP}} On the action for the form for success, add an update Filename+’?v=’+unq Simple as that. Every time t…

How to install Sentry on the Back-end (NodeJS)

With the upcoming update you can have in your custom route next to exports.handler an exports.before and exports.after where the before is like the handler and comes before the generated routes and th…

How to use design view in content page with layout and custom formatter

I have a layout and content page with this layout. I try to use a custom formatter: function debug(object) { console.log('debug', typeof object, ':', object); return JSON.stringify(object); …

Help with Session Storage Manager on Node.JS - I think I corrupted it

I am having issues with the session storage manager for Node… And I have questions. I am using Node.js on a Mac on version 3.7.1 So here is my issue. I have multiple layout pages, so I added storag…

PHP Realtime data is this possible?

Is it possible to use real time data in php server type or do I need to use node. My only issue is if I have to use node I need to rebuild the site meaning all the actions again etc is there a easy wa…

LightBox - How to display 2 or more images?

Well it’s just a property name. Images using the same group name will be displayed in the same lightbox.

Show PDF Image Prior To Upload

THIS WORKS! Just replace the <object> with <iframe> <iframe dmx-bind:src="sc_file_viewer.data.query_list_files[0].file_path" width="100%" style="height:100%"></iframe>

Will a validate step within a repeat, stop further repeats/loops?

The validate step, when validation event occurs, will stop the server action. If you want to check if the records exist in the database, run a db query, check if it returns a value or not and use a c…

A Quick Leaflet Tutorial

I thought as I have Leaflet working well I would share some code to get people started if you want to use Leaflet in Wappler. Hopefully it will be integrated at some point, but it’s not too complicat…

Show members status

Hello to all; I have a page with a query that shows all members from a specific sales representative, I would like to create 3 buttons, the first one will show the active members, then if you click t…

Query with Random results

You can either: On serverside add a query, add a repeat step and for repeat expression select query>format>randomize>top 5. Then on the clientside create a repeat region out of the repeat step (not…

Object.entries supported in Wappler? - Trying to convert object to array

Hi all, I’ve found a couple of articles that explain how to onvert an object to an array simply. Both suggest something like this: Object.entries(numbers); // [ ['one', 1], ['two', 2] ] and var o…

Postges: 'invalid input syntax for type json' - keep getting this, even when I've validated the JSON is valid

Hi Wappler team. I am getting the above error. I have validated that the JSON i’m trying to insert into a JSONB column is indeed valid, and without error. Any advice what I can look into? UPDATE: L…

Custom Query Builder - possible to use parameters for input values (within JSON)

Hi all, Started working with Custom Queries today. I’d like to know if it’s possible, and if it is the correct syntax to input a parameter into the schema I am inputting into a JSONB column in postg…

Searching for strings containing commas does not work

Hi, My server connect works fine for all search terms that do not contain a comma. I am using “contains” in the condition. I tell myself that it is in connection with the formatting at the level of t…

How to make bar chart filled with data like

The center div will always fill the gap between the other 2. You could place an extra divs absolute positioned inside it. Here a sample with a bit more styling and a line at 50%; <div style="display:…

S3 Upload (AWS) Questions (choosing folder within bucket, and app connect)

The concept of folder is different in S3. You don’t need to create any. They are just a part of the file name. So just specify a path prefix to the key/filename when you store a file, and the folder…

Add Sentry to backend

You should add the error handler after all the other routes. In the server.js place it in the start function, there we also add the 404 and error handler for server connect. Place it just in from of t…

Showing the parameters on page from a query - Browser Referrer

I have a page with a browser referrer… then in the login form i have a hidden field (retuntopage) that contains the referrer code. eg. retuntopage ( the hidden field contains this url as the sting …

Is it possible to only run a condition when you open a Modal on a page?

It’s where all the dynamic events for all the components are located - in the Dynamic Events section.

Need help to store nested json format into database and get the correct output

I’m using leaflet.js and want to store the following json format into database. I’m particularly clueless on how to input the sub object with array into database and later output it into this exact s…

Show an event based on current time

Yes you can trigger time based actions by using the action scheduler component.

Stripe Dynamic Buy Now buttons without shopping cart

Hi Wappler, Our use case is that we present each user with multiple services, which are entirely unique and dynamic. They are not Products in Stripe, and the name/price unique to that user. They are …

I have an OLD site .. still done with wappler 2.4 i think.. I need a temp solution for LIMIT value on a query please

limit is just a number { "table": "blog", "column": "intros", "bool": "or", "operator": "contains", "value": "{{$_…

Calling Server Action From curl - How Do I Specify Username and Password?

I am creating a crontab to execute a GET server action which is protected by a username and password based security provider. The crontab will execute a curl to do this. What curl syntax do I need fo…

SAML and security provider

I need to look at a requirement for a project that requires an integration of SAML with a Wappler app, specifically with the security provider action step. The server-side model is PHP and I am aware …

Stripe integration - in South Africa?

Hi guys. Stripe integration - in South Africa? Now that the Wappler Team has done an amazing job with Stripe… its seems to be the way to go… but … in africa… we can say… eish… Is this supported her…

How do you preview the URL in the doc or post?

Hello, I was working on a chatroom posting, I was wondering if there is a way to preview the URL using Wrappler.

A little help with the mine field of API

I have a supplier who has changed their API and its lets say confusing me some what. for authorisation I have the following: $client = new \GuzzleHttp\Client(); $response = $client->post( ‘https:/…

If I use a setValue step with a restricted schema (say 3 fields) from an API - is this all that should output?

Hi all, I’ve been trying to create two different, reduced schemas from an API output in SC. E.g. API has 15 data points. SetValue1 schema has 5 of these. SetValue2 schema has 2 of these. When set…

How Are You Best To Create an Update *and* Insert Form in Wappler?

Hey everyone… I’ve been grappling with this question for a while, and thought I’d run it by the community for ideas! So let’s say we are working with a contact list. On the left of the screen we lis…

Column Doesn't Exist?

I stumble upon this when I forget that I’m on a staging or production target and I haven’t refreshed the schema.

Using Stripe Connect with Standard accounts

Well the Create Account action has a “type” option but it is a bit at the end of the UI:

Filter a query using a checkbox with a price range as value

Hi, I am trying to filter a query using checkboxes. But unlike Teodor’s tutorial, each checkbox represents a range (of prices in my case). I have a test on the first checkbox, but without success. Th…

How to set session cookie (.sid) as secure?

The only thing that the secure flag does is that the cookie will only be accepted when the site is served over https. It does not make your cookie more secure. The only flag that I would always set wi…

Docker / Hetzner File Manager

Having a nodejs site set up on Docker / Hetzner I must to insert in the server some tables containing images (already associated with the database). I am thinking of copying the folders locally and th…

Two Forms Server Action Logic

So as the user is logged in, on insert store the users id as well together with the insert. Then in the other form you can run an update record server action and as you already have the user id relat…

500 error when trying to use Stripe

This is what I have for the datastore dsCart.data.sum('product_price * quantity * 100')

Send quantity and dynamic succes url to Stripe

Following up on Teodor’s tutorial on Stripe checkout with custom products: How can I send the right quantity to Stripe? I tried to get it through the query, although I am quite sure that doesn’t mak…

Datastore to form array help

This link should be useful. I’ve used this method, but not this one which might be worth looking at too.

Round a number (decimal or integer) to its "perfect" integer

Then it’s simple maths: {{((your_value / 100).round()) * 100}} 1234 becomes 1200 1289 becomes 1300

Summernote plugin - How to?

Hello everyone, Trying to use this Summernote plugin, to clean word/html tags when paste content. I already downloaded the js file, added into my page, but Chrome Dev Tools shows some errors: O…

Any wappler tutorial or info that explains how add an image to a table generator from a database or from a folder

Please don’t link dmxzone videos, they explain how to use DW extensions … We already have this explained in the docs here

Read and Write Boolean Values to Checkboxes

Wow… I’ve just spent forever working out how to do this and reading lots of posts that seemed very confusing for quite a while… So here, while it is fresh in my head, is the bullet point summary of h…

Video component - play from CDN

Happy Easter everyone! I am looking into using the video component within Wappler to play videos from a CDN source. I added the video component and set the source to the CDN path. The video pl…

Urgent Problem with data store

Thats awesome, all the problems are sorted out. I did not realise you had to add the .toNumber when the field was number. All working thanks very much for your help. As normal impeccable support fro…

Login form case sensitive email/username

There are data formatters for to lowercase that you would probably need to use in both the registration process as well as the login process, to make sure they always are lowercase and always work cor…

Majority of modules folders have disappeared from node_modules - should I be concerned?

Launched Wappler this morning, and all of a sudden the majority of node_modules folders have dissappeared. The app still appears to be running fine, and the package.json file appears the same as our o…

Error: ER_HOST_NOT_PRIVILEGED

How do I resolve this error message? I’m out of my home workstation location and will be in this location for another two weeks. I have a direct connection to the MySQL DB. I’ve made the changes neede…

Checking my logic on a api call within a repeat

Hey all, I have a repeat on my page displaying a number of records. This data comes from an external API. I’d like to create a conditional region within the repeat record, with a button. The button …

Spanish date received from API

Hi everyone. I’m having some trouble while trying to insert to a date input element a date obtained from an API. My API retrieves the date in the Spanish format: dd/mm/yyyy and when I use .toDate() f…

Wappler Electron - Removing Default Menu - Coding New Features

There should be a main.js and possibly a call to includes file such as menu.js that contain the menu structure for Electron. Will look something like this: In main.js you may see something like (whi…

Database to array

Then you need to do: <dmx-array id="arr1" dmx-bind:items="serverconnect1.data.query.data.where(`column_name`, 'some value', '==').values(`column_name_to_be_stored`)"></dmx-array>

How to fix array adding comma between each character

Actually you can, but the value expected is an array, not a string. Please check:

How to read a variable inside a custom dmx.Component?

I’ve multiple custom components created via dmx.Component and I wonder if it’s possible to use a variable from this component inside the page: <my-component id="my_component" /> <p>My Component State…

Multiple sortable with dropdown (no "table generator")

That is actually really easy. Create a Paged Query, it will generate the required GET variables for you: limit - the number of records per page sort - the column to sort by dir - the direction A…

Restricting API response data

Hey all, Within SC, I haev an API Action - the API returns a LOT of data. I need this for some SC’s, but not all. One of which, I’ve just gone into the Define Schema and then reduced the response sc…

Set input value from array

Solved: I used flow and created a repeated action where each item was added to a client side array. Then used the join parameter to set the input value separated by ’ - '. Thank you!!

Validation titles appearing in form - don't want them

What if you remove these lines from your code? <link rel="stylesheet" href="/dmxAppConnect/dmxValidator/dmxValidator.css"> <script src="/dmxAppConnect/dmxValidator/dmxValidator.js" defer=""></scrip…

Looking for documentation on processing paged records in a Server Connect action file

I have a large database 300k records, that I need to process the content of. I am looking for documentation on using a paged query within a Server Connect action file. (How do I iterate through the pa…

How to Join fields from two separate databases?

You can now join data sources from different databases:

Is with possible with api

Now you can join two different data sources:

Bootstrap Breakpoint in Wapplers Design View

You can change that in Wappler Design View options:

Send file as binary

Hi. If you are trying to do this on the server side, this custom extension might help:

How to style active nav item?

So you need to target: .navlm.active { color: #fff; } Replace the value of the color with your own.

Offline data entry

This question has kind of been asked a few times with varying answers - I’m just trying to work out the best solution for my particular case… I want to build a system for people to enter data offline…

Disable a button depending on array return value

Ok i checked the link your provided, your approach for this is a bit weird, but if you want to keep your page like that then you need to check if the where formatter actiually returns a value or not, …

How to return records that do not match the list of UID's from a previous query?

What expression are you using in your query3 exactly? Here’s an example that will help you understand how that works. I have a table storing all my products and another table storing 2 ids 2 and 3. …

Populate dropdown with response from server connect

Hi all, I’m creating an admin page which has an App Connect call to a Server Connect DB query and returns data correctly, which I can see in the Chrome debug tools. The data returned is a set of nam…

How can I format UNIX time in milliseconds?

Well, just use the To Date formatter.

Problems inserting records

I am trying to “insert a database record” following the docs on the subject but the UI seems to have changed. On a folder when I try to add a server action, I can only: add a database connection, add …

Recording the correct user's UTC time

Can you try this simple test Create a server API action as per this ensuring that Output is checked in each case Then create a simple page like this. Where the server connect calls the above se…

Best way to return results that are between two specific dates (dynamic, and fixed e.g. this calendar month, last calendar month, this annum)

I have a basic ‘transaction’ type DB, whenever a user actions a certain thing - I input: user_id org_id number (integer) date (datetime). What I’d like to be able to do, is the following: Return…

Uploading files from child to parent domain

Not even sure this is possible, but would be awesome if it was. I need to be able to upload an image into the parent domain from the child domain eg. parent - domain.com.au child - subname.domain.c…

Dealing with 2 repeat data sets

I can’t help with the access issue, but I’ve had issues with the IN operator, especially in custom queries. I have had great success using the ANY operator though (in postgres) and it’s been great…wo…

Trying to loop through an array for multiple database inserts

I am trying to pass an array to a server connect database insert, for some reason I am only getting the first record inserted (the repeat is not looping through the array) The input array was created…

How to show on multiple values

The correct syntax is: dmx-show="selected_details.data.info[0].currentStatus == 2 || selected_details.data.info[0].currentStatus == 3"

Can i add a bookmark to the end of a node route?

I have been tagging bookmarks to named divs for many years So something like mypage.php#bookmarks1 will scroll to a DIV with ID bookmark1 So now to node I have a route say /mypage If i add #bookma…

Error: Incorrect string value: '\xE2\x80\xAF'

@Teodor Think i may have found the issue. This is a fairly old system and although the database is showing UTF8 some of the tables are still set to Latin1 which i guess was a pervious setting. Just …

SQL IN query

I don’t suppose anyone manages to get this working initially. This should help.

Security Question - Chrome returns Data Breach Warning on login

Hey all, So - this is happening on my local environment - so i’m not really concerned about it but would appreciate any advice from anyone on the forum as to what causes this so I can make sure I don…

Variable (or dynamic value) in API URL

ah seems the url is a static value - so you have to enter just the static url there. You can use dynamic urls - by binding the url as dynamic attribute. I see we have missed that from the list of dy…

Stripe: Subscription Renewals

I am planning on setting up our theatre group memberships with Stripe payment. I need auto renewing of memberships/subscription and I need all of them to renew on September 1 regardless of when they …

How to: display the full $_GET in the current page URL on form submit

Hey all, I have a form, when a user presses enter on a typed/chosen selection from a form input I then store that to an array, and so I can display this as tags below the form input. What I’d like t…

How do i insert multiple uploaded files names in one field

Then do it as Ben suggests. Store the product id for each image. It’s never a good idea to store things comma separated, instead of multi rows related to the product id.

Looking for some quick advice

Most of the development I currently do in Wappler is for admin systems with relatively complex forms for surveys and data management. When I started doing this I tried to keep the number of pages to …

How to dynamically open/close popover/tooltip - for product tours

Hi, I’m looking to create a product tour using popovers and tooltips and was wondering how to open and close them without the user having to click/hover/focus on the specific elements. Is there a way …

S3 sign upload component - get name of uploaded files to insert in a db

Hi, I have a S3 Sign upload component (multiple upload). I would like to get all the names of the uploaded files to insert them in a DB. Is that possible ?

Reset tabs within modal to tab 1

You can add the following function to your modal container <div class="modal" id="modal1" is="dmx-bs4-modal" ... : onshown="$('#navTabs1_1_tab').tab('show')" where the navTabs1_1_tab is the ID of t…

How to fire a server connect that is within a repeat group?

HI all, I have a repeat with say 15 rows. Within each row is a server connect API. I’d like to fire the server connect api within each repeat group and assign the uniqu_id of that repeat. I’ve trie…

Listing Files From a Folder seem not working!

I’m on Windows, 3.7.4 Until Lesson “You can see the files, listed on the page:” all was ok even the tags fields choosed are orange ( instead blue?) At the end only Table Header is generated. PS:…

Using Database Views with Case Statements to Vastly Improve App Performance

Well I’ve been able to answer my own question, and the possibility is amazing! Basically you can define a “view” in MySQL with as many aggregates and additional columns as you choose, and that View a…

Display on scroll with fade transition

Show/Hide attributes add css display: none / display: block to the element. The display property can’t be animated. You should create custom classes which animate your element visibility and apply t…

Notifications - making small layout changes

I was asked to make the Notifications a bit more pronounced or obvious, and with a bit more information. I found a very simple way and I thought I would share. This is the end result Larger area B…

Error with MySQL VIEWs

That is a known bug in PHP (not in Wappler) with Mysql versions prior 5.6 That’s why there is a special option about that in the Connection options added some time ago:

Detecting visitor os and browser

Hi @Djibril, Yes this can be done with the browser component. Add the browser component to your app: You can then grab the user agent string: Which shows information like: Hope that helps.

Decrypting data in a MySQL table using a standard query and a BS4 Table

HI all, Please can someone help as I’m chasing my tail. I have created a database table on a MySQL server, two of the data fields contain sensitive information. when posting to the database i can e…

Login Issue

Thanks Ben for your help. I’ve got it back… Chasing my tail was getting me no where, so I just rebuilt the login security scripts. All is working now. Thanks again!

Stripe: Item options

I went through Teodor’s awesome Stripe tutorial. Thanks for that. What I didn’t see and can’t find a way to add options for purchasable items. In my case we would have one product with up to 12 optio…

Missing data ever since upgraded to new versions

Never mind. Your issue is in the first cell: <td class="text-dark"> take out the dmx-text property and it should work. dmx-text is overwriting the button with nothing.

Dynamic JSON APi Queries

Hi Wappler team, So I’m at a complex part of my project we are transferring to Wappler. Right now, we have an API that calls ElasticSearch. ES uses DSL Query language - so we need to send what appea…

Autocomplete using an autocomplete api data source

I’m looking to setup an autocomplete input which has an API data source. The API data source has requires a query parameter that is used to search the remote database and provide results. I’ve teste…

Filter images by class

Hi, You can try to use variables instead of classes. Create a variable varFilter and set its value to say ‘all’ by default and on click of the filter buttons, set value as per the button. Then, con…

Database Manager Problem

I had connection to mysql done and it was working and I was able to use Database Manager to use the database live to add and table or edit or add data. After Updating the wappler to newer version. Th…

Target wise Server Actions Globals?

Would like to configure the Globals inside of Server Actions to be specific to a target - just like we can do with the DB connections. Have tried to change the target and save the Globals for each …

How Do I Fix NaN Problem With dmx-date-picker?

@Teodor found the answer… I had an incorrect character in the format string: ddd d MMM h mm a The single ‘d’ is not supported and should be upper case: ddd D MMM h mm a

Is there a way to get the IP

You can use PHP code as an input value: <input value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" id="text1" name="text1">

Link.js:27 Uncaught TypeError: Cannot read property '0' of null

I’m getting this error which also seems to be causing my paginated table to not work properly (it loses all data on sort or page change) link.js:27 Uncaught TypeError: Cannot read property ‘0’ of nul…

SSI not working as expected

Hi, I’m trying to create a navbar that I can reuse but I’m having issues. I created a file called header.php and moved it to Include file. Then on index.php I add SSI as PHP Include. header.php

Changing my Wappler password

HI, I understand that the Wappler application’s password and the forum password are the same. Where exactly can I change it? This s/b simple, but I can’t find it! Many thanks, Alex

Please Help Me With An Idiot's Guide to Converting UTC to Local Times

I’ve just spend half an hour reading posts about working with Local and UTC times in Wappler and I am just confused. Maybe I’m just being stupid and missing something obvious… The Issue My app is …

Working with a NoSql DB - recommendation?

Hi all, As we work with a large amount of JSON data via api I’m looking into document dB storage as a better way to save and work with this data. I understand Wappler doesn’t support such in dB mana…

Resize in S3 upload action

Hopefully must last plea related to the long saga of getting to grips with Docker/ S3 uploads etc. Thanks to @George for his untiring assistance and patience and to @Emiel for yesterdays assistance wh…

Help with dealing with S3 uploads in a mixed development/production environment

Put the environment variable in the Key field of the S3 Put File properties to include the correct folder in the upload path Ben:

Retrieving SC deleted on local but still on Docker production

Hello, I deleted a server connect script on my local computer. It is still on my docker server (digital Ocean droplet). I checked entering through wappler Web Server Terminal. How can I retrieve i…

Insert user action inside Library not shows when generating bootstrap form for create user

Hi, after long time i’m trying to create a user create action in new wappler version, 3.8.3, im bit of confused how the Library action works like, when i want to insert record into database or retriev…

dmxValidator-error <span>

The validation has to come from somewhere. Either App Connect or Server action. You may not have set it there in the server action yourself.

How Can I Deselect a Checkbox on-click?

To check a checkbox: dmx-on:click="checkbox.select(true)" To uncheck a checkbox: dmx-on:click="checkbox.select(false)"

Checkbox.select() Only Seems to Do Half The Job

I want to be able to set the value of a checkbox when the text “Click Me” is clicked elsewhere in my design. That checkbox controls the visibility of some other text “Some text”. This works okay in t…

(var1.value == (1 || 2)) I'd like this to show this page element when var1's value is 1 or 2 what is wrong with this code?

It works for me if i do it like this (ignore the modal) <p dmx-show="modal1.var1.value == 1 || modal1.var1.value == 2">Modal body text goes here.</p>

Challenge: How to store multiple nested arrays (JSON data from API) on the Front End / App Connect?

Hey all, We work with a lot of JSON data, from a huge dataset. To speed up some additional data enrichment, I’m using a server connect within each repeat row. This works well, the challenge I have no…

How to set up multiple websites using a single mySQL database with Docker

I am developing multiple websites pointing to a common database. How would I accomplish this using DockerOcean hosting? Would I create a droplet for each site and another for the database? The thing …

From Server Connect DB Query to Array

Hi, I have a form in which the user insert tags as per @Teodor tutorial: The tags are inserted into an input form and sent to the Server Connect. on the second page, where the query is made, th…

Placeholder does not show wtih autocomplete

This seems to be a bug. It only happens when the placeholder is added dynamically. When you just add a static placeholder attribute it should work, but it seems that option is missing in the Wappler U…

"Set Value" as Text changes value to number

Hello, I don’t know if I’m doing something wrong. On Server actions, when using “Set Value”, saving a string of numbers and selecting Data Type as text ignores the setting and saves it as Number. I d…

Calendar events create a default event click

Hi I have a problem with calendar event click. I have a spa project. When I insert the calendar component and the calendar source, wappler add automatically an hidden event click. This means th…

All the questions about docker you wanted to ask but felt stupid asking

I did warn you yesterday @George, so here they are! Let’s call it “All the questions about docker you wanted to ask but felt stupid asking” , or let’s just call this “the idiots guide to docker depl…

After uploading csv list how to create db record only if the email does not exist

The validation step is not suitable here. What you need is a database query inside the repeat, filter it by the email returned by the repeat. Then add a condition after the query - if the query retu…

Questions On Json

So what I’m wanting to do Is create a system that stores usernames roles and what these roles can do most likely in json and save this to a database or is it better to save it to a file? how would I g…

Button on mouse click inside of Server Connect Variable

Hi, I am doing a chat where it is possible to upload a file too. On clicking the “Upload File” button, a modal is opened with S3 Upload component and upload the file. Once the file is uploaded, the…

Use $_SERVER.LOGON_USER to set a session value?

On my IIS internal site I would like to use the $_SERVER.LOGON_USER value to set a session or permissions for the site so users don’t need to log on separately. What is my best option for having tha…

How to see if data store exists

I need to see if it exist in a flow. I have tried every trick I can think of: { condition: { if: "{{localStorage.getItem('datastore_datastoreusers') != null}}", // if: "{{datastoreusers}}", // …

Mobile Apps: FW7 Login Screen and Other Pages

I have nearly completed my mobile app using Bootstrap and it works great. But I’d feel more comfortable of it getting approved on the App Stores if it was in FW7. So I spent the last three days going …

How can i connect to the sensors of mobile phone using wappler?

How can i connect to the sensors of mobile phone using wappler?

Reload datadetail on Modal close

At it appears I have to add nothing to get the updated information. The modal form on succes is now: Notifies1/succes and mdlarrangedit.hide The modal itself is now: OnHide: frmedit.reset and arrang…

Show/hide button UP to scroll the area using AppConnect

How can I use AC to track the scroll event of a page element, rather than the entire page? There is an element inside which there is text. The element has fixed dimensions. The text will scroll direc…

How to make form that will create new record in external base (Airtable) via API

Hello! Discovering Wappler for myself and seems like it is fantastic app! But today I stuck with one problem and need help. I can’t figure out, how to make simple form that will create new record in…

Performance Optimising Your Wappler App - THE DEFINITIVE THREAD

Okay everyone… No more posts from pizza and pineapple pirates… Let’s start a serious discussion on how to optimise your Wappler App for Performance. I think the issues @UKRiggers posted about thi…

Best approach to make a chat now with socket.io?

Hi @updates Please check the following tutorial: it explains how to build a simple chat app, you can extend it as per your needs.

Error adding MySQL to NodeJS project with Docker on Mac M1 with Apple Silicon ARM processor

Please choose to use MariaDB MySQL doesn’t have ARM images of their database yet. So it won’t work on on your brand new Mac M1 with Apple Silicon M1 as Arm chip Maria DB is much further in developme…

Node Layouts - can't follow tutorial due to interface differences

The layout has changed, these were no blocks, these were just icons for the pages which we eventually removed, after users feedback. So it is just the dialog has been restyled. This (view compone…

How do you display repeating table records based on a drop down selection?

Create a $_GET variable for your second server action and use it to filter by project list id in the query builder. Then on the page bind your select value to this get variable for the server action.…

Uploading Single File

I got it working. On Input Properties, the Form was pointing to the wrong ID name. I had changed the form ID name to something intuitive and did not re-import it into the Input Properties.

Manipulating Rest API data with multiple timezones for one country

In the data source, you need to use a where filter with the binding. Once a country is selected, it will automatically filter the data and show just the limited timezones in select component. countr…

Set color to a gradient in theme manager / alternative way?

Then it’s better to use a separate class for this, or just override the .btn-primary { } class in your custom css.

Working with the output from a Server Connect when used with a serverconnectform

I have a form which posts to an SC API script to import a CSV file. Everything is working perfectly. I’ve put in some error checking and if the data fails then I insert it into a different table. I’ve…

Receive Jason Data back to Wappler From MS Power Automate

Hi Guys im sending Jason Request to Microsoft PowerAutomate (AKA Flow) with jason data to trigger the Flow. then it will search in Sharepoint folder and look for the file (file name is send by th…

Docker issue, deploy to remote DO droplet

You have to remove ge port 80 from the target settings as traefik runs on it and takes care of the rest. It is explained in the last step of:

I'm still having this weird include behaviour

It seems related to dynamic click on the button I can use href in this situation which I really should have been doing anyway after changing to href it appears to be working as intended originally I w…

Accessing desired dynamic URL after mandatory login - Best Practice with $_SESSION / $_SERVER inputs

I got the result I wanted with the Session Storage Manager but it seems this method is not best practice / optimal versus handles like HTTP_REFERER or SCRIPT_URI Here is how I did it for our readers. …

Node / Apache / Sockets custom hosting

Here’s a working setup for a Node server using a proxy with Apache that supports socket.io calls on Centos 8 custom hosting. As long as you are using a recent installation, all the apache modules nee…

Image overlay too wide

I have an image with a column as overlay. CSS for the overlay column is: position: absolute; bottom: 15px; background-color:#658cc1; margin-left: 0px; margin-right: 0px; But the overlay …

Mobile response not showing

I have created a new page within my site. The page functions and works great on a computer browser but on a phone the pages come up blank as if the container is set to hide on mobile screens. It is no…

Php Include navigation

So I basically have a system where there’s a table of pages which have specific ids when clicked you are sent to a new page and the id added to the url. On this page I have a navigation that needs to …

Git Ignore

Hello Guys! What files, folders and extension do you have in your GitIgnore file? Best!

Custom Script

I implement this solution in the Wappler project: https://jsfiddle.net/68y2b53w/5/ My implementation looks like this: For some reason, when calling the function in the script, there is a problem w…

Custom query unexpected token

I didn’t know it but one of my pages quit working despite no changes. As near as I can tell a custom query is causing the issue with this error. PASS Standings (pasprintseries.com)

Add link to server validation message

Hello guys, I have a server validation to check if the e-mail is already on my database. My client ask to add a link to “Forgot password” in the “e-mail already registed” message, in case e-mail is o…

Problem with SC API triggering incorrect response step - and therefore failing

Thanks Patrick. I found the problem. I wasn’t repeating anything - at least not intentionally. This SA file was created when it was necessary to use a repeat, even for a single result, and there was n…

How to repeat with a dual expression?

I have to fetch data from two separate queries within the same API action. Is there a trick to have both queries taken into account in my repeat expression? This && condition below does not work.

Do The Colours of Variables Mean Something?

I’ve never really noticed this before, but sometimes the colours of variables that Wappler shows are different… see the example below with the blue variable in between the orange ones. Does the diffe…

Clear a modal Form on cancel or close selection

You can use a dynamic event for ‘hide’ or ‘hidden’ on the modal to clear a form, run a flow, change a value etc. You could flip it around and have the form reset on modal ‘show’

Api endpoint validation

I am trying to build my APIs in a more traditional manner. I pass the HTTP verb as a variable and keep all operations in the same API action. I would like to use Wapplers built in validation, but on …

Swiper Help Or Swipe Left / Right Help

I think you are not understanding what the swiper in Wappler does. Swiper is a confusing name for it. The Swiper in Wappler is more for rotating content such as images, cards etc. It’s not for swipin…

Data detail from full calendar event click

First of all apologies. I feel that I am posting questions almost every day which must be tiresome for all. So I have my full calendar with bookings and on click, I want to go to a detail page. I us…

Dynamic variable into javascript variable

I am trying to put a dynamic variable using dmx.parse into a javascript function. The value is a date. I know that ‘-’ and ‘/’ are a problem in javascript so it needs to be in a string. But even dyn…

Checkbox selection with the label

You should not be naming your checkboxes like that. Use the same name for your checkboxes, followed by [] so name="inputCheckbox[]" For checkbox id use dmx-bind:id="'checkbox' + $index" For the f…

Mobile Apps: Run on Connected Device

You should be able to enable developer options on your device Brad (this needs to be enabled on the device in settings). This will allow you to run your app. I have covered certificates here on the …

Mobile Apps: Gradle For Dummies

Duh … just installed the updated CML from the apple site like in the error instructions. I can now add Android platform but builds fail

Cannot apply margin or padding for Modal elements

Hello there - I’ve created a modal for a contact form, and I can’t seem to get any margin or padding applied to the individual elements (such as: Text Input, where I have 4 of those in a row for name,…

Discord / reddit style menu

Here you have some bootstrap examples.

How to store s3 keys in database

After days of trials and errors. i found an easy way to insert s3 files into data base…i tried the folder mapping method,i can’t seem to get it to work as i am not much of a technical person here is…

Scrolling Text

Is there an easy way to created scrolling text that scrolls from top to bottom and the speed of the scroll is controlled by the user of the app? So in other words the user enters some text and presse…

PHP Include in swiper isn't working

Thanks for the reply I found the issue it was in my include there was a duplicated id that wasn’t showing up till I refreshed a few times not sure why but many thanks

MSSQL: Timeout issue with Database Connection in Manager - can the DB connection be deleted if not required

No you can’t delete the database connect in the database manager is it is bound to the server connect one. If you are not using direct connection, then just don’t enter the direct connection dialog… …

Problem with DMX Date Picker Changed & Apply Dynamic Events

Wappler v3.8.1 Win 10 Pro Dynamic Evens of changed and apply on dmx-date-picker are not working as expected. Our setup included only one of those being used at a time - both has problems, hence repo…

Question about content pages

Hello, Why do these two content pages have different page properties. I don’t get it…

How to create a NEW PROJECT from exisiting website?

Hello, You can just drag and drop your DW site definition .ste file over the projects dialog and all the settings and files will be loaded into a new Wappler project:

NodeJS problems when refusing to update modules

If you refuse to update the nodejs modules in the Wappler (the message appears only once): The nodejs module controls disappear from the Wappler interface and the project has a problem with the loc…

How to use the new database connection methods

You just create one connection, in server connect globals database connections and give it your localhost credentials as this will be used on your web server. It will auto create also a direct connec…

All tables in DB Manager are disabled since 3.8

Database editing is allowed only on local development targets. So you probably have a remote target selected. This was implemented as improvement in the last update indeed. To prevent making database…

Cross domain Security Provider - Login/Register

Hey all. I have a subdomain (the main app where users login/register) and a public facing project on the main domain. So www.maindomain.com and app.maindomain.com. Both are on a different project w…

Bind s3 image

Thanks for your responses, i have been to display all the list of images I used the s3 list files I used a repeat with expression - listfiles.content(array) In the repeat steps, i added a sign downl…

Open modal on button click where modal is in a linked partial

My structure is: I have a layout which is little more than a menu at this stage (appsecure.ejs) I then have a view based on that layout (review.ejs) Within that view i have a partial linked (s…

Summernote: How Can I Remove File Upload Option From Image Insert Window?

I don’t want anything in my GUI which confuses my users by offering options that don’t work. When they insert an image into a summernote textarea, I only want them to be able to paste an image URL, a…

Help with converting time

You can convert seconds to hours : minutes :seconds and if my math skills are good enough you should get these using: {{((TimeIn.secondsUntil(TimeOutLunch) / 3600) % 24).floor()}} : {{((TimeIn.second…

How to create a collapse effect for table cells (guide)

I wanted to share a technique i use to show/hide a large body of text in a repeated table cell. Initially the cell shows only the first 300 characters then On Click it expands and shows all. Then cl…

Novice Session/Cookie - how to use display conditions based on if a user has a logged in session (App Connect)

Hey all, New to incorporating anything to do with sessions on the AC side. I have two wappler projects that are part of the same overall platform. The secure, logged in environment sits on a subdomai…

Validate a number input so it equals sum of two other number inputs

Add a fourth input, set this to hidden, and set the value of this field to input2 + input3. You can then use the data-rule-equalto attribute on input 1 to match the sum of inputs 2 + 3 (which will ma…

Help calculating time until

Hi please could one of you whizz kids help me out I have 4 fields in my database all logging time time1, time2, time3, time4 I can get the number of hours and mins between time1 and time4 and also…

Array in server connect API vs App Connect

You should use 3 double {, like this: {{{ "current_USED_gte": 1 }}} This is because the first two indicate expression to be evaluated and then the expression is an object with {} so it gets evaluat…

Server Connect output to an array

It was a simple one: <dmx-array id="myArray" dmx-bind:items="serverconnect.data.query1.values('Answer')"></dmx-array>

Using remote target

Previously I would always use my remote target when working with my sites. I literally never set up a staging, development or production target. I open my project with local files and picked the remot…

Repeat Server Action Conditions And Sort

Just wondering what is the most effective way to run this server action, in short the main query repeat_rows pulls a list of content in a db lets say it pulls 100 records for this page. Now when th…

Dmx-bind:value on a Summernote Area Sometimes Renders A Blank Editor Window

I seem to have found a solution! When the server connect completes, I was resetting both the form and the summernote: f_message_template.reset();f_message_template.i_message_content_email.reset() I…

How Do I Set A Default Value for a Radio Group?

Screen Recording 2021-02-20 at 22.44.38 Not the best demo of what I meant but this might help you (as I said still learning myself nut I hope this helps)

How to Google Tag Manager to site

Hey everyone, I’ve looked through the forum and haven’t see a definitive “How to add Google Tag Manager(/other) tags to your app” topic. Are there best practices? I’m currently considering adding to…

Database Save - what does it do

Hey Brian, Maybe check this article:

Pass a database query parameter as a function casted parameter

So I know you can pass query parameters as function parameter: This: CREATE FUNCTION add_one (integer) RETURNS INTEGER AS ' BEGIN RETURN $1 + 1; END; ' LANGUAGE 'plpgsql'; Will retu…

Error using this Database Connection! Server Response : SQLSTATE[HY000] No such file or directory

@George I was able to fix this issue. Somehow my Global Database Connections db file got corrupted. I deleted the file, then went into the corresponding Project Settings target, clicked to show DB p…

Layout templates?

I am using a lot of similar elements across different pages. For example I have a dynamic collapse element that I use throughout my pages which includes a short explanation about a particular subject. …

Fetch Schema

Hello Guys, I’m using an Australian API, to find business’s entity name using “ABN number”. When I fetch the schema on the Server Connect, I have this: When I remove the word “Callback” and the p…

Bootstrap Tabs: How to close a tab from a button within a tab-content pane? Need help from the CSS Pros

Give the button a class of close or similar and add the following script: $(“button.close”).click(function(){ $(“ul li a”).removeClass(“active”); $(".tab-content div").removeClass(“active”); }); …

Copying a project?

Do you mean duplicating a project? You can copy the folder contents of the project on your local drive, rename, and then open the duplicated project folder in Wappler, just click the open existing fol…

Redirects inside of a flow?

Hello everyone, I have a form where the “submit” button calls a flow (this button, I changed its type for “default”). Inside the flow, I query the database and based on this query’s result, I set va…

File Download

Hello to all, I am following a tutoria for listing the files in the server. after the file’s are shown in the table, can I do something in order to download it from the table. If I use file download I…

How can I create password protected ZIP file

Change line 90 and 115 ZipArchive::EM_AES_256 to \ZipArchive::EM_AES_256.

Sunday Teaser - Changing col size depending on variable value

this seems to do what i wanted <div style="background-color:red;color:white;" dmx-style:width="(var1.value * 20) + '%'))">{{var1.value}}</div> <div style="background-color:g…

Recording Variables to be available project-wide on all pages

I’d like to set up a variable during login, that will be available to all files afterward. As an example, I’d like after the Security Login has been validated, to keep the Firstname and Role of the v…

Delete a GET variable + 'Array to string conversion' issues + fixes

For future readers, I think I’ve fixed my “Array to string conversion” issue: First, I’ve reverted back to an array $GET.filter (my filter can have one keyword or several). Then, I used in instead o…

Autocomplete Woes!

I have an input that Chrome keeps on auto-completing with my email address… and it is a field for mobile phone! I’ve set autocomplete="off" but that seems to make no difference… do you have any ideas…

Database Manager doesn't connect to the database MySQL 8

well I see you have entered localhost - that means you own computer. So just enter the remove ip address or hostname of your MySQL server.

How do I put a data binding where a string is expected?

You can convert any html attribute to dynamic data by adding the prefix: dmx-bind: So you will have: <div id="video1" dmx-bind:data-vimeo-id="get_lecture_video.data.get_lecture_video[0].lecture_vim…

Container restarting: Postgres + Docker + Digital Ocean

From what I see in the logging above you have enabled the logging option for your database? Maybe disable that and redeploy

$_GET value not updating in Modal but query.variable does

Ok hopefully I can explain this clearly. I have a search icon above some inputs that when clicked sets the value of a query manager param: qm_1.set(‘target_input’,’<?php echo $input_name; ?>’); (so…

Any Way to Stop Summernote Creating <br> AND <p> Tags?

Okay, so removing <p></p> didn’t work, as Summernote doesn’t create enough <br> to make the right number of new lines. BUT… what works like a dream is this: .replace('<p>', '<p style="margin:0">') …

Forms: Prevent Autofill

Depends on the browser but you should be able to use the autocomplete attribute: autocomplete="off" Note this isn’t a foolproof solution. Previous versions of chrome required autocomplete="chrome-of…

Unique value per id not whole table

I have a form to save contacts and each contact can have multiple contact info for instance, a primary and then mailing, other etc. I want to set up a server side validation so that if more than one …

Logout Button Logging out, but not redirecting

The error i see, returned by your server is: message: “strtotime(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_ti…

Help getting Server Response to work

No, it’s not a bug. The response is not a valid JSON and that is the problem. If you want to use it with a server connect component then it should return valid json, try to return true , null or …

Datepicker - format L giving unexpected result

Test in your browser console the following and tell what it returns: moment().format('L') moment.locale() Also check if you included Moment with locales.

Reload layout on internal link if layout changes

I don’t think this will be easy to implement, the server get a lot of requests and doesn’t know what main template the client currently has open, it just gets a request to load a partial page and retu…

Response Actions not triggering Dynamic Events

In example bellow, Outputting a Response 200 in a Condition does NOT trigger a On Success Dynamic Event. However, if i disable that, and put a Comment instead, then it does trigger the success event…

How to display an array of data (From Session Storage) inside a unique repeat?

You can define the server connect inside the repeat. That way, when you load it, it will not override the previous object. Each row in the repeat will have its own instance of the SC.

One Bootstrap table to rule them all

I see a lot of people asking about the bootstrap table generator because they create a lot of tables. If you are just outputting a query to a table you can use the following html code that will make …

How Can I Use .where() Client Side in a Fuzzy/Conditional Kind of Way?

On the client side, I want to use a repeat on a list of contacts coming from a datastore and a .where() something like this: contacts.data.where(`is_a_demo`, show_demo_data.value, "fuzzy_function") W…

Missing certificate files to publish to live docker on digitalocean

I’ve pulled my project on another machine by using the github integration. The targets are also set up properly on the second machine. But I’m missing certificate files to be able to deploy to the l…

How to Create Unread Message Notifications for an App

Hey @webmaster, I would definitely create a new specific table for notifications, here is how I would do that, with for example these rows: ID Title Description Date Recipients Read_by So every ti…

Letters Only Validation doesn't work for Greek Language

Perhaps something like this would work:

Dynamic anchor image link not working

Any attribute like href, src etc. which requires dynamic data should be added through the dynamic attributes menu.

PDF create api catch and save file using server connect

api2pdf returns json when the Accept headers are set to application/json. It then returns in a format like: { "pdf": "https://link-to-your-pdf", "mbIn": 0.06463, "mbOut": 0.73327, "cost": 0.0…

How Can I Use Something Like .where() as an OR Function?

On the client side, I have a keyed array of messages read from a database with fields like this: id topic message ========================= 11 1 Welcome 12 2 Payment 13 3 …

401 loading server connect

I’m getting an error loading a server connect of 401 however all of the data loads on the page. In developer tools it shows a first copy with status “cancelled” then the second time it loads ok 200.

What is the Expected Behaviour of Date Validation?

It’s validation day! So I have a date input that I have set a “Date” validation on… but if the field is left empty then the validation does not trigger. I seem to also need a “Required” validation r…

How to set a count variable and increment that count in a repeat in Server Connect

Ah just looking back at that image in a different page has given me the clue! I needed to set the global name to count! Not sure if you want me to delete this or keep it it just incase anyone else …

How Can I Change Checkbox "Was Validated" Behaviour?

I have a form I’m using Validation on. It has a slider checkbox which changes colour if validation has happened, even though that checkbox has no validation on it. What is the easiest way to stop thi…

Can I Create Conditional Validation Rules?

Yes, you can do this. For example to make a text input required when a checkbox is clicked it will look like: <input id="text1" name="text1" type="text" class="form-control" dmx-bind:required="myche…

Capitalisation - How to Change Just the First Letter of a String/Sentence/Paragraph to Capitals

Additionally, if it’s just for the presentation and you don’t care how it’s stored you can use CSS. This will save you from having to do the transform all over your app if you need it more than once. …

Opening existing projects

So, the ASPX project was an easy fix for this config.server error I literally just opened each database connection in Server connect and hit test, then save to each connection and the error went away…

Sms api help

How would i go about implementing this: From what is see they want an XML post. which i assume is a TEXT Data type in the API Server Action. But how do i generate the loop of phone numbers as t…

Custom query has problems using @variables

This is not supported in Wappler custom query. Probably use a stored procedure for this.

Which SC steps for multi updates in a single column for single user (screenshots)?

How are you even storing these values in the database? Aren’t they stored in a separate table, with an unique id for each record? The update record needs that unique id, not some value which is the s…

How to get repeat with comma using repeat formatter

Try this: .repeat(3).split('').join(',')

What is the best way to do this - multiple forms on the same page updating the same record?

Hi I have a simple issue which I am sure is only difficult because of my knowledge gap! Looking for some advice on best method of doing the following: Background: I have a node content page with mu…

Set date based on user tImezone

Did not yet work on it but a client asked to pick timezone before setting a day. The idea is that user picks his timezone and then when making an update, the date field is updated based on his timezon…

Can not logout

Remove the dmxConnectLib folder locally and resave your server action. Then upload the newly generated dmxConnectLib folder to your server and test again.

How to sort on SUM Alias

Hello, I have a query that includes a SUM aggregate alias. Normally i would use a custom query but did it with the normal query manager. How do i go about sorting on that alias now? I tried putting…

Reverse repeat

How are you planning to implement the the loading of older records, is it getting the just a larger recordset or do you use some custom code to join the new records with the already loaded records? W…

S3 Multi Upload Inser Database

Hi, There is a way to insert the names of files uploaded with S3 Multi Upload on a database? I made a system where clients upload files with Single S3 Upload component and Name of file and location …

Can't connect to remote directory ftp with node project

Hi I created a node project and i setup a remote target, but when i test the connection, it fails. When I provide the same informations with filezilla it works. This is the message Can someone he…

How to get URL of current page in NodeJS

While <body is="dmx-app" id="test"> <dmx-serverconnect id="serverconnect1" url="api/test" site="mpc-node"></dmx-serverconnect> <p>AC DATA: {{serverconnect1.data.test1}}</p> <p>SC DATA: <%=_('$_…

Change Primary Button Text Color via Theme Manager

Bootstrap calculates automatically black/white color according to the primary color (if it is dark or light). This is controlled by a variable called $yiq-contrasted-threshold You can add it in the a…

Clear/reset a dmx.app.data.serverconnect

This was implemented in Wappler 3.7.6

Can you generate swiper slides dynamically from a folder of images

Hello Rick, Please check the following tutorial explaining how to get the contents of a folder on your page: It’s the same for dynamic swiper, just skip the part where this toturial shows how to…

Is it possible that server actions selector jump to server connect

Could you tell me how to jump from server actions selector list to server panel (Alt-S page)? After I selected the server action from server action list, I would like edit the action file. When click…

Is it possible to use variable.value to setValue() on:click action

I think I get you. You are describing pointers. App Connect is a js library and js doesn’t admit variables referencing other variables. In JS only Objects and Arrays can be assigned by reference.

Set input value based on dynamic input name saved in variable

I have a need for something more complex than a regular autocomplete can do and below is what I have that works. Hopefully someone can help me figure out how to make it more dynamic so I don’t have …

How to customize error page in Node.js?

Add a route matching * as the last item in the route manager and design the page you want for 404s

Deleted server actions are used instead of current server action

All my server actions are refusing to work, i checked chrome dev tools to look for errors… I see that previously deleted server actions are being used instead of current one… I see error 404 , sometim…

Server connect actions stopped working for me

i have been trying make a server connect …i have been seeing error 404,sometimes error 500 when i try insert query wappler version - 3.7.6 when i try to use form also , its not working

Can I Convert An Existing Normal Server Action to a Library Action?

Thank you for creating Library Actions… I am just investigating them now and they are exactly what I need for some parts of my project! I have a complex server action with 150 lines of actions which …

Form reset in repeat

dmx-on:success=“conditional2.database_viewer_dropdown_add_new_collapse.add_database_viewer_values.reset()” The above is code what was generated when I selected it under form success, database_viewer…

Is it normal to have NODE_ENV: 'development' even though I've set the target to Production?

Ok here we go. I use the same folder for local and target. Both are set to Production. I consistently get NODE_ENV returns ‘development’ as value. Is this normal?

Toasts Icon

Hi, the icon requires an image file as it’s using an img tag. However, you can leave the icon option empty, and add your font awesome icon code in the Title field, just before the title text: Whic…

How to use conditional region?

help! i can’t seem to figure out how to use conditional region…i know how to make element conditional region. but i dont know to use it … an example or a scenario would would be appreciated

How to use Anchor image in Masonry

Well there is a reason why you can’t do that using the UI and you see the result on your page. If you want to do this you need to make sure the anchor elements are block elements (not inline) and al…

Strange behavious with length() function

Thanks @patrick, tracked down the issue. dmxFormatter.js was included in the parent layout page but the directive in the content page directive “components=”{dmxFormatter:{}}" was missing. Resaved a…

Genealogy

Hello to all, This is a big question. there a way in wappler to make a genealogy based in ID number. For example to show the members related to ID 11 and them show the members of theses members relat…

Date Picker User Interface - Time Selector

I have a situation where only the time of day is needed to be seen in the input field. Is it possible to show only the time selector on the Datepicker?

Text overlay on image

Also you can check here how to overlay text on images. It’s the same for Swiper slides:

Is it possible to increment a value in MySql field without first having to query the original value?

There is no way you know what the value you are updating with the database updater is, without querying the table first. And you need to know it in order to add +1 to it. As Tom explains, you can do …

Nested repeat repeats same info over and over

It seems you picked wrong expression for the nested repeat in the data picker. This: <div dmx-repeat:repeat2="scchalets.data.repeat[0].qryimages"> should be <div dmx-repeat:repeat2="qryimages">

Summernote right - center - left

They are there by default Or do you mean anything else?

Support for async formatters for Nodejs

Wappler currently doesn’t provide hashing mechanisms for nodejs. Since I believe there’s no support for async formatters, you will have to run your argon/bcrypt and what have you synchronously. Unles…

Best Practice for Security Provider of a Booking Form

I’m working on the security provider part of a booking form. So there is no user email and password input as in a typical login process. I’m wondering what is the best practice of how to handle this …

Can't get Switch in repeat region to work

You can make ANY attribute dynamic by adding dmx-bind: to it. dmx-bind:id="'input' + player_id" dmx-bind:for="'input' + player_id"

How to setup S3 for development target?

I use the same bucket for my 3 environments(although I might change this in a future). Ideally you would use an environment variable with the values dev, qa and prd or whatever feels right for you. I…

Wappler/Bootstrap element incompatibility with Safari

The date input has nothing to do with any of our components… It’s a standard HTML5 date input type and it does not work in safari as you expect as safari does not support them: https://caniuse.com/inp…

How would you open a specific tab (e.g. default to tab1) on event, e.g. on:click or on SC data success?

You can make use of static click event on the clickable items in table on the left. This should help:

Help with API to DB Import

I have a Server API Action that queries an API end point which contains around 7000 records. I can use a count condition to get say ‘50’ records and another condition to GET page 1. I then have a rep…

Move some SC input variables to globals

Shouldn’t these be part of globals? Set once and forget?

Any conditional syntax for the width/height resize properties?

Do a conditional step after the load image. When image width is bigger than the height, then resize the width else resize the height. It will keep aspect ratio and it will not resize (upscale) if it w…

NodeJS SPA with Title option for internal links

I asked the same somewhere. The solution I received from Wappler team is to use title attribute in the tag. <a href="/news" title="Some News Title">News</a> OR, bind it dynamically: <a href="/news…

Using the IN clause with CUSTOM PostgreSQL query? Is it possible?

Hi All, I need to use the IN clause in a CUSTOM query and am using PostgreSQL. I’ve gone through the forum and found some old threads from 2019 But these show that it wasn’t possible and Ken had …

Changing a button text based on a variable value

If by this you mean the value is not equal to 5, then use: email_type.value != 5 ? 'Save' : 'Other Value'

Are '' apostrophes really needed in notifications?

They are no longer needed anywhere in the UI. Wappler adds singles quotes automatically and you don’t need to add them anymore. The tutorial was created with an older version.

Missing Routing panel content

Thought i would put this out as a how to as I am assuming it is a install fault rather than a bug but i may be wrong. Any suggestions before i reinstall lost routing panel

Can an AC repeat source expression be changed dynamically?

Yes, that is possible. A simple example: dmx-bind:repeat="var1.value == 1 ? 10 : 5" So if var1 value is 1, the repeat will repeat its items 10 times, otherwise 5.

How do you apply style when state is executing?

The easiest way to do this would be to create a CSS class like: .not-allowed { cursor:not-allowed; } and use the dynamic attributes > class toggle and toggle this class when state.executing If …

Image water marks

This may help you: Please keep in mind that this video was created many moons ago and was aimed at a Dreamweaver audience.

Navigation without copy / pasting on every page

Hello, Yes of course - serverside includes are used for cases like this:

Help for if User is Loged in

Hi The login works. I land on the dashboard. When I go back to the login page, it should recognize that I’m already logged in and redirect me to the dashboard. Unless I log out. Sorry but I don’t ha…

Syntax for a .join('\n') in a Flow

I have this code I use outside of a flow: booking_form_links.setValue(search_activities.data.search_activities.values(`title_internal`).join('\n')) I want to replicate this code inside of a flow. H…

Any magic trick to make 'Select' the default of a RestAPI-populated country list?

Just removing the selected value binding should do that.

Alignment

To understand Bootstrap, have a look at this series

How to have both local docker and online site

Yes but how do i set local docker site to be in a subfolder. i can’t figure out that part. obviously i can create a subfolder in my project and put my files, but the wappler code woudl be one step up…

Two way data binding

Hey all I am looking for information on how do do two way data binding in the front end. Working example will be great. Think Vue/React/Angular two way binding. See example attached.

Append a font-awesome icon to autocomplete search box

How can a search glass icon be inserted in a search input field with auto-complete in a way that it is hidden when input is typed so the “blue cross” is showing only? I tried several ways, among wh…

Show modal on page load?

Heres a video on how to do it mate, its really just a couple of clicks

Confusion over Node layouts

Hi @Hyperbytes The problem is actually that initially your index page was without a layout, and because of this it has a head code. So when you added the layout to the page, another head area on the …

What format does Google Map Directions' dynamic Waypoint expect?

Hi, I’m trying to populate Waypoints (under Dynamic Attributes) with a list of addresses pulled from a database query. It seems like Waypoints (under Dynamic Attributes) would work if I input either …

Help with my Node site - My page redirects to login and goes blank!

Thanks Jonas, I looked in there and the Server connect security file was still in there under execute even though I had deleted it in the content file. I don’t know if that is a bug or something didn…

Where to deploy

Your GIT remotes are managed by clicking on the globe icon. If you don’t want to push your changes anymore to github just click on the delete link. To add your gitlab repository just add it as you d…

Displaying tooltips on small screens only

Hello, I was wondering if it’s possible to display an element like a tooltip only for small screens? I haven’t been able to figure out a way nor found any pointers in the community… Thanks!

How to save results from SC repeat to single database field as array

I got this repeat action in server connect API action: insert_images insert new records to the product_images database table: Now I want to store the ids of the above added records as an array t…

What goes into Static Events?

What does this static event accept for input?

Image not displaying

Either you haven’t uploaded your images or your server doesn’t handle spaces in file names? Never a good idea to have spaces in file names.

Connect to Zapier and Admin Templates in Wappler

Howdy. Coming from Caspio, bubble and curious how easy it is to connect to zapier or integromat for third party connections? I know I can move data between databases on zapier etc, but have some kind …

Cannot scroll modal after confirmation on mobile

What if you set your Modal to ‘Scrollable’?

How to update a page element value using App Connect Flow?

Hi, I’m a long time coder, but new to Wappler. So far I love it but I’ve hit an issue I need some guidance as to the best way to resolve it in Wappler. I’m using the Date Range Picker for users to s…

Opening details page from a list

Ok, fixed it - Changed the Content page dynamic event “load” to run the api connect and remove the storage value. Also fixed the “head page” entry as it was missing. No auto load for the api data s…

UPDATE: Issue with Server Connect URL and Live Refresh With Sockets

In my test: Update data (with security) --> Output data (with security) ~ Ok Update data (without security) --> Output data (with security) ~ Ok Update data (with security) --> Output data (without…

How to you send an image in the email with summernote

Hello Everyone, I have been trying to send an email with summernote. I found out with the help of @sid that the image was the issue. I removed the image in the summernote data to send the email. It …

Oauth2 with Salesforce

Instead of using the OAuth2 with the api step you can pass the access token directly in the headers. Authorization: Bearer {{access_token}} I will discus tomorrow with George on how we can improve t…

Summernote Toolbar Items show in text

Summernote has a checkbox in the UI for using it inside modals … please use it.

Is there a way to 'un-disable' a input when a checkbox is checked?

You can try to bind the disabled attribute. <input dmx-bind:disabled="!checkbox1.checked">

How to: Export CSV with multiple same header name

Hello guys. I need help to export csv file with some headers of the same same, for example: ID,AMOUNT,DESC,AMOUNT,AMOUNT I know it doesn’t look clever but that’s beyond my control since it’s the fo…

Add/update elements of an object

If you want to do this on server side, you can use repeat. Repeat the query, and select the columns from query in the repeat step’s output. Then, inside the repeat, set your “set values” with output …

Best practice of SC on Server Side Include pages

I am working on a modular web app and using Server Side Include (SSI). Could someone share the best practice of using Server Connect (SC) on SSI pages? I am running into trouble when I am loading the…

Hide menu based on page

Hello! I need to hide a menu from my layout page depending on which page I’m visiting. I need to set on each page wether I want or not the menu to be visible. I tried using globals on the app struc…

Database Custom Query

Exampel: I have two tabels: maneger_test and maneger_level_test. The maneger_test.level input is comes from a drop down from maneger_level.test (the id) Here is the custom query and output: Prob…

How to Back Button with parameters?

My client uses Full Screen (F11) with Chrome and wanted me to add a back button so I added one with onclick="history.go(-1);" into an include page (so it’s common to all pages). The issue I have …

How are you debugging on a live server?

i think tools like these might be of some help: clarity.microsoft.com

Issue with nested repeat regions

I have been struggling to get the nest repeat region to display the data that i want correctly for several days. Just when i think i have it correct, it just doesn’t display what i want. Here is a b…

Few questions on Server Side Data on Node.js

So far from my practical usage, I’ve used Server Side Data for 2 purposes: To set dynamic meta, or To protect content page with Security Provider SA The question: How do I apply both dynamic me…

How do you send an email with summernote

Hello, I am trying to send an email but it is not working using summernote. For some reason, all the rest of the fields works and can be sent. When I try to send the field which was build with summe…

Show spinner while javascript code is loading

Hello! I need to show a spinner while my JavaScript is loading. I’ve tried using the visibility style inside the JavaScript code but I can’t make it work correctly. Thanks

Deployment on Heroku with Git

I think we should also allow Git remotes to be defined as targets so you can just switch to them and hit Deploy (Push) to push to the git remote. This way we can just like docker make the connection …

How to clear/reset Alert in Modal

Turn off the alert auto show. And on Modal Dynamic Event > Hide > hide the alert. Only set the alert show event from the form on success event.

Lazy Load Image Filtering?

Took me a while of looking around the community but I found the solution on here after looking a few times so for anyone who needs the link to the answer

How to do a text overlay on an mp4 background

Probably nothing to do with anything (I’m quite well known for useless answers) but what happens if you click the little lightning bolt to toggle App Connect Mode? Also delete any cache and temp file…

Dynamic save images to query result

thanks for the advice it was actually I needed query[0].pages_id

Querymanager not working

Hello, I am trying to add the bootstrap Paging and connect it to a Dataview which displays a table. Problem is when i try to Bind the Page Dynamic Attribute of the Dataview to the Query Manager. I …

Customizing the background of a preloader

Hello, I’m trying to make the background of a page blurry and semi transparent during the time the preloader is showing, whilst it’s loading. The css is easy enough, but it applies to all the element…

Switching tabs only work once

Hi. The workaround in the given link is quite simple. Although, that bug is about drop down being one of the tab’s headers itself. That is a weird design to be honest. In your case, you just want th…

How do you structure nodejs server code?

Hi everyone, How do you structure your nodejs server code? Let’s say I want to add custom nodejs code at every action step. Do I need to make a custom module for each different action step? Ma…

How Do I Create a Comma Separated List of id Values on Server Side?

On the client side, I can say: {{lookups.data.lookups.values(`id`)}} and I get back: 1,2,3,4,5 However that .values(`id\`) syntax doesn’t seem to work on the server side… is there an equivalent …

Public directory not views directory in Node? And other Node questions

Why do my Node projects keep looking in the views folder when I strictly specify the public folder? Any advice appreciated! Also. I don’t want to use routing! Is this folder automatically generate…

How get a toast to show when calling from dynamic event

Hello, entering wrong user details trigger an unauthorized error. So you should use the Unauthorized dynamic events to run actions, based on such errors.

Summernote: Textareas do not clear on form reset

It is the ID of the Summernote element Each Summernote will have a different ID

Paged Database Queries - Data Not Accessible on Client Side and Removal of Limits

I’ve recently had a couple of times I tried out using Paged Database Queries in a server action. Each time, I found that: Some database fields that were (a) listed in the query server action defi…

Page creation missing APP header?

When you “reload” a page while the changes are not saved, then the changes are lost. You should not reload the pages if you want to keep your changes, so just save your pages after making changes.

How Can I Add a Computed Field Value to a Database Query Output?

I have a database row like this: invoice description amount_invoiced When I do a multiple record query on this database table, I’d like to also output an extra field I compute at the time of o…

Tool tips and class toggle (change background) no longer works after conversion to BS5

I have input fields which I added tool tips to display the full value for the field in case the display of the value gets cut off. That no longer works when I converted to BS5. The tool tips I had f…

Help with qrcode api please

aaaaaaaaaaaa just got it. duh! i’ll pass the data i want and it generates on the fly. perfect for my needs.

Can't get Min Date on datepicker to work dynamycally

I inserted a datepicker field in a modal and it works as intended. When i set dynamic attribute Min Date = Datetime element. The calendar pops up and vanishes instantly. I have enough time to see t…

Sending email from Server Connect on an aspx project

Here is the updated mailer, place the files in you Bin folder. DMXzone.ServerConnect.Mailer.zip (7.5 KB) You need to edit the server action by hand, in the json add an extra property to the options …

Extending the extension

@patrick @George I am building a set of Mongo extensions and need to control data flow. When creating an extension is there a way that I can add the same kind of functionality to the extension GUI l…

How to output/send a variable which is conditionally set in a repeat block at the back-end to the front-end

Hello Wappler community, I’ve made a variable at the back-end server connect This variable is set inside a repeat block according to a condition after the repeat is done I want to send this variabl…

Passing error from server side to client side (invite code verification)

In your server action you can add a step within your condition that sends a 401 HTTP Unathorized response if the code doesn’t match. On app connect you can add an alert to your page using dmx-show on…

LinkedIn login

Morning I am trying to create a login with LinkedIn. Tried to follow the Facebook example with no luck. I get the following error: Bummer, something went wrong. The redirect_uri does not match the r…

Add a local Payment Gateway to a registration form

Hello Team Wappler, My first attempt to integrate a payment gateway. I would like to use a local payment gateway to process payments for the simple registration form shown below. The payment gateway d…

How to correctly select dynamic element id from Dynamic Attribute?

Try this: <input class="custom-control-input" type="checkbox" value="" id="item" dmx-bind:id="item_{{$index}}" dmx-bind:name="item[{{$index}}][switch]"> <label class="custom-control-label" dmx-bind:…

Can this app be developed using Wappler?

You can integrate via any REST APIs or any JS libraries. Haven’t worked with tensorflow or React with a Wappler project - so cannot give you a very specific advice here!

Master Detail

Can someone do a modern tutorial on making and using a Master detail page using Wappler. The old videos are waaaaaaay outdated and do not give enough info. Please don’t refer to the old instructional …

How to check if column in table are true and return a value if all are true

I have a table with “checklist” fields. I’d like to be able to query the table and return “yes” or “no” if all fields are equal to a certain value. How is the best way to do this? Thanks for your …

Syntax To Extract An Array of One Field Value From a Database Query

I’ve just worked out I can do it like this: invoices.join(",", "activity_id").split(',') Is there any other way which seems more elegant?

Does dmx.parse work when the serverconnect located inside Content Page?

Components are accessible based on how DMX creates a structure for it. To check this, you need to use dmx.app.data which returns the complete current structure of components. In your case, the serve…

Tip when using Server Connect FileMove step, especially with a database

I recently worked quite a bit with FileMove in Server Connect. I needed to move a file after save to another dynamic location, and the FileMove step only takes a few parameters, like File Path, (whe…

Cannot see output on web page, but can in developer view

Thanks @bpj and thanks @Teodor. I had started setting up a custom formatter as per your suggestion, bpj. But as above I found a different solution but did not remove the custom formatter. Once I remov…

How to Use MySQL Database Query "in" Condition With a Variable Value

Thank you Ken, that is wonderful. The short answer is that the variable needs to be an array rather than a comma separated string. So the syntax I needed was: {{invoices.join(",", "activity").split…

Using condition with conditional fields in custom queries

If I use a normal query in Wappler, I can set conditions with conditions, like this When using a custom query can i achieve the same thing. I have attempted adding them in just like the normal que…

Server side validation works but does not return message

Setting a validation on the app connect form input creates a “target” form the server error response. So if no validation is set the error message is not displayed. it’s a “quirk” of Wappler So go t…

What is the best approach for storing OAuth2 tokens?

Yup pretty much looks like a brief run down on how i did it, the only thing is, and it may just be your wording compared to mine, but there is no Authenticate as such so more like this. Check if Xer…

Instant Database Write on Checkbox Selection

Add the “toggle” server action to the page with “No Auto Load” You can then run a serveraction.load(‘parameters if necessary’) within a click dynamic event of the checkbox

Datetime in database view shows as generic datetime placeholder / defualt format why?

Hi All I need some guidance on this and wonder if this is an issue or a limitation of the database view. So I have a number of fields in the database table which are DateTime type. I simply save the…

Script Timeout in Node.js

Not sure when it went missing, but I can not seem to find the script timeout in the server actions in my node project? Edit: Does the Time To Live setting on the App Connect side replicate the previo…

Last inert ID returning but not working in form success

I have an action file that based on a condition will either insert, update or delete a record. The form that uses this action populates using a data detail. What I’m trying to do is reload the data …

Show/Hide link in navbar based on userID value

You have two options: Create an API Action, which contains an database query filtered by the identify step. This way you will have access to users details. Create an empty API action. This way you w…

Conditional regions invisible in design view

Hello, Just turn off the app connect mode to see them:

Can't Seem to Make Client Side Validation Work on a Specific Form

I have two very similar forms and they both have client side validation rules set on various inputs. One form’s validation works perfectly okay, and the other form’s validation does not kick in when …

Hidden Inputs

Most likely. Whatever you render and send from client side, is exposed. No matter if its hidden from visibility or not. You need to setup access control on server action to filter out any bad actor…

Server error 500 due to wrong checkbox setup?

Just check your installed PHP version - you can run a phpinfo file to be sure

Problems with traefik assigned certificate

Re deployed container and it has started working.

Field format to money

There’s also a currency formatter available.

Autocomplete - Using the typed value for inline flow

The autocomplete element has been updated to allow users to click a ‘no results found’ label to trigger events that may add to a list or send data to a server connect. If you’re using an inline flow f…

Dynamic path when file upload

I have an action with image upload, and I want config the path with composed address “‘public / images /’ {{$ _ POST.IDProduct}}” I had already done this for another site, but I seem to remember that…

How to deploy to GCP using Docker?

Hello, has anyone managed to host a Wappler webapp in Google Cloud Platform using any of the GCP Docker based products? GKE Cloud Run App Engine And/or are there any pointers on how to obtain a Wa…

Unable to Create Database Connection in NodeJS in Server Action

This is how you set up database connections for NodeJS since its been introduced in Wappler. For PHP/ASP it’s different. You need to click Server Connect connection and set it up: Then it appear…

Server Side Storage Which is Browser Tab Independent

Is there a way with server side PHP in Wappler to save a value to a variable which: Will he retained between calls to different server actions. The values will be different between use of the app in…

Server Action Library Question - When Would I Use $_GET/POST?

I’m just learning how the new Server Side Library Actions work. Thanks for implementing them guys, they are really exciting! A question. When I define a Library Action I can give it $_GET and $_POST…

Custom Query Builder - help needed with MySQL variables

I have a query which worked well in Wappler until I tried to add a bit of code to simulate lag function in MySQL 8.0. I basically added these line, and everything worked well in phpMyAdmin. SET @last…

Showing an element when $index even or odd

A bit of an odd situation (pun intended), but I have a repeat that works similar to striped rows, so every second row has a background colour assigned. I used the following to get it working, create …

How to combine a sum value from one query with another query

Hey all, For some reason struggling with this one. This is the scenario: I need to sum the value of a field in a Multiple Records query (query1) I need to sum the value of a field in a Multiple Re…

How to update/change only one item in a repeat table (F/E)

Hi all, I have a repeat table that displays a lot of data per result. This is paginated and shows 25 results per page. What I’d like to do is have an API call that returns more data change/update on…

Cordova installation failed

New to Wappler and I am getting some errors. It says “Cordova installation failed”. There is nothing about Cordova installation in Wappler Getting Started Course, so I’d like to ask this question her…

Sorting table without server connect

I’m call API from client side and storing data in datastore, after this I’m displaying data in a table which I want to be in ascending order. I have a field “scheduled Date” in datastore records with …

Slideshow gallery inside a lightbox opened from a button click

Probably not something many people have a need to do, but every now and again it can be useful, here is how I went about it. Dynamic or Static Add the Element Animation > Lightbox Options to your p…

Framework 7 dialog error and not closing

I have created a flow which calls the F7 confirm dialog. <a href="#" class="button button-fill button-large" id="open-with-button" dmx-on:click="run({'f7.dialog.confirm':{text:'Text',title:'Title',th…

Not sure if this is a bug in query conditions or not

I am wanting to put two conditions on a query to get inspections by caseid if the $_GET variable caseid has a value, but if a specific vehicle is requested via the $_GET variable vehicleid get the ins…

Direct Database Connection through SSH tunnel

You should make sure the settings are right:

PHP parse dynamic content

You need to use PHP for that. Please check:

Debounce on input so map address lookup doesn't happen with every keystroke

The syntax for applying debounce is: dmx-on:updated.debounce:300 You usually find it below the action input field of an event. If its not there, you can write it out and see if it works.

Dynamic Pagination Not Working

As the title states my dynamic paging isn’t working and I’ve followed the steps from the documents. So I was able to get the page numbers to show but it doesn’t work when I click on any page inste…

Bootstrap Buttons Have Border Which Is Unclickable and Disappears When Clicked

I found the problem… it was a line of CSS which doesn’t show up in the Wappler Styles menu as it is in a CSS file referenced by the main design file specified in the project settings. So if you have …

Selected value not showing sometimes

I came up with a solution for this so thought I would leave it here. I run this on the onshown static event of the modal the select elements are in. No need to do have the value field for your selec…

How do I turn a single query result into a Category/Products listing?

Use Group By. Using repeat and nested query that Ben suggests in the shared video is inefficient as you will have to hit the sql server multiple time to get the data which you currently have from a s…

Cannot replicate operations of a single db insert for a multi-insert

Setting the value usually works well. But, in case there are too many dynamic components, dmx fails to update them in time, causing the issue you are seeing. A workaround to such situations is to use…

Form refuses to submit

Well guys thank you, but nothing out of the ordinary was obvious - the debug feature was on. As a last ditch I simply uploaded all the wappler folders and the form now works. Something obviously weird…

Basic question on deployment

Hello I am trying to put things in order and have a basic question: For my learning project I defined “Docker Hosting” in my project settings. I read the guidance on how to deploy from wappler to fi…

Fit slides with different heights

There’s nothing too special about this. In this showcase all the image have the same height, and the width is different as per the aspect ratio. The slides per view option is set to auto and the cen…

Repeating Input Problems

thanks for the advice the issue was actually when I was pulling my unique id from the db the query pulled a few results rather than only one, so to solve this in the section I was updating I added a h…

How to handle API outage or errors from App Connect?

Hi Andy, Click on the form and in the right hand-side panel scroll to ‘dynamic events’ click on that - then click on ‘server connect’. You’ll see the types of responses you can create events based on…

Bootstrap 4 badge element?

Morning all, I am loving Wappler so far. As someone who has hand coded many custom databases, I don’t think I’ve ever had this much fun developing. I plan on purchasing as soon as my trial ends. S…

Am I misunderstanding? Server Connect 'Values' formatter

When I use the ‘.values()’ formatter server-side (PHP), I thought it would take a parameter to return the values of a given object property (like it does client-side). The data picker doesn’t have a p…

Delete files using wildcard

I am using the file upload SC action and storing the file as record_id.ext (eg. 2.jpg) so the files are tidy. The action retains the uploaded extension (.jpg or .png for example) and renames the first…

Performing actions in loop with time constraint

Hello, You can use the Action Scheduler component which can run a specific action every XX seconds.

Auto Logout User on Session Expiry

Hello @nshkrsh , If i understand you right, you want to auto run some kind of redirect/log out when the page has been inactive for like 45mins? You can try using the action scheduler component. Add…

Another oauth question

Thanks Patrick, you got me in the right direction. Final answer was: dmx.global.set('token', authResult.idToken); dmx.parse('session1.set("test",token,{})'); Andy

Routing Name does not work with multiple words

Well your route is wrong. It needs the TWO parameters you want to show … id and name - add them in the routing panel for your route.

Changed machines - Help required to setup docker project

You need to copy the docker machine config from your user home folder, see: Also docker desktop for M1 is still in preview.

Convert Number to Explanation

You can use either the replace or the ternary operator. Example: {{your_binding == 0 ? 'Off' : 'On'}}

Looking for sample SPA project

Have you has a look at

Cells in table row with checkbox remain checked after data source refresh

Have you selected a value for the key option in the repeat children region of your dynamic table?

How to add datetime or timestamp into a FLOW without needing to add the datetime module

Hey all, Not sure if this is possible - but I am sending a call to a third party service, and I need to send the date and time or a timestamp. I was wondering if manually entering {{TIMESTAMP}} or si…

Having calendar move to a specific date

I’m trying to add a click event to a text input box at the top of the calendar which allows the user to pick a date and then have the calendar move to that date in the month or week display instead of…

Clarification for use of null and conditions in INSERT and UPDATE Queries

I am looking for clarification on the use of conditions and .default(null) in both the Value and Condition in Insert and Update Queries. Below I have set out a table with examples of 'text', 'number' …

Modals: Adding a modal to an included menu

Solved. Added it to the menu include. Found out what I was doing wrong. Was being a bonehead. Beer time.

reCaptcha: More than one domain

You can add multiple domains in the settings of Google reCaptcha.

Prerender PDO connection - Unable to connect (Docker & PHP)

Would someone please be able to help? I’m trying to make a prerender connection to the Docker DB so that some basic values are rendered on the server (SEO meta tags, favicon, FB/Twitter cards etc.) b…

Calling Framework7 function

Morning and a happy new year. I am trying to call Framework7 functions via JS . When I try and do a call like app.f7function I get not a not found error. Cannot read property 'create' of undefined …

Error 404 in wappler

Hi I have this error on wappler, what it is? Thanks

How Can I Reset Input Values in an Inner Repeat?

It is not possible to access the items in a repeater from the outside, at least not official. You could try questions.items[0].i_question.value to access the first question input, not sure if this wor…

PayPal buy button using their javascript

Problem solved. This is what I was looking for: value: dmx.parse('session1.data.sessTotal')

Fail to load resources on login page

You should not have the login server action separately anyway. It should be only used in the login form / server connect form. Yes, please.

How to get date with st nd or th using formatdate

Here a custom formatter that uses moment.js for formatting the date. Place following script in a js file or script block: dmx.Formatter('string', 'formatDate2', function(val, format) { return mome…

Bootbox Prompt - Date and Time

I’d like to use a prompt to collect a datetime entry on button click within an inline flow. It seems that Bootbox only offers support for Date or Time but not datetime. I thought I could nest two prom…

Group by MAX

I think you should create it as a variable the :P1 inside custom query builder. Did you do create it? Also if :p1 does not work try filtering with :p2 (but also create the variable in the query builde…

Input Losing Focus When dmx-on:change Triggers a Server Connect

I have an input that has a dmx-on:changed which did 2 things: Update a data store Update a variable All was working well. Then I added a third action which runs a server connect. Adding this cause…

How To- Two validation properties for "Exist in Database"

A little background… I need to validate a new user by asking them to provide me with two pieces of information that should already exist in one row of our database. I have a form that has the two fiel…

Add path to images

Use dynamic image source. Select TEMPLATE (1), enter the path to your images folder manually (2) and click the binding you need (3):

Docker Error - Invalid Reference Format

For any publishing to Digital Ocean or similar docker enabled hosting - you need to have Docker Desktop installed locally otherwise it won’t work.

Recommended app structure for use of design view with repeaters & APIs

Hi George, Can you recommend the appropriate application structure to take advantage of design view when using multiple repeater elements that are sourced from API calls? The problem is that our dat…

Bycrypt cost factor 10

I’m an absolute noob at encryption so forgive me if I’m missing something simple here. I’m trying to register new users to my site into my XenForo forum. From what I can find XenForo uses bcrypt wit…

Sending API POST data as a repeat

I know it doesn’t make sense intuitively, but you can just provide an array, inside of double quotes: { "customer": { "firstName": "Hugo", "lastName": "Sterin", "email": "noreply@rezdy.…

Hosting through Digital Ocean Docker and Node.js https

Hey Paul, I’ve been experimenting a lot with DO/Docker/Node and the instructions here for SSL, I believe are current:

Problems following Node.js "Applying Security" Tutorial/Docs

I actually managed to solve this myself. For anyone who is running into the same problem, I did not have a layout assigned to the page. As soon as I created a page with a layout assigned to it the S…

Database connection option

Hi @alexpr25, The database connection options have been moved to Server Connect -> Globals -> Database Connections

Resize and crop image before upload

Hi i’m trying to resize a photo before crop it but it doesn’t work. Can someone tell me where It is wrong? I can’t select the path of the cropped image but only the original uploaded…

Just Checking - Do onClick Data Store Actions Happen in Sequence?

When a button is clicked, I want to: Delete some entries from a Data Store Once those entries are deleted, change some values within the Data Store using a flow. So I can do it like this: dmx-on:c…

Checkbox how to handle in update form

With Boolean field use directly a checkbox, no checkbox group. Then select the checkbox, add dynamic attribute > checked > and for value select your binding. Checkbox groups expect array, and should…

What is the best way to customize bootstrap/override settings?

One of my biggest frustrations is trying to set properties that aren’t set with bootstrap. For example, I want to change the navtabs to not have a solid 3px border around it when clicked. I’d also lik…

What's the most efficient way to add many records to the development database?

Hi, I would like to add a few hundred records to a few tables in the development database. Here are a few options I can think of but wondering if there are other better ones. Option 1: use the view/…

If an error occurs while loading or rendering an image - (Simple and Useful Solution)

If an error occurs while loading or rendering an image, and an onerror event handler has been set on the error event, that event handler will get called. This can happen in a number of situations, inc…

Data store component and add unique item

I want to add items individually with datastore component, however. The datastore compares it as “OR” when it is done upert and adds or updates accordingly. This is exactly what I want to do; Co…

How to use a PHP array?

I have a PHP function from an SDK that returns an array. How can I use that in Wappler? Thanks.

How do I get the count of a repeat and use it as a condition?

Hi @TGD, You can use the count method on the array you are using in the expression of the repeat. On your class toggle just select that array, then use the formatters to select count. Then operation …

Url filtering problems

I found the solution it was my query manager wasn’t on the page where my link initiates from only on the page it landed on thanks for the help

How to use library and data binding

But it seems to be working on your test page? Ok, now I see. Seems like there is a undefined variable for some reason: Have you tried to make a new test project to see if its working then? I …

Deploy from Wappler to DigitalOcean App Platform

Continuing the discussion from DigitalOcean launches App Platform: made changes to package.json as suggested here - but getting an error on DO: #### Deploy Error: Non-Zero Exit Code Your deploy fai…

Newbie - deploy a NODEJS, MySQL Web App to a hosted service provider - Help/Guidance please

Hi, Im looking for a bit of guidance - i have a local nodejs web application with mysql backend that I’m now looking to deploy to a web server. I’ve seen some wappler guides that make is sound quite …

Webkit Style Appearing out of Nowhere

You don’t want to “get rid” of it. These are called vendor prefixes and they are automatically added by the CSS Autoprefixer to CSS rules using the Can I Use database to determine which prefixes are …

Page level filter in PHP include to trigger page actions

Hello, I am building an app. for doctors’ offices to track appointments where sometimes there may be multiple locations. The idea here is that if you’re a front desk person at office 1, you only care…

Fuzzy Search little problem

Hello, you can apply “To Lowercase” formatter to both the search value and the property you are searching in. This way it will not be case sensitive.

Taking a Stripe Payment Using SCA Compatible Stripe Payment Intents and Elements - Part 2

[THIS DOCUMENT IS WORK IN PROGRESS OVER THE NEXT FEW DAYS! ] Okay, we are are assuming here that you have followed part 1 of this tutorial - if not, then please follow the link at the end of this do…

Stripe.js clearing elements

does anyone know how to clear the stripe element input form correctly?? var card = elements.create(“card”, { style: style }); card.mount("#card-element"); addCardButton.addEventListener(‘click’, fu…

Display Data in Modal

Hi, I’m trying to get the user data to display in the popup once I click on a row in the table. The popup displays, but no content is shown. In the “row” component of the table, I have a dynamic …

Dynamic page title

You need to set the App Root to Page:

Dynamic Swiper: Control Speed

You can do this by setting the data-swiper-autoplay attribute on each slide like this: <div class="swiper-slide" data-swiper-autoplay="5000"> <img src="img/slides/slide1.jpg"> </div> Assuming …

How to set a session variable on page load?

Probably a noob question, but I am struggling for hours now figuring out how to do the following: I need te reset (or set) a session variable when the user uses the back button in the browser. Or al…

Select picklist not updating on set value

As the examples that are given in the page that I linked to, say: Normally a Select element is placed inside a form to collect user input. <form action="/action_page.php"> <label for="cars">Choose …

Insert error on MS SQL

Now trying to understand wappler. I have successfully connected to a MSSQL database. I am having an insert error: Cannot insert explicit value for identity column in table ‘feedback’ when IDENTITY_INS…

How to delete a repeat region and insert a new one

Hello, I have been trying for days to delete a repeat element in the database and add a new one. It is not working so far. I tried the conditional step it is not working also. I am trying to delete …

User actions or activity log

Please check the docs:

Custom member pages

Pretty much yes. If the user opening the page is themselves, it shows more options… And of someone else opens the same page, they see lomited options and maybe even a different UI.

Recordset Filtering: Load on Hitting Enter

Thanks @ben, that didn’t work either. What I ended up doing was simply taking the input out of a form. I added dynamic events to both the button and the field. It works perfectly now. Love Wappler! l…

Globals Database Connections with multiple targets

I’ve retry from scratch, deleted my remote database (named babel) in database manager and server connect gobals section. Then I’ve created a new database connection from target dev in database manage…

Show entry in dynamic dropdown without using the 'selected value' field

Instead of binding drop down with the server connect data, bind it with a variable. On success of said SC, set value of variable as inserted id. And, on click of add button, just remove the value fr…

Going insane - how to simply add two values together in a SC - bug?

Thank you both, got it! Seems overkill but I did the following to get it working: Convert the $_GET into a number value. Then in the setValue for the $get value I format that to a number Then in t…

Defining two user types in the DB

Personally i would go for a roles table allowing multiple permissions for any user (So a consultant could also be a user for example) as per this post

Route address

In a folder (named it) on the site I have a home.php file I would like the address to be https://xxxxx.com/newtext instead of being https://xxxxx.com/it/home.php when opening the page i tried to us…

CSS: How to create a circle progress bar

I haven’t tried it but you could include the CSS and JS from these pens and set the data-percentage as: dmx-bind:data-percentage="somevariable.value" where you could change somevariable.value to any…

How can I count the number of times a repeat actions a certain condition?

Hey all, I have a basic repeat with a single condition managing a duplicate record. So, condition path 1 just outputs a ‘duplicate’ value condition path 2 inputs the record into the db. What I’m t…

Pagination: Multiple paginations on a page seem to be linked?

Brad, it would be best to have 3 separate server actions for these 3 paged results.

Rename File During Upload

Hello I have been trying to rename a file during load. I have the input file where user can write the name they want. But in the server action, It is not working. Can anyone help me with the step h…

Framework7 Popup on Click

I’m trying to open a popup in Framework7 with a dynamic event but it doesn’t show in the Available Actions

Modal over modal

Hello to all, I have a modal that show a record, there a button in that modal that open another modal that show another table linked with the first record. It works perfect. the only problem is that …

There is datetime bug

You’ve set your datettime variable to UTC time, that’s why you see the UTC time when usin: nowday.datetime When using date formatters on the clientside they always use local time so use toUTCDate() …

How can I use parameter inside partials

The nodejs development was really cool. Really Thanks How can I use parameters in partial? or what are the differences, if any?

How to setup a remote connection?

OS info Operating System : Windows 10.0.19041 Wappler Version : 3.6.1 Problem description …Trying to get database manager working on new site. Under database connections the database tests succe…

Connecting to MySQL DB on Oracle Cloud

Hello guys, Very new here, knowing zero abt coding and networks and been reading through the forum for about a month, learning and assessing the suitability of Wappler for my 2-sided platform project. For testing purpo…

How to edit non-initial dom elements

We have a pretty complicated application with lots of dependencies. And I am trying to get the design section area to work for us when multiple files are referenced in a singe view do be able to edit …

Node.js - Easy way to change port

Change it to: { "debug": true, "secret": "wO3ikXSgfEntiin", "port": 80 }

Class toggle works on Array but not Data Store?

Please use: cmpSelectedMediaItems.data.where(`mediaLibraryItemUID `, 'f09....ab', 'contains') or if you want to check if it equals and not contains then use: cmpSelectedMediaItems.data.where(`media…

How do I close the editor?

Sorry for the misunderstanding. If I understand correctly you will need to click on the cross as in

Issue with big differences from Designer to publish

I am facing in my project , many differences between preview of a page in wappler and publish of the same page. Most of the styling is totally wrong. I attach two screens , one from the designer in …

Setting up multiple Send Mails

Yes you can - you don’t need to name them

Digital Ocean String in Database Manager

Just like magic; it connected successfully. Workaround Change profile to default. Create new user account in database from Digital Ocean control panel and select MySQL 5.x Legacy authentication opt…

Radio Buttons Label Placement

By default, when Radio Buttons are placed on a page, the label is set next to the radio button. How is it possible to place the labels above the radio button?

Sorting A List of Files In A Folder

I’ve got a list of files from a folder working fine. Now I would like to know how to sort them on filename and date accessed. Any suggestions on how to use $_Get.sort & $_Get.dir with the file list i…

Question: Server Action Paged Query (NodeJS) does not show selected columns

Ok then, if you like to use paged query with a limit set to 10, then make sure to repeat the data element of the paged query, not the query itself:

Required validation if another checkbox is ticked

<input id="MyField" dmx-bind:required="!chkbox.checked"></input> this should work.

What are your suggestions for getting fast results in a large database?

Hello , There is a project I have done with dmxzone plugins before. and now i plan to do this again with wappler. The project has been running for a long time. I have a problem with this project and …

Google Maps Dynamic Markers not working

I’m trying to place dynamic markers on a google map. The map zooms to the right lat/lng but the marker is not shown. I had it in a modal so thought it might be that but moved it out of the modal a…

How to have SPA with content pages

That’s not the documentation you should be following. SPA for NodeJS is different. You need follow:

What are the hundreds of files in the AWS folder for?

It’s a real pain to have to publish hundreds of files every time I publish after making the smallest change on a site. What are all those files for and why do I need them?

NodeJS: Custom Module if File Exists (Custom Module for files outside root)

For my custom synchronization module I created several custom modules to be able to upload files from our local Windows Server to Ionos S3. Everything works quite well. I have recreated the custom “F…

Try/catch API error

Hello dear Wappler superstars ! I’d like to display a clean error when my stripe charges fail. I’ve enclosed my server connect action with a try/catch block but can’t get to trigger the catch clause…

Little help needed on hover event

The same way as you can show/hide element on click - using a variable. Add a variable in your app root. Select the element you want to be hovered add new dynamic attribute > mouse > mouse over > var…

Can't Find Server Connect Element

You need to include the App Connect framework on your page:

Is it possible to convert a basic stringified array into a defined array (probably wrong terminology)

Hey all, I have a super basic array of ids that i’m converting into a string to send via a $post field to the backend. This looks something like id1,id2,id3,id4… What I’d like to convert this into …

Can't make MariaDB connection on remote server

Below is the MariaDB server profile of my XAMPP-localhost setup. Everything works fine. Server: 127.0.0.1 via TCP/IP Server type: MariaDB Server connection: SSL is not being used Documentation Server…

Traefik - multiple domain certificates - is it possible?

I’m creating a website (kind of CMS) for clients that use their own domains. Is it possible to add additional domains to certificates managed through Traefik (remote Docker host)? The hosts can be add…

Customize table sort indicator

Can you change the sort indicator in tables? Change it completely like it will only show a custom arrow up or down icon when clicked

I need some help with displaying the results of the api on my page

hello, I am working with an API and attempting to figure out how to display the results. Here is the rather simple API documentation: Does the parameter -0 no-bg.png have something to do with the ou…

Getting Details of the Logged In User

Please make your security provider a global option: then use the identify step: and use this identify step in the query filters. Remove the security provider step form the server action as …

Adding options in a select component

Hi, This is not a new problem, but I have the greatest difficulty clicking or double-clicking to see my cursor appear in the “Title” cell when I want to add a new option. And this despite sometimes t…

How to delete curly brackets from a string

I experimented a little bit and found substring to be the easiest solution. I used substring(1, 37) to extract the UUID. I hope that this is the correct and fastest way to do it.

ERROR: for db Cannot start service db: Mounts denied: approving .wappler/targets/docker/db_init: file does not exist - After updating Docker

@George fixed it. Thank you for your help. For anyone reading this, who uses Docker and updates to version 3.0.0 this is the solution: With the new version 3.0.0 of Docker for mac, you need to disab…

Search Multiple Tables and Return Categorised Results (eg. Customers, Vehicles, Invoices)

Hi All, Had quick search of the forums and can’t seem to find anything on this so hoping someone might be able to point me in the right direction… I’m wanting to have a search bar on a page which qu…

Tutorials on node js and websockets?

Hey there any New tutorials on the roadmap? Would be cool to see an example app with socket. io implementation

Unable to bind select

I have bind in select but options are not showing. Using the same binding in div its work fine. <div is="dmx-repeat" dmx-bind:repeat="jsonTransactions.data.groupBy(`category_name`)"> <div>{{…

Is it possible to select all results, even if all results are not shown in the repeat?

Hey all, So we have a couple of repeats that have 15 or 25 results per page. We have a checkbox setup where you can select all by checking the top checkbox. If the user actually has 200 results that…

How to implement tripetto in nodejs wappler

how to implement tripetto in wappler nodejs server model , I have installed tripetton package via npm but how to use or i can say how to import package and in project? We can’t import package in vie…

Multiple select values

Make sure your multi select element has [] in the end of the name: name="myinput[]" In server connect insert step add a join formatter like: {{$_POST.myinput.join(",", null)}}

Subtracting Dates

Thankyou @Teodor, I found the way to do this, using formatter secondsUntil. var_difference=var_starttime.secondsUntil(var_stoptime)

How to insert video on my page?

Not sure what you mean by this. Both insert the video using a src="..." attribute

Create A Page Auto Refresh

Does this look correct? <div class="progress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" dmx-show="scheduler_refresh_data.running" id="scheduler_progress" style="heigh…

How to add items to an Array

Through trial and error I figured this out. Hope it helps others. You must use a Flow if you want to add items into an array object on your page when using dynamic events (e.g. on click of a button). …

Oops! - AWS Docker Web Server Connection

Some time ago I connected to the Web Server command line for an AWS Docker site and out of habit typed ‘exit’ at the end of what I was doing. Now the Web Server command line won’t connect and the Dock…

Set variable to '[blank]' using data picker

If I want to set a variable to blank, the data picker won’t allow this, it always says 'Field is required!' I can add a single space (which is not what I want) and then I have to adjust the code by…

How to order a an array by a 'date' from an API

There should be no issue when trying to sort only the data source of the nested repeat. dmx-bind:repeat="experience.sort('end_date')" OR dmx-bind:repeat="experience.sort(end_date)" One of the two …

Login Page not loading when hosted

Login Page works on localhost but not on hosted server. Page loads but turns blank. Please see Here

Help with styling autocomplete

Hello Brian, Indeed there are some styling issues on your page. I’ll try to explain them one by one, so you can improve your site layout. The Bootstrap 4 inputs/form groups, by default, take 100% w…

Database Query equal to TODAY

Ok seem to have got it working with a custom query using CAST In Example: SELECT * FROM jobs WHERE CAST(datetimebooked AS DATE) = CURRENT_DATE Thanks @Dave for the CURRENT_DATE snippet

How to display records from one query in separate responsive tables

Hello, I have a query that generates this result in first image. I would like to display Candidate Name, Party, Result in separate responsive tables like shown in the second image with each table onl…

Showing a module if a field has value

This seems to happen because the server action has not yet loaded its data when the modal checks if the record exists - so initially the data is always not available. You can just extend the conditio…

How to delete multiple records at same time?

There are various ways you could do this, but however you do it, you can send a POST array including the record IDs to an API/Server Connect, with a Database Delete step with a condition like this: I…

Security Provider UI

Go to Security Providers branch in Globals and it should be there.

How to get Docker to use drive it is not installed on for containers?

Hello, I followed these fantastic tutorials to setup Docker and But after setting up docker successfully I observed that Docker always created containers in the dive it is installed in. In m…

Wappler Routing to Static Pages Works but Routing to Dynamic Pages Fails

Hi @Teodor , WAPPLER ROUTING SUCCESSFULLY TO DYNAMIC PAGES now that it is configured correctly. You were correct, the issue was the meta tag being corrupted “after multiple attempts to configure”. I r…

[RESOLVED] How to have two submit buttons on a form

I want to have two submit buttons on a form. The first will submit the form and return to the previous page. The second will submit and reset the form allowing the users to submit it again with new va…

Delete projects

Well. As is often the case, not a moment after posting this question I figured it out. As you were.

About datetime-local

this value(06.12.2020T14:03) is not valid for above. Where am i wrong?

Multi Update not working

Trying to setup a Multi Record update. I created the query to get records. created the update action and generated boostrap 4 form for this. The Content gets loaded into the form OK. Dynamic Event…

Can I Detect When The Page Has Calculated All The Variables?

Is there any way to detect, when something new is displayed like a modal, when Wappler has calculated the variables it needs to calculate… and then use that detection in a show/hide construct? It wou…

Wappler Takes 20 Seconds To Display Image in Conditional Region

I have a repeat which displays a database table called file_descriptions. This is a record of images stored in my S3 storage. It looks like this: so the general format of the repeat part of the cod…

Progress bar formating

got it to work with this modification to the css. I am grateful @ben .progress-value { position: absolute; right: 50px; color: white; padding-top: 5px; }

S3 Upload Control - How to List Both image AND pdf,doc,txt

Been working faaaaar to long today. I missed out the dots… image/*,.pdf,.doc,.txt

Pass values between pages

Hello to all, I am trying to pass a name, lasts name and ID from one page to another page in order to complete a registration that I need to do. I am looking few tutorials but are only passing one va…

Using Database Connection

Why are you adding a database connection step in the server action? You only need to define it under GLOBALS and then in your server action add just a database query step … that’s all. Don’t add a da…

Press Button Only Once

Is there a way to set a button to only allow one click per session or something like that? Or to disable after one click? Or to disable it after one click on that day?

Get div height

Hello, is it possible to get the height of a div and use it to set the height of another div? Tried through the browser component but did not manage to make it work. Tried something like the followin…

Minumum length

got it, Teodor; for some reason if I switch from number to text directly in the field properties just allow me required validation, I create the field again as text from start and works. Brad: I never…

Captcha not displaying on page

So i have a strange issue…i can’t get the GOogle Captcha to show on the page. I have put in the correct info and code, but the V2 checkbox doesn’t appear http://vanderbundtcollection.com/contactus.p…

S3 Upload Control - Working on Test Page But Not in My App

I’m using the S3 Upload to AWS. I’ve set it all up in AWS, created a test page, uploaded files and everything works brilliantly. Happy Days. So now I’ve put the S3 Upload Control object within my ap…

Simple calculation returns concatenated value on remote server

Hi, I’m doing a relatively straightforward calculation of some database fields - I’m getting the expected results on localhost but when I upload to the remote server it is concatenating instead of sum…

Facebook preview showing code

You can use OpenGraph meta tags to control the output on social media sites. An example- <meta property="og:title" content="European Travel Destinations"> <meta property="og:description" content="Off…

Azure SQL Encryption Not Supported

You just have to switch it off in the database connection settings.

How to animate the toggle action of a dropdown menu?

How can the toggle action of a dropdown be animated? For example to smoothly slide it down instead of just making it visible in 1 ms on click on the dropdown toggle element?

How to handle switch toggle in update form

Try this: dmx-bind:checked="sc_listApps.data.qrylistApps[0].Notify == 1" where qrylistApps is the database query with the detail data

If I'm importing a CSV file to Wappler as per Docs - should I expect to see the output in the console?

Hey all, I’ve used the following article: Importing data from a spreadsheet? I’m importing a csv file for internal purposes and I’ve used a repeat on the csv import, and a setval in the repeat with …

Little JS help please! (With flows)

Hey all, I’d really appreciate the guidance of any JS guru’s in here. We use Segment.com and I want to start setting up our identify and track calls. I have the Segment tracking snippet correctly i…

Classic ASP: Setup Security Provider

I have a login page where i manage and set security. The security process gets the users permission level I have logged in and tested it and it seems to work correctly, however…I have a security r…

Weird challenge - repeat group results re-ordering when resubmitting same data

Hey guys, So, we have a repeat group - on this repeat group we have a button which allows the user to reveal more information on that record. The way we know which record should show/hide the inform…

Detect Device and Redirect

Are you seeing any error in console with this code? Also, can you try to put in a simple Browser1.alert(Browser1.userAgent) to check if this part of the data is accessible on load event or not. If i…

Dynamically Set Action Scheduler Delay

I don’t think that is possible. But you can try using dmx-bind:delay="somevariable.value".

Subdomain redirect to https with Heroku & NodeJS Middleware

Hello, I have my server set up on heroku with a custom domain. I also have ssl provided by heroku. But it seems that heroku doesn’t redirect http requests to https by default. After looking around …

App Structure folders collapse on save

Hi, I don’t use the app structure and the properties panel much. I prefer to do the basic layout stuff manually but when I do want to test something using these panels, every time I save what I’ve don…

How to set page title based on data from a server connect? (NodeJS)

This is what I want to achieve: So the page title in the browser should be: watch - [Course Title Here] Note: 3 is taken from the URL right now and is NOT the course title. But I can’t get the co…

How to create a daily database backup with Scheduling Actions

After reading about this new feature: I thought I would look at creating a daily backup of the database using the Scheduling Actions component. From doing a google search for “mysql backup databas…

Advice need on table/calendar creation

Hello everyone, I’m creating a feature where the user can see its airbnb listing price day per day for a month. Something like that: So I was thinking of using a bootstrap table. Pretty easy for…

Plain text inside dmx-html versus {{}}

I have a '<label>' tag with an Inner HTML Dynamic Attribute 'dmx-html'. This has been working fine for quite some time with some html inside it (a Font Awesome icon). Recent changes have meant that th…

Database Query Ignore Empty Values Conditions

Well Antony, the conditions are there exactly for this purpose. Add a condition for each group and it will be ignored if the condition is not met. So use the $_GET variable as a condition and it will…

How to fill an array in code

It might better to enter it in the data bindings panel, eg:

Input field color depending of value in input field in a form

Hello to all, Some one knows how to change the input or row color in an insert form depending of the value in the input field. For example; if in a select field if the value selected is “No” that fie…

NodeJS API changes not reflected on remote development target

Well when uploading NodeJS files with ftp, we assume that is usually using Plesk or cPanel and those run Passenger instead of nodemon or pm2. Restart.txt is the way passenger forces a restart of its …

How to create my own server action logs

Hello, While trying to debug server action the current logs have some limitations: They are auto generated so I can’t add my own debug informations They don’t display the variables value, they disp…

How to change daysUntil date formatting dynamically

Hey Everyone, Is it possible to change the daysUntil date formatting dynamically to weeksUntil, or monthsUntil ? For example, I have the following scenario: I have a select input with 3 options: Da…

How do you Recreate this Menu in Wappler

I came across this website and was intrigued by the hamburger menu icon on the left side. It appears there by default when opened. When clicked the menu slides in from the left to the right. Any sugge…

SCRUD API Naming Standards Recommendations?

What are your recommendations for naming standards? Typical REST api naming standards are like this: Search GET /users Read: GET /users/{id} Create: POST /users Update: PUT /users/{id} Delete: DELE…

How to upload files from local Windows UNC path (outside project root) to S3

This is pretty awesome! I got it to work! This is the final code of the js file: const fs = require('fs-extra'); const mime = require('mime-types'); exports.copyFromNetworkToS3 = async function (op…

How do I set buttons to all be uppercase?

I’m using the Theme Manager but can’t find anywhere how to set buttons to be uppercase. How can I do this? For now I’ve added this to my stylesheet: button { text-transform: uppercase; } But is…

Dynamic Font Awesome icons based on database output

You can just use inner HTML for this, example: dmx-html="'<i class=&quot;fas fw fa-lg' + dynamic_icon_value + '&quot;></i>'"

Show font awesome icon on highest value in table results

That’s quite easy to check actually. So if we follow the logic - what need here? Get the biggest value from the query Compare if the value in the cell is the biggest value both are possible in Wapp…

Custom query multiple variables

Struggling with the variables in a custom query. When I use ONE variable (:P1) it works fine, but as soon as I include another one (:P2) it does not provide a result. To illustrate, this is my query…

Working of Flow Component

In our app we are using flow component. First we run an API call in this way. Now in condition we want to apply a condition on one of the field which we are getting in api response. But we are una…

Trigger flow from JS with params

let accountId = "rmkNODWg" is not accessible from the expression, use dmx.global.set('accountId', accountId); to make it accessible. Or change the flow run action to dmx.parse('userAuth.run({ account…

JS Call From Flow Not Working In A Modal

I have a Flow calling some JS, which performs a copy to clipboard function. The JS works by creating a hidden textarea behind the scenes. It all works okay in the main part of my design, but the JS f…

MAIL BODY file select

I am having similar issue. Trying to use file for email template in NodeJs. OS: Windows 10 Wappler Ver : 3.5.6 File is in views folder, when i select it to view, i get error. Thanks

How to check if a date is one calendar month ago (server connect) - is my setup OK?

Hey all, I’m sure this is a simple one - wondering if anyone has solved it? I’d like (in the SC actions) check if a date field in the DB was one calendar month ago, so that I can then schedule an act…

How Would You Create a Copyable Contact List?

Perfect @patrick, thank you! So the complete solution is: email_list.setValue(all_contacts.data.values(`first_name + ' ' + last_name + ' - ' + email`).join('\n')

Wappler Local development without docker

How do you set up a local machine without docker? I just purchased a Mac Mini with an M1 chip (and guess who doesn’t support the M1 chip yet.) Back in the day (meaning like 6 months ago) - Wappler co…

Custom switch not displaying correctly

Got it fixed with the help of @Teodor. I was missing name property in the input of the custom switch, and default formatter for the unchecked state when submitting the form

Referencing a Form field is very, very slow

I am trying to do some simple optimisation on different parts of this site. One area I can make a difference is the the SQL statements, which takes a bit of thought and working out. The area I can’t …

Best approach to use local storage

I have some server actions that are the same in each subpage. Noticed that in some of the subpages it takes a liitle more to load this data again, since there are other things loading. Should I use ‘l…

Dynamic Ellipse and read more

Hello, How can I use the dynamic ellipse to extend the rest of word when its ellipse? Example, click on read more to show the rest of the text. Thank you

Mutiple Filtering and showing in a Table

Hi i have 3 mysql tables wich contacts below. 1 table - user location 2 table - route 3 table - vehicle details im getting user location when user login, then i query the route databased and loo…

How to sort options in a select field

Hey Everyone, I have a select field with some options coming from a server connect data source and 2 static options. Wappler automatically places all static options on the top and then any data sourc…

Complex Server Connect - help! - Process data on backend to only send certain data to repeat items on FE

Hey all, So as we get closer and closer to production, I’m replicating one critical item from our existing non Wappler project. We call a third party API to return nested JSON schema. Within this sc…

How to add multiple comma separated values from a SC to a AC array at once?

Hey all, We have a form that uses arrays to store multiple values. We give the end-user the ability to ‘save’ their search, which will essentially just send the array data to the DB via a SC action. …

How to set up page logic for course platform?

I’m a bit confused about the page logic here, can anyone point me in the right direction? I have a grid that’s loading courses from the database Now when I press the ‘Go somewhere’ button I want…

Not redirecting after form submit

UPDATE - found the issue. The script for the browser was not installed when i added the component. so for anyone that might have the same issue i have, after you install the Browser component, ensur…

Copy contents of DIV on Click

Is it possible to select all contents of a DIV and copy to clipboard with a single click like this using Actions?

Ignore white space when typing into an INPUT field

I have several INPUT fields where I want any white space to be ignored whilst typing. Is there a way to use something like the INPUT Field’s Dynamic Attribute Key Up? I just can’t work out what I sh…

How to make an editable table which is showing data from the database?

I have a responsive table here, generated by the Bootstrap 4 Table Generator It is showing users and their information (this is an admin panel) How can I make the cells directly editable? (Think l…

How do I use the Aurora Framework7 theme

I can’t figure out how to use the Aurora theme with Framework7. Any help is appreciated.

Why no target on Kitchen Sink app

I want to play around with the Kitchen Sink Framework7 example, but there’s no Target section in options. Am I missing somethiing?

Framework7 Mobile Webpage Dynamic Data Issue

I’m just starting to play around with using Framework7 for a mobile version of my website (not an app). I’m getting data from server connects, but am having trouble filtering data from a select. So …

Quick designer question

This should be a quick answer… where is the padding in the green marking coming from? This is in the Real estate demo project. I can’t see any padding or margin set up, or max width in the Row, col…

Traefik option in Docker

They are still under the experimental options - so make sure to turn those on first.

Have right table fields of left join show the table name along with the column name (table.columnname)

When creating the query, the third column is for an alias, you can call the field whatever you want there: e.g. you could use ‘companyname’ as an alias instead of ‘Name’

How to grab value from data-* attribute and dynamically place on element?

I’m trying to build out a page that will be easy for me to duplicate into additional pages for my app. The idea is to replace one data-* attribute value (e.g. data-page-name=“Contacts”), and have it f…

How to refresh an api call on click event?

Ah excellent. I was trying to use a flow, not the “play” button for the action. That’s fantastic! Thanks again for helping out Sid - I really appreciate it. Andy

Iphone upload photo

I have an issue with uploading photo from iPhone. I believe iPhone extension is HEIC. I added other picture extensions and HEIC, but it is saying “the file type is not allowed for upload”. Does anyon…

Understanding Traefik

I followed the tutorial at: I initially set it up just to use with the subdomains as outlined in the tutorial (Portainer and Traefik), but left my Wappler target URL as the main (i.e. https://domai…

Annoying Zooming on Mobile

How do I prevent the mobile site from zooming when selecting a form field? I have a very simple page with one input field but when you click into the input field to enter a value it zooms in. Update…

Calendar, moving a recurring event instance

Hey everyone, I’ve been getting to know the awesome Calendar and have a question on how to handle something. Just like any calendar, one could have a recurring daily event which is straightforward e…

SOAP request

SOAP is really bloated XML based api that you shouldn’t use. But for the EU VAT check there are some nice JSON wrappers: http://isvat.appspot.com So try those

Pass UserID from a Form to an update query in a Master-Detail-Modal Setup

send the data inside a hidden input for example create an input type=“hidden” name=“userid” dmx-bind:value=“datadetail” and use it as a post variable Thank you

Calendar doesn’t display with dynamic data source

Hi @Teodor Thank you for rolling out this amazing feature. Getting Started with App Connect Event Calendar I am trying to pass in some available timeslots from a server connect using the dynamic da…

Show all records at page load before filtering

Hi I have a page with a list of users. I would like to show all records when the page load but have the possibility to filter this list with buttons. I create a variable. A button click set the vari…

Wappler TIMESTAMP

The NOW used by Wappler query builder is not the MySQL now, it uses PHP to get the current timestamp. So I think that your PHP is configured in a different timezone then your database.

Quickest way to Update or Insert?

I have a Database Update query to update a persons record. I have a phone number that I want to Update or Insert, so straight after the first Update I want a Database Update sub-query that writes a ph…

String to array addUniq() problem

Trying to read a comma separated string from db, convert to array for manipulation and then save back to db as comma separated string. app connect : <dmx-array id="types" dmx-bind:items="getTaskDetai…

Creating JSONP API

Hello dear wappler community superstars ! I had the need to make jsonp calls to my wappler back-end to avoid CORS policy issues. So far, I coded a simple php file to translate json from Server Conne…

Ssl authentication with ec2

Good afternoon: I am doing a project with wappler creating a vps with docker in amazon aws and my question is the following: How do I perform the ssl authentication of the vps that wappler has creat…

Medium editor textarea and Medium editor region

Hello Juan, You can just select a text area on your page and click the Enable Medium Editor button … then setup its properties. That’s all

Google Places Autocomplete Framework7

Here is a working setup to use the Google Places APi for an autocomplete input using framework7. In the Google console API’s, enable both “Places API” and “Maps Javascript API” In Google API Credent…

Clarity on ‘how’ the repeat functions works - performance question

Hey all, As I’m always thinking performance first - I know how to ‘use’ a repeat but I’m wondering how it works so I can better plan uses around performance. Does a repeat on an API response schema …

How to protect data being displayed in dev console/network tab (From an API)

Hey all, So I had put together a custom solution to show/hide confidential information that we get from an API so that it did not appear in the source code. However, it is appearing in network/consol…

Possible to flatten JSON using a Set Value step with Wappler?

Hi guys, Still thinking through how to achieve something. We have deeply nested JSON that comes fro an API, and I want our users to be able to export only certain fields into a csv file (using Wapple…

Mac Update - Big Sur

Hi @scott, I updated to Big Sur yesterday and Wappler is working great on the latest MacOS The OS download size is huge - more than 12GB. The upgrade process also took more than an hour on MacBook …

Using Ctrl-F5 on page with Routing and Parameters

Current set-up : SPA Pages, Windows 10, MySQL, PHP My client has a habit of often refreshing pages using Ctrl-F5 which is fine on most pages, except those Routed Pages with Parameters. Navigating to…

Report design

I want to generate a PDF dynamically with information from the database. Doesn’t Wappler have a report design that allows you to generate / print documents in pdf, spreadsheet, html or doc formats?

FIltering same Data Query into Tabs in the same Form

You can use 1 query and the where() formatter. e.g. serverconnect1.data.query1.where('statuscolumn',1,'==') for a table/repeat expression would repeat the query but only where the status column = 1 …

Keyyed array values

Hi, Try this: getPagesvs.data.data.groupBy('id').keys() It should return you all the ID property values like [1,2,3,4].

Docs for Data Store Component

as for database synching we are actually looking to integrate a great solution: https://pouchdb.com/

Is it possible to update a single item in a repeat only?

Hey all, I have a few repeats that display a heap of data. Some is hidden until revealed by the user. What I’d like to do is update just that row in the repeat, instead of refreshing the entire repea…

Can you return CUSTOM query output as an OBJECT not an ARRAY?

Hi, Have you tried sending the 0th index? In your API call, just do something like: custom1[0] The output will be same as a single query would give.

Force Server Connect to finish before loading image

I have a profile image which has a dynamic src from my server connect sc_user_get. The image shows up fine, but I’m getting an error https://res.cloudinary.com/tripmakers/image/upload/w_150,c_fill,ar…

Help with using drop down select to open 1 of a series of modals

So I’m not sure if this is the best way to do this or not. But I would like to use a select field to let the user choose a particular item that is displayed and opens on a Modal. There would be 4 item…

New user - quick question - DB connection not showing in Server Action

Howdy, I decided to move forward with Wappler after using many other platforms. I am going through videos and training. I have created a database connection to a mysql 8 server in a datacenter and wit…

Deployment Workflow

First of all, I just want to thank the Wappler team for building such a kickass product, really leaps and bounds ahead from what is in the market. Thanks to Wappler, I now have paying customers using…

How Do I Check a Server Connect Field String Exists?

I have a server connect called get_payment. I then want to display a string like this: <p dmx-text="get_payment.data.payment.description.HAS_A_VALUE() ? get_payment.data.payment.description:'A Messa…

oAuth 2 separate scopes with %20

Hello, I’m working with SalesForce oAuth integration and I need to separate the scopes with a url encoded %20. If I put a space in the scope separator in Wappler, the scopes are sent in a url paramen…

How would you loop through records in a repeat (data from an API) to then action that data (e.g. multi-form submit)

Hey all, I have a repeat group, that’s pulling in data from an API. I’m successfully storing individual records to the DB with a hidden form submit at the bottom of the page. What I’d like to do, i…

Dynamic data with cordova and mobile

Thank you very much Jorge, this is the problem, I have added these 2 lines to the config.xml file and it works perfectly … Thanks a lot…

Function Call With A Parameter - What Am I Doing Wrong?

Thanks folks! I got it working in the end… I’m still not sure what was wrong but enough fiddling around fixed it!

Table Repeat Checkbox JSON index API GET and DELETE

Hello, I am trying something similar to the following topic but instead of using server connect, it is all API data source. I am retrieving data via API GET and displaying in a table repeat. I ad…

Dynamic breadcrumbs using nodejs

I am working on creating a dynamic breadcrumb setup on the website I am working on. I have created a pages table that has the title, description, slug, and category setup. I have setup the database i…

How to handle naming conflicts for dynamic table forms

What is the best way to handle tables that contain forms? I’m getting naming conflicts that are resulting in [object Object] being added to hidden fields. For example - I have a form where I’m left-j…

Can we change the array elements concatenator (separator) type, ourselves?

Hi all, We are parsing values through that look like this: 30,000-40,000 And in Server Connect using a custom formatter to split an array to then send to the API. We are splitting the array with , …

A little help please - saving filenames to database

I’ve looked through the documentation and it doesn’t quite do what I want to achieve. I have a form that has a multi file upload. I send these files to a Server Connect action that then processes the…

Issues with Session Variable on page

I have a login page where i need to set the session variable ‘realtor_ID’ to the Query id that is displayed on the page. For instance, the page is using the ?realtor_ID=4 so i need to get that and a…

Prefetching content from different pages

Hello, I’m having a performance issue after migrating to a lesser host (imposed constraint) and I was wondering if the following is possible. The scenario is as follows: Index page shows a bootstra…

addTime with negative values

Please check what value is actually returned from your server action, what you set in the UI does not change the value type, just tells the data picker what data type to expect. I tested and this err…

Correct method to deploy a site to AWS and connect to RDS

You can check the using remote servers section at: And specially the Amazon RDS

Cookies - Tutorial

Hi I am working through the tutorial and have got to Cookies/Storage. Created a Cookie Manager and set field email. Create btn and on click action use cookies.set. It appears in the selected actions…

How to clear 'checked' checkboxes in a repeat?

You should set a key on your repeater. For performance the DOM only updates changes, the problem with checkboxes is that when the user changes the checked state it is an internal state, it doesn’t cha…

Server catch usage

Fixed in Wappler 3.5.1

How to save data in 'DataStore (local storage)' to MySQL Table?

I have used the Pay Now button in the Checkout page as a trigger to post a form. The form contains hidden inputs with the values obtained from the Data Store as in Remember that the Data Store stor…

Multi Steps Form

Hello to all, I am trying to make a multi-steps form. I am following the tutorial exactly as is. My problem is probably with the variable. When I finish my form all the steps keeps open. All the btn …

How to get User ID from Global Security Provider (with 3.5+)

Hey all, I use the security provider in every logged in workflow to get the userID, with globals - this value does not seem accessible. Wondering how everyone else is now handling this? Matt

Modulo operation

Hi, This is an oddity but I need to validate a numeric entry in an input field using the module operator. (The module operation between two numbers returns the reminder of the division between those…

Force users to enter a phone or cell phone number before sending form the Wappler way

Hi. Please remember to put your code between three backticks - ``` The html shows only required attribute. You need to make it dynamic. Please see my code above again.

Advice needed/suggestions on how to insert multiple records

I need some advice or suggestions on the best way to accomplish this. I have a table with records imported into our system, and it’s like a temporary table. I have a search field and the user types i…

One final attempt at eCommerce

Ok, this will be my final post on the eCommerce tools or lack of in Wappler. I have one week left to inform a client if I can redo their site or not before their AGM. (Been putting it off for two y…

New global actions context

Are these executed automatically on each page load or on server start?

MS SQL Server Schemas

I finally managed to set up SQL server in Wappler, however I cannot connect locally (for some reason). The issue I have is that there are 2 schemas on the server and I can only see the one when connec…

Issues when refreshing a routed page with parameters

Current set-up : SPA Pages, Windows 10, MySQL, PHP Can anyone shed any light on what might be happening here? I navigate to this page (a routed page with 2 parameters) and the page shows correctly h…

Is it possible to change the table cell color based on the value in the cell

I have a “due_date” field that, when displayed in a table, I would like to change its font color or the table cell color based on how close the current date is to the due date. For example, if the du…

Route Show/Hide etc Options for NodeJS SPA

You can try using a flow with auto run on the content page, it should run each time the content page is loaded. Same is for server connect and script blocks.

NodeJS show/hide dynamic attribute

I’m trying to copy my previously created php project to a new nodejs project and I am experiencing some issues with being able to show/hide elements on my nav bar based on whether or not a user is log…

How to debug: Uncaught TypeError: dmxRouting.js:7 Cannot read property '0' of null

Hi all, Getting this error: Uncaught TypeError: dmxRouting.js:7 Cannot read property '0' of null at n.update (dmxRouting.js:7) at n.$update (dmxAppConnect.js:7) at dmxAppConnect.js:7 …

Can't Upload to Local Target on creating Routes

Hi Wappler experts, I encountered a problem when trying to create routes in order to create SPA, the error message says “Can’t Upload to Local Target”, is there any way to solve this problem ?, becau…

How to debug: error when inputting timestamp data (from api) into a timestamp DB field (MySql8)

Hey all, Can anyone please guide me how I can debug why I am getting errors when trying to input timestamp data from an API into a timestamp data field in my DB? Getting the following error: ER_TRUN…

Possible in native Wappler: Convert nested JSON (API response) into a CSV, correctly formatted?

Hi all, Wondering if this is possible in wappler. I have an API returning nested (and in some cases, quite deep) JSON. I’d like to convert this into a CSV file that the user can download - but I don…

How to highlight the results of a search?

Does anyone know if, and how, I can highlight the resultant text when I have a search function on a page?

How to setup pagination

i redid everything, there is no query.offset… the option available for that step is query.data.offset (or in my case query1.data.offset) which i chose from the query manager. I also unchecked the …

Hide Button For Seven Days

I would like to hide a button for 7 to 14 days. I have a page that will list the progress of the tasks that need to be completed. The button that opens the first task is the one that I want to hide a…

Ternary operation

The structure of a ternary operator is variable = value ? true result : false result The structure of an if-then-else statement is if variable = value then true result else false result As you s…

How to display source code block?

Here is my use case, I have a code snippet that I would like a customer to be able to copy and paste for use in their website. Is there a recommendation on how to have this code display on a page, I …

I can't get REGEX formula to work for a phone number

If you want to use it for validation, then remove the ^ from the front and $ from the end.

Filter based on data store object values

Hi, See if this works for you: datastore1.data.groupBy('provider_id').keys()

Container condition

If you want to check if a single query is empty use: !sc_BookingReview.data.q_BookingReview This will evaluate to true if the query returns no result.

Action Scheduler with Server Connect and Flow to Javascript to Update element.innerHTML

Thank you very much Sid, I got it to work with this: dmx-text=“serverconnect1.data.tt_notifications_counts.data.data.travtrax_notifications_count_classification[0].data.class_0”

Modal not appearing on page, but appearing in 'preview' of dev tools

Hi all, Not sure if this might be a bug. I’m trying to show a modal based on data from a SC in the layout page. The condition is essentially != “active” - so it should display when the specific fiel…

Files not found on remote target due to mixing project server model and docker target server type

But have you chosen in the live target options that the web server is a NodeJS server?? Because it is trying to start Apache php server while you are saying you want NodeJS …

Passing values to partial

I was wonder about this: <%- await include('/partials/_table', Object.assign({ title: "Departments/Units", name: "Departments" }, locals)) %> Can I pass values to a partial like that? And if so, ho…

Nest response from Server Actions

Hey, no fair adding new requirements! You have to select the fields to include, on the repeat. produces: { "user": { "user_id": 1, "username": "mebeingken", "email": "ken@uniqueide…

Calling a Server Connect API from another SC call

We often call a server connect function from a different server connect call, by using the API Action. This works well, and allows us to reuse a complex database query and checks etc. However I’m wond…

Problem with parsing API

Looks like i have it sorted. Photos repeat needs to reference back to the top of the tree

Most efficient way to add 'coalesce' for updates Update

I have a ton of tables in an app I am building and services that may/may not have values at any point in time. What’s the easiest way to coalesce a null value for an update statement? When I use the …

Issue with API and boolean fields

I am using an API for a site which I sync against once a day The API returns a number of nested objects. Here is the schema To process the API i simply repeat through the various nested objects a…

Google Diaglogflow - Authentication using service account key

JWT signing was implemented in Wappler 3.4.2

Select dmx-on:changed doesn't run function but dmx-on:blur does

Can anyone explain why this works using dmx-on:blur <select id="select2" class="form-control" dmx-bind:options="sc_tripbits_list.data.query1" optiontext="title" optionvalue="tripbit_id" dmx-bind:…

Medium editor problem

medium editor doesn’t works ! link: https://assistenza.decoresin.com/test.php I don’t view a toolbar

How to View New Lines in Database Fields

There is no question. This is the answer to a problem I just had! I created database content with a textarea and then tried to display it with <p>{{field_name}}</p> and the new lines were missing… S…

Data Formatter for Average on Client Side

Antony, there is an Average formatter available which does exactly this: Also I see your values are stings so you will need to convert them to numbers when doing the calculations …

Define global sessions vars

Is there a way to define global sessions vars ONE time, or do I have to repeatedly enter that variable name in every single server action’s “$_SESSION”? Just seems a terrible idea in case I ever neede…

Strange behavious on table repeat

So are you trying to check the checkbox if the database value is 1? If yes, you need to use: dmx-bind:checked="loaded == 1"

Combine API data with Database data

EDIT: After some help from @sid I now have a much better solution than I originally had so I’ve deleted the original post to avoid confusion. The substantially better way to do this is… A few not…

Join 2 API Server Connect Results

I have a GET request Server Connect API Action https://xxxxxxxxxxx/myorderlist which returns the following { "myOrders": { "status": 200, "data": { "$totalResults": 3, "$resou…

Login using an existing Wordpress system

I am switching over a client from a Wordpress site to a site within Wappler that we are developing, however the current users that are in the system are all from Wordpress signups. I don’t want to ha…

Convert Object to JSON

I have an object from a server action and wanted to convert it to JSON. I tried JSON.stringify() but it doesn’t seem to be support in the expressions. What is the best way to convert to a JSON strin…

Help with Chart Group By Count

try chartData.value[$value].sum('activity_cost') in the values.

Server connect auto reload

I am not referring to the flow component. There is a component called Action Scheduler - use it: And set it up to 1 second:

Multiple records getting inserted

Autoload is the default. You need to select this checkbox:

Date & Time does not display in browser when a formatter is applied using Node

OK, it is now working. It seems that the dmxFormatter folder did not upload to the server. Sorry guys, I should have checked that earlier. (it was a very long day…). Thanks for the responses and he…

Subdomain routing (Express)

Do a simple url rewrite of the url in your custom middleware. Following will prefix all urls accessed from the api subdomain with api/. exports.handler = function(app) { app.use((req, res, next) => …

Server action in mobile app

Please check the docs:

Having Troubles Submitting a Form Within a Repeat

I’m going a bit crazy here trying to do a form within a repeat. The form has not submit button, it just does a submit on:updated. I know this method works outside of the repeat! When the textarea va…

SC question - should setting a Response stop the proceeding Server Connect Action Steps?

As above, concluding our stripe integrations at the moment - I had Set Response ‘200’ at the front end of he SC actions, and this stopped all proceeding actions from being actioned. So just wondering …

Best way to create new 'production' docker contained app with external DB

Hey all, So we are close to wanting to start creating our production environment. We’ll be using a Docker Machine on AWS - I want to create the project correctly the first time so looking for some a…

Help please - class toggle within a repeat

I have a form where I want the class of an icon to toggle based on the value one of the inputs. The difficulty is that it is a multi-item form generated within a repeat. As such the names/ids are set …

HTTP Request Methods

Hello Wapplers! I was reading the article below and wondering how I would use HTTP request methods when creating an REST API with Wappler. For example: HTTP GET http://api.example.com/device-manage…

Remote Database connection advice

Hi guys! I’vejust moved to a new hosting (wpxhosting) for one of my websites and they don’t allow remote connection to the db. Could you help me understand the process during design in wappler? For…

Image upload error when over 1mb

Indeed. Most probably is a php.ini file directive. Check upload_max_filesize and post_max_size

Dynamic Data (only mobile chrome?) - PWA

Hello everyone, I’m using @ben’s PWA boilerplate for an app. It’s all working fine on desktop, browser and firefox mobile, but when using mobile Chrome, data are not updated when my admin’s app upda…

Flows: How to Hide a button while flow running?

Hi Brad, you can use: dmx-bind:disabled="flow1.running" where flow1 is the name of your flow.

Use inputs without form for database query

Hi! I was wondering how we could get the value of input fields (and checkboxes) without having to use a form to access them in a server action? With a form the variables in the server action can be a…

Data View Pagination for Repeat Server Action

Hello all, I’m trying to add Client-Side Pagination for a Repeat Server Action with Data View as has been suggested in other similar topics on pagination for Repeat queries. I have set up Query Para…

Flows: Set Input Value and Close Modal

Figured it out. You can actually do both of those using the Run command in a flow. I love Wappler!

Strange characters on page

latest 3.4.1 xamp, windows 10. After the latest update I am seeing a lot of odd characters, see image attached, this is the paging default, the other image keeps putting symbols in front of currency …

How to do contact send mail with Nodejs App

please tell me how can i do send mail contact form with nodejs app in wappler.

Syntax Issue on custom formatter hjson file

Your code is a bit incorrect. When you have multiple formatters you should wrap them in [ and ] It was stated in the docs as note So just put a [ in the beginning and ] and the end of your code

One to many left join

Yes, you would use nested repeat regions. One repeat for your jobs and within that repeat another repeat for images with top applied to it.

Null Comparison on SQL Server Query Result

Hi, Trying to do a ‘null’ comparison on a column returned from custom query. The query is set as ‘top 1’ so it returns 1 row always. Output in console: This condition is being returned as false…

Can You Help Me? Javascript Function Call Causing Page to Re-load

Create a button inside the form. Set class d-none. Set the dmx-on:click of button to submit the form. (Or, you can make it a submit button. I don’t use it this way because user may hit ‘enter’ on an …

How Do I Stop A Selected <select> Item Disappearing When the Options are Updated?

YIPPEE! I’ve done that and it’s fixed the problem perfectly. Thank you soooooo much @Philip_J!

How to sum POST variables?

Use the To Number formatter for each of the POST vars. So your code becomes: {{$_POST.totalcost.toNumber() + ($_POST.unit_cost.toNumber() * $_POST.units.toNumber())}}

Medium Text Editor - Input / Update / Change Text Event

Have an other update. The updated event still triggers the same, but filtered out a bit for the changed event. It should now only trigger on user interaction. dmxMediumEditor.zip (6.1 KB)

API call on button click

It looks like you have created a server connect inside flow. You might need to enable output to access that data inside that. And bind the value via the flow. Else, the better way is to create a serv…

Unexpected routing error

Hey Everyone, I am having an unexpected error on a page after I changed the routing. The issue is only appearing on my live environment that is deployed on DO by Docker, but everything is working fin…

Can't find file when trying to export to csv 'message: "ENOENT: no such file or directory, open '/public/downloads/export.csv'"

The export doesn’t have an option to generate a unique name, you could change the path to something like /public/export/{{TIMESTAMP}}.csv for generating a unique filename.

Problem finding a form to submit a search to return a table or list

I have two select input for for city and state, based on users selection for city and state, I submit a search to the database to return a list of doctors. I don’t want want to do filter. I cannot fin…

Multiple Select Insert to DB

Hi Guys, I’ve got a form which is submitting fine however I’ve added a “multiple select” into it. The problem i’ve got is that if i select multiple values from the list it only sends the last clicked…

Bug on sc reloads in app connect (sometimes)

So if I understand this correctly, you have two server actions that load on click of the button. One deletes & other reloads data. This is where the issue is. All actions are preformed synchronously…

How Can I Simply Decrease a Data Store Field By One?

Is there a simple way to do this? Or is this the only way to do it? prices_to_show.update({id: i_question_type_P.value},{number_available: prices_to_show.data.where('id', i_question_type_P.value, '=…

Recordset with filter condition

I have a client list database query that works fine without an parameters or filter. However, when i add a condition to the query like ‘firstname contains’ i get an issue with the database query runn…

How to hit Enter key and go to new line in a Paragraph

How to hit Enter key and go to new line in a Paragraph. I am typing and need to start a new sentcnce in a new line, in thesame paragraph.

Cannot Preview PWA App

I’m not sure if this is supposed to work or not, but I cannot use preview mode with a PWA app. I cloned the PWA boilerplate project from “https://github.com/Wappler/PWA-Boilerplate” and set it up acc…

Need help setting up custom multi-radio group where only one radio can be selected at a time

This is controlled by the name property on each input—make them all the same and only one will be selected at a time.

Github Branches

In Wappler 3.4.0 now locally created branches are automatically created on the remote when push is done. Also local tags are copied to remote as well.

Guide to Getting the Distance and the Duration from Google Distance Matrix

Hi, today I want to share with this awesome community how I did to get the distance between two coordinates that can be from a map, from a database or written by hand. First of all remember that if …

Best practice Dynamic Checkbox arrays per DB row or seperate DB rows?

Hi Freddy, In order to store the checkboxes as new rows you need to: All of our checkbox names must be the same, followed by [] For example: name="mycheckbox[]" and add different values to them: …

Connecting your Wappler project to GitHub for version control

Connecting to GitHub just got easier in the latest Wappler 3.4.0 Check the new instructions:

Understanding simple app flow

Hi All I am trying to recreate the following: In the main app SPA file (index.html) I fetch data from an API end point. The data gets returned as an object. I then save the data to a variable “My…

Wappler cant fetch the schema of this JSON data

Hi @borbinka2 sorry for the delay in answering you, I created a new post with the guide on how to work with google distance matrix. I hope this helps you. Here is the link: Guide to Getting the Dista…

Traefik SSL Let's Encrypt

Hello everyone! I’m trying to install Traefik on my temporary domain (freenom). Before the installation of Traefik and portrainer both www.mydomain and http://mydomain was working. After the instal…

Security and server data on a full page in node

Is there any way to secure a Node page that does not have an associated Layout page? When working in Node, is using Layout/Content pages the only proper way of doing it? Created a page in Node under …

Database validation equal / not equal to

@transcoderm you can use a condition step to check if user is active. In the ‘then’ step add the steps that need to be executed if user is active. In the ‘else’ step add a response (for example 403)…

Little help on set value on sc

Hi, hoping can get a little guidance. I have role based setup, I have a session of “admin” (that part is all working). Now as an admin you can load a job into the system and select a userid from …

GIT Tags not visible to other users

With the Wappler 3.4.0 update the tags are now also pushed to the remote and should be visible to the other users using the remote GIT.

Data tables is not updated

If you add new table in your database you should make sure to re-apply the database connection step in server connect - just open the database connection step and click OK. Then it will appear in quer…

Combining AND with OR in Database Query

You can use the Add Group (folder with plus icon) to create groups and combine them however you need. Random example:

How can I change the local folder path for an existing project?

First remove your existing project from Wappler: Then use the Open Existing Project option to open your new project folder:

How to use 'File/directory pattern' in the Search area?

Can someone please explain what this does and how to use it?

Dynamic image file source from DB and S3

I could solve this one somehow by myself. I leave my screenshot here for my sake.

Issue with Modals in Node Content Pages

Yes and yes…just tried on a blank project. I’d focus on clearing the error in case that is blocking something from loading properly.

SSL and Making a Database Connection

My site uses a SSL Certificate. When I create a database connection would I need to turn on the “Verify SSL Certificate” and enter the SSL Certificate into the “SSL CA Certificate” field?

Www and non-www certificates in Docker

I want users to be able to navigate to www.mydomain.com or just mydomain.com but as far as I can tell, there is only the option to assign and get certificates for a single domain when using Docker (I’…

Swiper on modal active slide based on thumbnail click

Hello I have a Swiper slideshow inside a modal. I would like to set the active slide based on the thumbnail clicked. Using the following code dmx-on:shown-bs-modal="swiper1.update();swiper1.slideTo…

How to manually create update form

What are the steps to create an database record update form manually using Wappler? I see some examples using form generator, but I want to do it all manually. Do you have a video or documentation for…

Problems with displaying a database field created with summernote

Yes, there’s an easy way to render the HTML tags on your page. Instead of binding data directly on the page, select the element you want to show it inside, add new dynamic attribute > display > inner …

Password Reset - Part 2 - Status 500 error when updating password

There seemed to be some issue with the Form I had setup on the html page. I deleted and re-created both server action and linked html page and this resolved the issue. The passwords are correctly upda…

Automatically scroll down chat div

Hello, I am trying to automatically scroll down the bar to see the new message when I submit the form. Or when the page finish loading. How some reason, I am not sure if the scroll smooth work on th…

Smooth Scroll - Is There An "Element Minus A Number of Pixels" Option?

Sure is. Just enter it in the offset for the Smooth Scroll element: You add the element name you want to scroll to in the ‘onclick’ event (usually)

Zoom Connect SMS API

Thank you Patrick for your assistance, and what a simple solution it landed up being. Adding .txt to the URL forces it to plaintext, so a simple url alteration from https://zoomconnect.com/app/api/r…

How to convert imported CSV output JSON into a different JSON structure

Hey all, I have a CSV file that has 3 columns, first_name, last_name, company - that when I import and output, this outputs the data correctly: The JSON query I need to send via API is: { "re…

How to change the contents of the help text

OS info Operating System : Windows 10.0.19041 Wappler Version : 3.3.6 Problem description I have a Bootstrap 4 project, and added a form and form input group When I select my secondary text inpu…

Docker Upload file - Permission Denied

I’ve deployed my app to a docker server on EC2 (what a PITA!), the problem I am having is that in my app I upload an image. When uploading, I’m getting a ‘permission denied’ error. If I update the pe…

Connection issues to server database

Anyone else having this sort of problems before i report it as a bug Same servers as I always use, same settings as I always use but just can’t make a database connection even though i have done this…

Rendering strings that reference variables

Hi, I was wondering if there is a way to have a string stored in a database that contains “references” (I think the proper term is bindings?) to variables rendered after interpreting those references…

Role based query

Hi, me again. is there anyway to have a role based query, I will try to explain. I have a page in /dashboard - secured by login. On this page I display that users bookings, that user only sees their…

Svg viewbox

Hello I am trying to render an svg graphic. It is a simple box and want to be able to manipulate the viebox values. Currently the html code is <svg style="background-color:#eee;" id="second_box" dat…

Unable to show mysql db view in a bootstrap table

That’s a known bug in MySQL version prior 5.7 with PHP. You can fix this by opening the database connection options and set the Prepared Statement menu to True.

How Do I Disable Clicking Outside of a Modal?

There is an option called no close on click in the UI.

How to setup background image in wappler

Hi Guys. Please help me. I cant set up particular image as background .

Cut a string of characters

Hi, I need to cut the left part of the character string to derive the Key name of S3 from the signed upload URL. I have to delete the first part (server1.s3.wasabi.com/) I tried to use SubString bu…

Error Installing Node Packages On NodeJS 14

Your NodeJS version is too new and not all packages support it. Please install. Node 12 LTS

Encryption at Rest - Establishing a Connection

Database: MariaDB Production Server: Linux Development Server: Docker On the Development Server, I have created a website that is connected to an unencrypted MariaDB. Everything works fantastic. O…

Possible in Wappler to turn an uploaded (by user) CSV file into JSON?

Yes that is exactly what the Import CSV action in Server Connect is for. It turns the CSV file to Server Connect Data that you can process with other actions or just output and you will have JSON.

Autorun flow by condition

Hello can someone help me understand app connect flow. I have custom url scheme for when my cordova app is opened appname:// I save this to a Wappler variable to use within the app. function handleO…

Dynamic background image

I don’t think you copied my code exactly as i provided it. Please just open code view and add this to your div: dmx-style:background-image="'url(/carimages/' + serverconnect1.data.inventory_details[0…

Full calendar not initializing properly

Ok so I added the calendar update size function to the on click event of the button and it works perfectly now. dmx-on:click="calendar1.updateSize()" Thank you very much for your time.

Calendar entry for days of the week

Using the number representation (0-6) for days of the week works great for recurring events in calendar entries but how do you represent every other week for theses events?

Make data repeat horizontal

But this is just some include page you cannot just run it like that in the browser. It needs to be previewed in its main page.

Table Resizing

I hope this makes sense, the current table is hidden for mobile while, for the mobile, the table is located inside the card body

XML Imports

I’m trying to test the XML import feature, but whatever I try I keep getting an error stating the element is missing from the XML file. We want to be able to parse the XML and provide this as a Serve…

Animation Trigger & Target

Hey guys! This is probably basic but, does anyone know how to trigger animations on a different target with Wappler of course? An example will be, a Sticky navbar(target) scrolling into view, when th…

Odd bug on regex

fixed it, doh, had a 2nd rule of alphanumeric only I had missed

IndexedDB

Does anyone know how can IndexedDB be used and accessed within Wappler?

Binary file returned by server API

Is it possible to call a remote api from server side and capture the binary file that is returned? I can’t seem to find how to save that file to a server folder. Thanks! –Ken

Is it possible to pass a full JSON query (with data bindings within) from a server action form input to the Server Action for use in API Action call?

Hi all, Working on our ElasticSearch query a little more this week. We’ve been playing with custom JS but it just feels like there should be a way to do this within Wappler UI. Based on some advice …

Condition in Flow Editor/Action Steps Confusing

I think you are not reading the responses correctly. Or the question is not clear on what you are after. All suggestions are Wappler specific only. Create a flow which executes the server connect. …

How secure is API Data Source?

The answer to your question is quite simple and straighforward. If you are dealing with and sending private api keys or secret keys in your API calls - use the server side API tools. This way they are…

Fw7 dynamic Dialog + dynamic event DMX

I use Fw7 ver 4.5.2 local I create a dynamic dialog with a select: $('.mediatek_filter').on('click', function () { app.dialog.create({ title: 'Фильтр мероприятий', text: '<div…

Modifier - Once

Can you explain what the modifier once does? Which brings me to my next question, what is the best way to avoid the double click on submit buttons. Seeing double entries at times

How do I check if an image returns "Status Code: 404 Not Found"

Another method is to use ‘If File Exists’ in server connect. Here, after performing the query, I use a repeat to check if there is a corresponding image for each record. I don’t actually want to do…

Email verify

Is there a way to verify the existence of an email address before sending the email ?

How to store/save a previous set of form inputs as a 'save search' function?

Hi all, I have a form with 29+ inputs that I’m using to create a search query to an external API. I’d like to provide the end user with the ability to ‘save’ their search, which is essentially a comb…

Wappler jquery library elements (e.g. datepicker, autocomplete, etc) not working with jquery-steps library

Hi guys, i’m using the jquery-steps library to create a multi-step form wizard. Unfortunately if I use any of the wappler elements like date picker ,range picker, auto-complete, etc inside the librar…

Image overlay

Hello, Please, how to overlay a image on another image? Thanks.

Slideshw and image resizing

Hi, I have a slideshow with dynamic slides. The images have the same hight (horizontal image 1200x800, vertical image 533x800). I don’t want vertical images are risezed to fill the slideshow width. Ho…

How to get the query to show in 'pretty print'

In the documentation here I see the query shown pretty printed: easily readable: When I test my own query it shows up like this: How can I get it to show more readable like in the documentation?

String split to array to Select Component

So its just an issue of timing. Try this: onclick="setTimeout(function(){$('.selectTwo').select2();},300);"

Mobile App, Scratch Card

Sure. Create a new mobile blank project in Wappler. Add the platform(s) you want to test (iOS, Android, Browser, etc.) Download the scratchcard.min.js file from the link on the repository I linked …

Assign query results on client side

I would like some advice how to best approach a relative simple challenge. I have a table like this: +------------+----------+ | QuestionID | Answer | +------------+----------+ | 1 | Ans…

Server Side Title Not Rendering in NodeJS SPA

Well just enable the internal attribute on a link: and add a dynamic attribute for the title: the resulting code will be: <a class="nav-item nav-link" href="/page2" internal dmx-bind:title="'my…

Possible to use preloader in only a section, or just the 'content' part of a NodeJS page?

Hey all, Using the pre-loader takes over the entire screen, which is fine in some cases but not great in others. Just wondering if it’s possible to control where this displays somehow. E.g. it takes …

Framework7 - Anyone know how to launch two pages into two separate views with one link?

Thanks guys. I figured it out. I used Dynamic Events instead of Static Events. This added the following code dmx-on:click=“app.f7view.navigate(’/pages/inbox’,{})”

How to do a Internal Browser Goto

All good. I was expecting a new “navigate” thing based on the discussion here. So didn’t bother clicking. Internal option is now included.

Using moment js in Data View Filter

I have a date view that looks like this: <dmx-data-view id="dv_completed_today" dmx-bind:data="sc_getTasks.data.api1.data.List" filter="moment(mx_Custom_46).isSame(moment(), 'day')"></dmx-data-view> …

Trying Ternary for the first time as a 'middleware' type action from API data

HI all, As some know, I’m building a complex search function in Wappler via our ElasticSearch services API. This is what I’m not trying to achieve: Return records from the end-users search. Check …

Session variables not active in Browser View

Well sessions created in App Connect are browser sessions. Sessions created in Server Connect are server sessions. These are totally different things.

Medium Editor Input > DB but when I then display that 'text' field on the page, it's full of random code and ilegible

When binding did you use the Inner Text attribute or Inner HTML? I suspect if you change it to HTML it will work. In the code view, it is easy to change just make dmx-text= into dmx-html=

Framework7: Server Connect does not work on Content page

@kfawcett Your server connect needs to be inside the page element in order to load:

Form field doesn't POST value?

Well then just remove any serverside validation from the POST variable in your server action

Full calendar customisation

Dear all, I want to change the toolbar and header calendar settings in wappler. Can you please assist me how to make it. For example i want to hide the calendar title or to disable all calendar contr…

Calendar menu today month week day

I think you will have to apply some CSS to the buttons to hide them by adding the attributes to your custom css file .fc-prev-button { display:none; } .fc-next-button { display:none; } .fc-to…

Dropdown - dropdown items all operate as 'links' even without a link

You have a few options to fix this. Either use: href="javascript:void(0)" or href="#" or use the prevent modifier:

Api response returns plain/text instead of json

@JonL @patrick @Teodor @George @ben I understand there are many updates happening but can someone offer some guidance to this issue?? does anyone know how to properly handle serverside api resquest…

Database Manager: Connection Error - Local Docker

Checked my Docker mySQL configs and Change host “db” to “localhost” and to port 9906 and is working now! Thanks!

Doing maths

You can use two variables to make the things easier (just add them in the app structure). So let’s say you call them varWeight and varVolume. So your weight var will be: <dmx-value id="varWeight" dm…

Dynamic replace

I have a form with a select list where the value is a number (id) Now I want to add a field that will convert the given number into a value (currency). For now I have it as static values like: <inp…

Node.js : Deprecated Error Messages

While setting up to explore and work with Node.js, I noted these error messages: Installing Node Packages … npm WARN deprecated flat@4.1.0: Fixed a prototype pollution security issue in 4.1.0, pleas…

GIT not showing more than 2 weeks of commits

Hi, I can see no more than ~2 weeks of GIT commits. The earliest I see are commitments made on Sep 15. Is remember I used to see my entire history. Has anything changed? How do I access commit…

A bit of guidance needed - Datastore to server action

Hi, Looking for a bit of guidance. I have a Datastore with multiple records which I need to insert into a database wit that server action. If anyone can recall seeing a post/guide or have the time …

Suggestions for the best way to do something

Have project that I am working on that is driving me mad, so I thought I would try and get some suggestions from you all. What I need to achieve is a training schedule with trainers. So each Trainer…

Form Sucess, show modal and then redirect

You can use flows for this. In the flow show your notification/modal then set a wait step for 3 seconds and then do the redirect. Run the flow in server connect form success dynamic event.

Validate Database Data in Action Step

I have Validate action step and database insert action sptep It works great but when the validate condition (does if database exist) is true the actios step is stopped Why ? @Teodor

Copy data from Data Store into database

Serverside: Use Database Multi Insert: This will give to $_POST values: Clientside: Use the Form Generator to produce the form, bind the values from the Data Store to the value of the inputs. …

Autocomplete Input Field

Autocomplete component is now available in Wappler 2.2.5

Insert a full JSON response into MySql 8 db field - tried json, text

Hi all, Getting an error when trying to output JSON from an API directly into a MySql 8 field. I’ve tried the field as ‘text’ and ‘JSON’ type, and also outputting the API response directly, or using…

Hiding table if server action returns no resul

Try using the default formatter like: <td dmx-text="costcenter_balances.data.load_totals.load_totals.toNumber().formatCurrency('$', '.', ',', 2).default('NO DATA')"></td>

Learning NodeJS

Thanks Ben. I restarted it. However, I will restart it again. I found the issue. It was some links that I put in the two layout pages. Once I removed them, and then restarted Wappler and the app thre…

How do i find the latest date?

Hello, I have 3 date input fields. Different dates are written in these 3 fields. I need to find out which is the latest date between these 3 dates. How can I do this?

Repeating a varying number of unique values into a JSON output file - how!?

Could be a bug in the groupBy formatter, please try following update. Replace in lib/formatters. collections.zip (1.1 KB)

Firing static event (JS Snipper) - with dynamic user data - is this possible? (we use segment.com)

Hi there, We use segment.com in our original implementation, which we wish to remain with. I was able to easily fire an identify call/event with static events with an example, but, I’ll need to pull…

Best practice to track 'credit' use overtime (e.g. 100 credit allowance per month, and display how many used in that month)

Hey all, Wondering what might be the best practise for this, not necessarily Wappler specific, but in general. The two ways I can think of doing this: Use of a table to capture each single credit …

Class toggle with repeat element

Your class name is using capital letters: SenderMessage while the dynamic class attribute requires using only lowercase. You can create a class like: .sender-message { background-color: #2FA4E7;…

Find and Replace on One File

Cmd/Ctrl + F Then click the arrow on the left to dropdown the replace box.

Data doesn't display

Thanks @sid and @bpj, I solved it, the problem was (or what I think it was) that I was connecting a Database stored in my computer, but it was outside of the container/project folders, so it couldn’t…

Change user account

Hello George, You can use the menu > logout and quit option. Next time you start Wappler, it will show the login dialog.

Framework7 "platform" refresh

I’m testing F7, how can I refresh the “Platforms/android” with my new code ? is it automatic or do i have to click on something… At this time, i’m lost, because the two directories are not synchroniz…

How to nest flow editor after form submit?

You need to run the flow on DONE dynamic event of the form. At that point you will be able to check the form submission result. In the current setup, the condition step runs immediately after submit…

HTML - Formating data in dynamic tables

Hello, You need to use dynamic attributes > inner HTML option. In the code it will produce the following: <td dmx-html="your_value"></td>

Date Range Picker doesn't apply automatically on initial load

I am initialising a date Range picker with today’s date as start and end date. However, it doesn’t apply automatically once the page loads. The user has to go apply it manually as in the video. How ca…

Error When Trying to View NodeJS Remotely

Excuse my novice status, however, I need to know what this means so I can remedy the issue: const server = require(’./lib/server’); server.start(); This shows up when I try to view the page in the …

Migrating wappler files to another computer

Hi Rick, You will need to set them up again. But Wappler makes it easy as everything is stored in the Wppler file. When setting up the project just select to open an existing project and all your set…

Firefox: Cookie has been rejected because it is already expired

Hello everyone! I’m having this issue on Firefox. My web app works perfectly on Chrome, but shows problems when running with Mozila Firefox: I have no idea how to solve this! Best

How to call a REST API with path parameter?

I found documentation about how to call a REST API with query parameters, but nothing about path parameter. For example, how to call: https://api.company.com/orders/AKL7315901 where AKL7315901 is t…

Error on phpmyadmin with Docker

It worked! I leave what I did here, just in cases. docker network connect yournetworkname_default myadmin(whatever you named)

Browser warning appears even with the certificate

Hello Miwa, Most of the time it is because there is some non-secured links or URL. Reason: When a website use a SSL certificate ALL URL most start with HTTPS instead of HTTP. If any url is not in …

Creating a 'middleware' of sorts with Wappler

Hey all, So on our ElasticSearch project, we have our main interface that returns results from our API > ES query. Our current implementation (non Wappler) has a middleware that loops through all re…

Setup SPA in NodeJS Project

I am not able to Setup SPA in NodeJS Project, do u have any tutorial to make routing. The tutorial which i found on documentation is different from current wappler setting. Current we are having mor…

Perloader with restricted action file

Actually, just figured it out. I put the server connections inside a condition also. So if the condition of the user does not meet the access level, it does not try to load the server connections.

Z-index content page

Put the following styling for your <header>: z-index: 999; position: relative;

Median value MYSQL

Hi, I want to run some statistics on our table, I have Mean and Mode etc but struggling to write a query for the Median and STD Deviation. Has anyone done this before, or have an example they could s…

How would do an INSERT with JSON data from an API all in a server action?

My schema is showing up ok (I saw your bug post) as its not that nested. So you’re suggesting using the set-value action? I mean it seems its the element in the server action that can grab the value…

API SC Action - Pagination!

Hey all, Having a bit of a love affair with Wappler today, making great progress. One thing I’m stuck on, is I have an API returning document data (JSON via ElasticSearch), the documents can be in t…

API JSON Nested Data - Is the only way to display nested data in a repeat group by using multiple SC Action repeats?

Gentle bump - trying to avoid going down any other rabbit holes if this is the only way to achieve this in Wappler? As an expansion - On the actual data returned, and useable in the repeat group - I…

Calendar Event

I added events in Calendar component from 3rd party API. the api response structure is as following: { “requestStatus”: { “success”: true, “version”: “v1” }, “sessions”: [ { “id”: 146879752, …

Little tip - adding a placeholder to a select field with dynamic data

Hey all, I use dynamic data in my select fields and wanted to add an instruction as a placeholder to avoid needing labels in the UI. You can’t as far as I can see achieve this with Wapper UI (althou…

ERROR: Cannot locate specified Dockerfile

Maybe you renamed your docker target or project? Go to the project settings and reapply them

Server Connect Trigger Redirect

It’s actually pretty easy to do. All you need is to check the setvalue step value and if it matches what you need then do redirect, otherwise don’t. So using the dynamic events (on done) of the serv…

Count items in array by value

I have a SC API that returns an array of IDs, is there an easy way to use data binding client-side to count the number of items of a value (matching the id of a repeat item) Something like: {{arrayo…

Is it possible to convert Dynamic URL to a cleaner, SEO-friendly URL

Hi, I have created a dynamic link (set up as a Route) which filters the data on a html page by product_id parameter. The dynamic url looks like this: https://abc123.com.au/tech-sheet.html?product_id…

Setting a hidden field value with JSON from Javascript and use update event

Hi community, I’m quite familiar with updating a hidden input field (using it’s unique ID) & triggering the hidden field’s update event to use the passed value… But, how do we pass a JSON instead o…

Getting wrong checkbox state

I was trying to store the value of the checkbox state in a datastore field because I have a multi step form and I wanted to store the value so that I can use it in other places, but unfortunately it i…

API Works but Won't Load Values for DB Insert

Hi there! I have an API call to get variables about a home property (lot size, etc). I’m running it on the server side as an Action Step. It works great. The lot size and other info are under the…

Significant performance difference using Wappler API Action (SC) over our existing non Wappler build (JSON API Call)

Hi Wappler team. We are trying to move over a search interface to Wappler that uses an API that calls an Elastic Search service within AWS. When we use this in our existing app - we are trying to re…

Pagination Generator with Data View Table does not work in NodeJS

Hi @patrick, thanks for your help. You brought me in the right direction. I had correctly selected the Data View source: but forgot to change the Paging Source:

Creating partials from a page and navbar question

If I create a page in nodejs am I able to later turn part of it into a layout and the body into content pages or do I need to plan that out first. And secondly are the BS4 Navigation components in wa…

Server Action Unpacking Nested API JSON results

Couple things you can try: You don’t need the last_id set value action as you can just point directly to the identity of the record_insert for your batchId (unless of course you are using that else…

Math Calculation

You can store your initial value by using the Variable component. Then add a button to your page and set a dynamic event on mouse click to add 1 to your variable value. (var1.value + 1) You can the…

Is it possible to use conditions in a JSON array?

Hi all, I’m working with the Places Autocomplete to get a place_id, but I then want to make a follow up call to the Google Places API with the place_id to get an accurate address format for my specif…

Blank date sends 0000-00-00 00:00:00 to database

My update form sends a value of 0000-00-00 00:00:00 when I submit a record. I want it to be null. Is this a form setting or a database setting? MySQL on a .asp page

Server connect form validation error required keeps coming

Hey all, All of a sudden two forms, that I haven’t touched recently have stopped working. One presents a weird output, too, not the usual error of the server connect: {"form":{"rec_id[agency_id][in…

Time picker visual

If you don’t use custom styling on the input it will use the browser default styles. This is different on Safari (iPhone) and Chrome (Wappler).

Has Items and Inline Flow Editor help needed

Wappler Version : 3.3.2 Operating System : Windows 10 Server Model : ASP.NET I have a multiple records query which returns a list of classes. On my form, I use a school number to get a list of c…

Server connect actions from different projects and CORS

Yes that is a CORS issue. If you are going to access a server connect actions from a different project or mobile app you need to enable CORS in the global settings of the server connect in the projec…

Touch events and JavaScript

I got it thanks! works fine now ontouchmove=" var s = $(&quot;#swiper1 > .swiper-wrapper:eq(0)&quot;); var x = $(s).offset().left; dmx.parse(&quot;swiper1x.setValue('&quot; + x + &quot;')&…

Time display in charts

I have a column in my table with time values in the format “15:08:10” How can I plot these in the chart so that the vertical axis dispays a range between 00:00:00 - 24:00:00 ?

Fairly complex nested repeater db

thanks everyone, I got it working I think, I was over complicating it, i already had my repeater giving me the quotes, i should have just added a server connect repeater in that setup to get the messa…

Alerts as cards

Well, if you create a card and style it the way you want it to be, you could aways just use dynamic settings and events like Show/Hide or Animated region etc so that it triggers on success of a form l…

Got an error "RangeError: Maximum call stack size exceeded"

But this makes no sense. Either use a submit button OR use a regular button and run your flow. You can’t have both. IF you want to use flow, just set the button type to regular.

Formatter doesn't exist for type number

require_sponsorship ? 'Yes' : 'No' Not scary, just something new.

Get User IP Address

Try this: {{$_SERVER.REMOTE_ADDR}}

Help with updating table with cummulative totals

I have a table with AMOUNT and MONTH columns. In a third column (CUMMULATIVE_AMOUNT), I’d like to update the table with the dynamic cummulative total for each month. I’m assuming this will have to b…

Pushing to GitLab: failed connecting to agent

Try the toggle Use local SSH agent. In most cases just leave it off unless you have a local SSH agent running.

Toggle a class based on two variables?

You ca use the class toggle like: dmx-class:myclass="dynamic_date >= input_start_date.value && dynamic_date <= input_end_date.value "

Is there a document.readyState for SPA pages?

Is there a " document.readyState === 'complete' " type of thing for SPA pages? Basically, I am asking if there is a way to detect when everything has completely loaded on an SPA page including sub-re…

SPA when user not logged in routes incorrectly

Hi! I’m working on an SPA website. I’m using index.php as the login page, and then the SPA home is CustomerHome.php. So the “home” path is /CustomerHome/ And the Url is /CustomerHome.php I can lo…

Update Two Tables With One Form

You can certainly put as many update steps as you need in your server connect action. I believe I have as many as four tables being updated with the same form and server connect action.

Data Views: When and Why?

Trying to wrap my head around something. When and why would you use ‘Data Views’? Anyone have any good examples?

Need help with setting up a custom query using $_GET parameters

I’m setting up a custom query to display the monthly totals based on some conditions (filters). The first part works well without the conditions, but as soon as I add the WHERE conditions, I get an e…

How to filter and show the value of array from ServerConnection

App fetched array from ServerConnection. Need to get a value under a condition. (maybe, javascript, for, if, map, filter). and show the value in UI. How to implement it?

Set variables from javascript (object)

I understand you now, you can use: dmx.app.set('user', user) Which will make the user object available under dmx.app.data i.e. directly available to be used in app connect as dmx-text="user.age"

Correct parameter to remove (replace) section of text in a string in db field

Once you have clicked the Select button to save the replace step in the Data Formatter, you can edit the code it produces in the data binding view. And change the code from $_POST.industry_expe…

Calendar select items

Hi, I have an upcoming project and one of the requirements is to show items on a calendar and allow the user to select them which will create a meal plan. So in the below, you will see it’s planned t…

Using Framework7 or Electron

I’ve never created a native application using Framework7 or Electron. I have several web applications that are dynamic. It would be great to convert these to desktop and/or mobile applications. So my…

App Connect action scheduler - does this persist when user is not logged in?

Hey all, I have a Node project, and while we don’t have any server side schedulers - I’m looking at trying to make use of the AC action scheduler. Will this scheduler function only while the user is…

When linking to a file it adds a .before the /

When linking to a file in the properties tab it adds a . (full stop) before the / eg: ./tickets How can we stop wappler from doing this? It messes up the navigation, especially when building a hybr…

Preventing the Design View from running restricted access

I have a page that restricts access based on the login info, but when i open that page in Wappler, it automatically sends me to the login screen and i am unable to preview it. is there a quick way to…

Proper Autocomplete for Addresses via OpenStreetMap

I’ve saw already some nice articles about autocomplete. But maybe this one could be very helpful. Any suggestions how to implement that? I guess about 90% of all wappler Users need some simple on…

Server Connect - 3rd Party API JSON data - How to make nested array data available in App Connect Data Picker

Hey all, We are querying a third party API, when I review dmx.app.data in the console, I can see the full array data per record, on each data point. However, I can only select the ‘array’ in the dat…

Rest api wordpress /wp-json/wp/v2/media/

Hi @Teodor I have this json request with wordpress rest api. I need to post image. I can create a new post with api action but to post image i can’t run it . Can you tell me how to do it? Thank…

Query sort order - cannot add my field

What do you mean? Just select the column in the left side of the dialog and click the Add + button.

Get Price Range on Server Action

It should be there as per below. The filter does change based on the type of field you select, so if your field is set up as text or varchar field in the DB it wont show BETWEEN as an option. But an…

Drop down menu active link from url parameter

So are you wanting it to show either active or inactive, and if they click on the drop down, it will show the other option? I.e. what you have in the pic apart from the job status title? If so, I’m …

Question re database manager

Actually that is the root of your problem - you have different connection names per target … and everything is connection name based. So we store the changes per connection name. Actually those chan…

How to Do .where(field contains xyz) on Client Side

contains? message_templates.data.message_templates.where(`message_topic`, 'Apple', &quot;contains&quot;)

Conditional display page area from URL parameter

Hi another silly question from me. So I have a URL parameter setup, active / not active. I have this working lovely with my DB query, so if my URL is active=1 I only get active jobs, if it is activ…

Delete Query is Not Working

please try to resolve my issue.

How to display more than one record from a query on the same page

Hi, sorry for asking this dumb question but I just cannot work it out and have searched and read and tried a few things. I have a query that returns multiple rows. I want to show these on the one p…

Index Start with Zero

As Ken explained, you can do: {{($index+1) + ' - ' + data_description}}

Issue with design view on release 3.3.1

Hi Everyone, I have imported a wappler project from a Git Clone, and everything worked fine except for the design view in wappler for the newly cloned project. The design view for all the pages I hav…

Issue with publishing to remote repo using Git manager

I got it fixed now, the problem was that in order to upload files to a new remote repo, the repo has to be completely empty otherwise it will not work, so I deleted the previous one which I had, and c…

How would you split up a text string into 3 values that can then be used in a SC?

Split creates an array, so you should be able to get at the individual items using the index for each. For example, the first item is: $_POST.ac_input.split(',')[0]

Download from Digital Ocean Space

Hello Everyone, My web app is working great with upload file do Digital Ocean Space, using the amazing S3 Connector. But now, I need to implement a download button. On server actions, I created a Do…

API Data Source and Google Autocomplete

Google Places Autocomplete has been integrated in Wappler 3.3.0

Image dynamic source re-download and DOM update

Thanks Teo! Not working at all but you enlightened me! I tried your approach and realized you probably didn’t see my comment that the file name didn’t change so the URL would be the same. From a rea…

Date validation doesn't work as expected

<input id="date1" name="date1" is="dmx-date-picker"> This is what I get when I add a new date picker. Please try adding an ID & NAME to your code.

Database Connection in Server Connect does not show sqlite db

Hell Keith, Have you defined it as a server connect connection in the database manager? Then it appears in Server Connect

SAve file tempate Server connect

ok it’s workinh with {{$_GET.iduser}}-{{$_GET.filename}} otherwise I have twice the extension thanks

Send js variable to App variable

The browservalue variable is a JS variable. When you pass it to dmx.parse inside double quotes, it assumes that its a DMX object, which does not exists. Hence the value that gets set in the session is…

Responsive full-height in Bootstrap

Hi all, Wondering if anyone has successfully managed to get an element, e.g. a sidebar to be responsive vertically with Bootstrap 4? I know it’s possible - and I’ve tried about 4/5 different approach…

Retrieving List of files in S3 Buckets

Are you sure your repeat expression is not wrong? Please try with: serverconnect1.data.listFiles1.Contents

How to solve dmxvalidatorerror

It seems there was id’s conflict. I could solve the problem somehow. I did the following things. this is for serverconnect and parameter. <dmx-serverconnect id="eventnameck" url="dmxConnect/api/…

Docker files not being pushed to git repo (remote)

Hey team, Looping in my dev to help out now with some of the custom items that aren’t working on Wappler. Can anyone advise if/why the docker files would not be pushing to remote git repo?

NodeJS - How to bind a page title to a layout page - quick guide

Hey @mgaussie Thanks for this little guide. Actually there is one available in the docs

Repeating Insert Malfunctions

Great. I took a quick look at their api response, and it is an array at the root of the response. You can see this from their api demo. It starts with a square bracket, which indicates it is an arra…

Offering Stripe and PayPal on same checkout page

Has anyone put both Stripe and PayPal onto the same checkout page? I currently have Stripe working fine but want to give the customer the option of PayPal instead. I have buttons to show/hide the two …

Adding dynamic attributes

try dmx-bind:stroke-dasharray="{{(scProjectsAAIWCAGScore.data.qrProjectsAAIWCAGScore.sum(`AAIW_Score`) / scProjectsAAIWCAGScore.data.qrProjectsAAIWCAGScore.count()).formatNumber(2, '.', ',')}},100"

Force device orientation?

Is there a way to force a site to landscape orientation on mobile? I need to make my shopping cart site more mobile friendly today. Not a big deal but I know some of the tables like checkout won’t fi…

Questions on App Connect Calendar

Hi, I read both docs (Getting started with App Connect Event Calendar and App Connect Calendar dynamic events) and they were great to get me going with this widget. Unfortunately, I have several que…

Dynamic Route Link in Emails

Aah, OK. Just write the URL in manually: https://boxoffice.wlstudiotheatre.ca/order/{{OrderID}} (whatever the variable is for the dynamic_value).

Shopping Cart: Final Step - The Customer receipt

So if you already have that working then you should be able to add a query to your endpoint script which returns all the lines in the order (order_details or something like that?) which can then be u…

(aws rds ) Direct Data Base Connection and Server Connect

I have a direct connection to RDS ( AWS ) this connection does not appear for me to use it

I am using Docker and I would like to know how to have 2 databases

I am using Docker and I would like to know how to have 2 databases

Moment fromNow function

Here is one way…including a (optional) customization of what is returned. dmx.Formatter('string', 'timeFromNow', function(val, format) { moment.updateLocale('en', { relativeTime : { futu…

Full page load - with NodeJS templates

Hey all, So my understanding when using the template function of NodeJS, is that for example if I have a layout page, with a top nav menu on every page, and then different content on each view - that…

How to validate form input value realtime?

Hello, Is it possible to validate form input value realtime, especially to check if some word exists in db or not? If this is impossible or pain in the neck work, how can I make the error message po…

No local git repository for one of our projects

As above, for some reason no git repository has been created. I’ve unhidden the folders/files too on my Mac and no .git in the project folder. Any ideas?

Adding Rows inside Cards?

You can just add it manually: <div class="row”></div> probably we just missed to add it as an option there (in the card body).

Custom switch - static value

Hi there Quick question, working with some switches, if I set the custom value to 1 - as I believe is correct, does this just mean by default the value when the switch is ‘on’ is 1, not the default …

Cropping and S3 upload(client)

@patrick @Teodor @patrick Pinging you all as I don’t know who built the feature. I am integrating cropper library . So far so good. Kapture 2020-09-02 at 10.42.57 But I need to be abl…

Remote CSS with visual tools

Have many sites to work on… But have only access to css files Is there a way to edit remote css files… with visual tools… and have live preview of remote URL Thank you for any idea!

Shopping Cart: Line Item Totals

Thanks Max! I was able to get a good hint and got pointed into the right direction and it now works! Thanks for the direction! This worked for me! {{(ticket_price.toNumber() * ticket_qty)}}

Security question

I just create a form where is possible to upload clients applications in .pdf. there a way that we can restrict that document to be accessible only in the app created in wappler or something like that…

AWS RDS Connection

Maybe try this:

Need help with svg

In order to render HTML on the page you need to use the Inner HTML dynamic attribute, available under Dynamic Attributes > Display menu for the selected element. Select your binding there, don’t dire…

Server Side Rendering & Security in NodeJS with "Static" Pages and SPA

Hi. I looked at the NodeJS docs & it talks about server side rendering & applying security using the LAYOUT page as main & separate other content pages. I am trying to build an SPA with NodeJS as se…

Recurring SC Actions/Server side Scheduler (e.g. do X every 1st of the month)

Hey all, Starting work on our subscriptions/products - one item, we’d like to give X credits per month, that renew each month. I’ve taken a look at purely SC actions, and don’t see anything obvious …

How would I return a max number of records from a multi query SC (not limiting on AC)

Yes, that’s how you do this. When you want to limit the results of a query, just use a paged query and put a limit.

Refreshing Database Schema

Hi there! I’m still pretty new to Wappler. Hopefully you can give me some help. I designed a “sign up” form. It inserts a phone number in the DB just fine, unless someone used a dash (I can explain…

Cannot connect via FTP

Hi, I will appreciate your help. I read the manual and 4 or 5 posts on this board about setting up the ftp connection. I’ve done this with a few dedicated ftp programs so am not a complete newbie. BUT…

Summing 2 values

Got it - the code is now… dmx-text="(serverconnect_totals.data.query_totals[0].ma_area_strengthened.toNumber()+serverconnect_totals.data.query_totals[0].ma_area_established.toNumber()).formatNumber(0…

Drop Menu CSS Question

Hi Brad, There’s a very useful “Force State” menu in the browser dev tools. It simulates a state, such as focus, hover etc. So you can preview the styles applied to it: And if your menu is current…

Repeat where value is null

Hi folks, I have a repeat row from a Server Connect API connection that I only want to return the top 7 records. This works as expected. <tr dmx-repeat:users="serverconnectUsers.data.apiUsers.data.…

Variables at the server actions folder level

I hope I’m explaining this right, but I want to be able to use variables at the folder level: Which I then can use in the underlying server actions, like {{folder_variable}}. For instance I want to…

Route parameters separator questions

The name of route parameters is made up of “word characters” ([A-Za-z0-9_]). The route example.com/level1/:firstname-:lastname_:id will result in the parameters firstname, lastname_ and id. You see th…

Data store or disabled?

Hello, I’m building a server connect form now. Like this link, I would like to use multi steps to fill in the big form. And same as this link instruction, I would like to put “back” button to go bac…

Read data row by row from textarea

I want to copy the phone numbers into the text area and add them to the database by reading row by row. textarea does not contain html elements and how should I read these rows row by row? ( I need s…

Node.js template - partials - can these be used within a repeat region as the child, and so the data will change based on the data bound to the repeat?

Hey all, Still building out our app - we have a complex API query to ElasticSearch that returns data - wondering if it would make most sense to use a partial for the way we present the data (a card) …

Extra Database tables: wappler_migration and wappler_migrations_lock

Those two tables are for Wappler internal usage and tracking of the applied database changes. So you can just ignore them.

S3 Upload - How Do I Create and Record a Unique Uploaded Filename With AWS S3

I’d love to hear what the folks at Wappler think is the best methodology with S3 to achieve what I wish to do… The user experience I need for a multi-user app is: The user uploads a file which is t…

How to mask a telephone number with 10 digits

Hello Everyone, This is my first tutorial here and hope this masking format with Wappler will be useful for some people. In this example, we will try to change the format of the telephone: xxxxxxxxx…

Using existing javascript variable in flow?

Your solution works correctly, you indeed need to wait for the DOMContentLoaded to set a variable on the app. An alternative is to set it on the global scope, you then don’t have to wait on the event …

Wappler documentation to be updated?

HI Wappler team. I have found the documentation very useful and easy to follow, but it is now outdated and wonder how relevant it is now? Are there plans to update the docs? Cheers!

Correct DB structure to Return results list that matched multiple tables

Hey all, One part of our project is a dynamic directory that includes specialists, the industry, skills, location (city, state, country) and services. I had in my mind how I’d make this work, but wh…

How to Enable Form Validation

Make sure you have added App Connect:

How can I click various links and make different info show in the same div?

Hi, I’m trying to set up a two column layout where a user can click on a link in one column and the results show in the second column without scrolling or opening another page. Here’s a demo. Click o…

Cant set cookie on click

Hi I am following this tutorial to add a cookie alert (https://docs.wappler.io/t/creating-a-cookie-consent-alert/18543). I have followed it to the letter, but, when I get to the step: Then select t…

Mega menu dissappearing when tab clicked

<script> $('.nav-link').on('click', function(event) { event.stopPropagation(); event.preventDefault(); $(this).tab('show'); }) </script> This co…

Possible to create transitions in Wappler without custom code? (e.g. on scroll top header menu transitions from transparent to white)

In the update for tomorrow we have added transitions to the design panel so you can use them directly

Issue with 'Password Reset Functionality: Part1'

Ok, then if you added a standard query, just select it in the picker

Previous button for multi steps form in Dynamic Modal keep closing the Modal on click

Your Previous buttons are set to toggle the modal: <button class="btn btn-secondary" data-dismiss="modal" dmx-on:click="var3rdwrldapp.setValue(var3rdwrldapp.value-1)" data-toggle="button" data-target…

How to set a permalink with number adding?

Hello, that’s already explained in the routing docs.

How to use phpmyadmin with docker?

Also try this and copy here the error. docker network connect yournetworkname myadmin myadmin container needs to exist before running that command so don’t delete

Using dmx.app.set variables across pages?

I have a flow that runs the following javascript function: function stripeSubscriptionGet(firebase_uid) { return firebase.firestore() .collection('stripe_customers') .doc(firebase_uid) .collection…

Avoid rendering an HTML element via server-side condition data

You can use all features from ejs templates, so conditions should work. <% if (_('condition')) { %> <p>Do not render this paragraph</p> <% } %> Use _('expression') to evaluate server connect express…

Create password and send email

If you hash the timestamp once, take that as the new password (or first 8-12 chars of it), then hash that with a salt to store it, you’re about as random as it gets. I would get the timestamp, do an …

Node.js - Upload folder

If you want to make all files public accessible then you can add an upload folder to the public folder, it will then be directly accessible. If you want to protect the uploaded files, prevent public a…

Set End Date input field to Start Date

Don’t use the onapply dynamic event here. On the end date field add a new dynamic attribute and select the start field value as a value for it.

POST serverconnect on iOS

Found it! In the FLOW component, tick the “Direct” property:

S3 Wasabi Error

Ok, i have the answer then i can tell you, first the secretkey was wrong … second remove the https and left only s3.eu-central-1.wasabisys.com for the endpoint It could be good to have a test button …

Overwriting file on update form

Make a serveraction “update” Make the database connection Make a databasequery and name it “deleteimg”. In Query builder select the table to be updated, then select the column for the “Image”. Under …

Hiding and Showing a Section by Clicking a Button

Thank you, bpj. The procedure outlined in the documentation is exactly what I followed, and it did not work. Now, I discovered the issue. When the article was first published it applies to an earlier…

Is it possible to secure the entire app on Node JS instead of applying it to each page?

Yes indeed applying a Server Connect Action with Security provider in it, to the layout page, will result in using all the security on all pages used that main layout. You can just assign it in the A…

Form fill condition

Hi all, I have form which user must fill on monthly basis. please advice how to set a rule which will prevent the user to send the form if filled data exists in answered table (fill date time field …

Complex query builder connecting to ElasticSearch via API

Hi all, Right now on one of our main apps, we query a significant amount of data via ElasticSearch and return this in a repeating format. The interface has over 29 different filters currently, inclu…

Getting started with Database connections

Hi! I’m still trying to get my head around wappler & the supporting tools I’ll need to make anything. So many concepts to take onboard, wish there was a “wappler for absolute dummies” book available …

Best way to store entire data from an API call on the page so it can be reused?

Hey all, I have a SC Action API Call that gets about 50 datapoints. I use a SC Form on the front end to send the data to enrich on to the SC Action. By putting an ‘output’ on the SC Action API Call…

How to extract text between <> characters (server action)

After slamming my head against the keyboard I figured it out (and obliviously its very simple) for anyone else whoever runs into this I used the split formatter twice. Put the following after whateve…

Bootstrap table select all remove all using checkbox

Hello, that’s quite easy to achieve. In the header add a static checkbox and add a name/id for it: In the table repeat region add another checkbox. Add a name to it as well. It needs to have a dy…

Best way to query external data API when F/E has 29+ fields that can be used simultaneously

Hey all, This complex part of our project is rearing it’s head this week - so need to get into it. I was hoping to leverage the forum’s expertise to get started with the right Wappler components to …

Dmx.. forders files path access through a subdomain

Hi, I am experiencing error 404 for accessing files in different dmx folders … from a subdomain. Exemple : The folling path in my file dmxAppConnect / dmxValidator / dmxValidator.css is read from…

Ternary operator do nothing in else

Then it would be: dmx-on:click="some_var.value == 'abc' ? serverconnect1.load() : false" And please when asking questions make sure to explain what exactly are you doing. This saves us time asking d…

Issue with date/time being changed to UTC (probably not a Wappler issue)

Hey, Hoping someone can offer some advice as not sure if this is happening because of NodeJS, PostgreSQL, Wappler or my fault I have a separate DATE and TIME field in a PostgreSQL database that i h…

How to use "smooth scroll"?

This is for the Smooth Scroll component For the button that gets clicked to go to hit the lightning bolt Where you can choose the Action Off Topic:

Set and read session data via jquery ejs file

I am currently developing a Braintree payment integration which requires to call an UI using jQuery. This works so far. I implemented this step in the code section. However on button submit inside the…

Downloading from dynamic data source

I am looking to set up downloads where the source is a filename stored in a database table field. This is because the downloads will be a long list (eventually) The download component doesn’t seem t…

Dropdown value to database

I got a form in a table that is submitted on blur of a select input/dropdown menu from which a category can be selected from a database list: I get an error from the SC action that there is no val…

Table repeat for api data

I’m brand new to wappler and have created a repeat table using api data source. The in-app design/wappler preview shows the table with data as expected. However when running on server the table does…

Make Repeat Children - table rows disappear when expression is selected

Hi, I have added a table to display customer information from an MSSQL database. I have setup a Multiple Records Query type. When I try to bind the table to the query, as soon as I click on the “Mak…

Select to array and visa-versa

I have a database table that will hold a list of tasks, each task will be assigned to one, or multiple authorized users to my app. I have created a query in server connect that lists the users, and h…

Reseting a Form

Hi Brad, This did indeed solve the issue. Thank you, Bruce

IN vs FIND IN SET

I have a row which holds some values in a comma-separated form For example 2,3,6,8 Each one of the values represents a foreign key from some other tables. I am trying to filter these values using a…

Filter a query based on multiple checkbox formgroups

Hello. Based on this example from @Teodor Filtering Database Query with Multiple Checkboxes I want to execute the same but with multiple categories of checkboxes. In the above example, @Teodor is u…

API - Send a file using POST

Hi, Is it possible to send a file using an API (POST method) through the API Form + File Upload? If so, how? Thanks.

Uploading file to SC

We have a need to upload an to a SC API using other software. We’re testing this by using curl but it doesn’t seem to work. The file uploads, but is not stored in the folder - we reflect the filename…

AWS library?

I note in the latest update there is an AWS library provided. We don’t use this library, however it seems that this is still copied to our site - is this necessary? Maybe in the grand scheme of things…

Set start/end time for Full Calendar

I tried it but not working the way I expected it. The business hours emphasizes certain time slots on the calendar, like this https://fullcalendar.io/docs/businessHours-demo I found it under the set…

Show only the actual user data

Hello to all, I am making a dashboard where the user have a unique user name that is a number and also that number is the sponsor field for another members. How can I just show the members of each us…

Firestore onSnapshot doesn't rerun dmx.app.set?

Thanks for the tips on debugging Patrick, that’ll be useful in general For whatever reason the onSnapshot method started working today

Microsoft access and json as database connection and classic asp support

Hello, Bot options are supported in Wappler. Access db connection is already supported in the Database Connector. Also, there is a JSON data source component which can be used with your JSON data s…

Real time updates without page fresh Node or Php

I am about to start a project where I will be wanting real time page updates without the client having to refresh their browser on their end. I am assuming that I would want to use a node based proje…

Has the security action option dissappeared from 'Routes' - NodeJS project?

Hey all, Hope i’m not going mad here - but it was super easy to apply the security action to each page in the routes section for my NodeJS project - in face, I think I was told that is the correct wa…

Header / Navbar overlapping content

Hi there, I’m sure this is a very simple answer, but over the past couple of days I’ve encountered this problem. It’s like the header is just completely ignored. It is a sticky navbar, however this is…

Is there a way to get browser data such as referrer, source, medium etc. in Wappler?

This thread gives you a good list of everything that you can do with the App Connect Browser component.

Navigate to page when event is triggered

Solution: I added a Browser component to redirect users. <div is="dmx-browser" id="browser1"></div> <script is="dmx-flow" id="logout" type="text/dmx-flow">{ run: {action: "{{browser1.goto('index.…

Conditional statements

Is there a way without knowing code to make calculations between two or more user input fields fields and displaying the outcome? I have tried for years to grasp php so just cant do anything at the …

Load SC on input interaction (e.g. click)

Hey all, I have a large simple list in a DB table that I don’t want to load on page load - so I have turned off auto load. I’d like to then load this list as soon as the user interacts with the auto…

Empty value conditions

I got trouble setting “if empty value” conditions in both AC and SC. In app connect for example, I want to show an element using a dynamic attribute only when a certain database field (checked with d…

Insert into Data Store - No options

HI All, I’m trying to insert some value in my data store on “app load” dynamic event. But have no data picker or static options for the kind of data to insert into? What could be the issue?

Filtering and Sorting from an API Data Source

So I brought in the API data by connecting it via the dmx-api-datasource and then using the dmx-data-view in order to filter the data and dmx-repeat to display it all. That works fine but the problem …

Docker deploy error - no matching manifest for windows/amd64

Hi Jay, Somehow you have enabled Windows containers on docker while you need Linux containers. Just right click on the docker icon and choose switch to Linux containers.

Table Numeric Sort Order

I am needing to sort a table in numeric order (i.e 1,2,3,4,10,12,14 etc.) but it appears to be sorting my the first numeral only (1,10,12,14,2,3,4). Unfortunately these values are stored as strings…

OAuth2 Token Handling - How to Relate Session Tokens to a User

Sessions are maintained by your web server, it sends a cookie with a session id to the user’s webbrowser to recognise the user. The sessions will timeout after a specified timeout, this often can be c…

Installing Cordova not accepting my password

Hmm, seems there was a little more to it. I have now installed Homebrew, GIT and then Cordova via this command: sudo npm install -g cordova and this time it all worked fine. Wappler now shows it a…

OpenLibrary API issues

I’m trying to get data from the OpenLibrary API into a Bootstrap Generated table. I have a database query which returns a list of ISBN numbers and then a repeat which gets the information for each bo…

Database Manager: Convert MyISAM to Innodb

So I am starting a small project for my wife and decided to try out the database manager. When I go to add fields to a table I get the following error. Is there a way to convert this in the databas…

Bind input ID in event action

Is it possible to bind an input’s ID in a dynamics event action? In the data bindings window, I can only select "value, disabled, validationMessage, invalid. I have this: <input id=“question2” nam…

Acces data in partials

How to acces data from page in partials? Is there any way to do that?

Keep Calendar Cells From Collapsing

What I had to do is set the class fa-content-skeleton between 125 - 150px. This has given life back to the fallen cells.

Keep An Initial Record From Showing in the Form

I want to filter through existing records via text input so that I can populate a form with client’s data. It all works great with the exception of the initial page load. When the page opens the first…

Exposing different information depending on authorisation

We need to be able to expose different information in a SC call depending on the authorisation of a user. I don’t just mean the authorisation level once a user is logged in, but also we need to know i…

Using dynamic data to populate existing PDF

OK so trying to do some research into how I can populate an existing PDF form from a Government department and populate it with out customers information from a database. Has anyone done this before …

API does not work due to CORS

Try this @AdrianoLuiz <meta http-equiv="X-Content-Security-Policy" Access-Control-Allow-Origin: https://EXAMPLE.COM; Origin: https://EXAMPLE.COM"> May have to play around with variations:

Node.js and DB connection

I have tried them all, but using node.js it is impossible for me to establish a connection to the MySQL database on the server Error connecting: connect ECONNREFUSED 127.0.0.1:3306

How to setup filtering when using URL rewriting?

OK… I sorry bout that. the vids . I had the wrong variable. Works now.

CAROUSEL MULTIPLE ITEMS ONE PER TIME It is possible?

Inside Wappler carousel is possible multiple items one per time? This is for logo supplyers? Thanks

Count the number of items at various stages (e.g. how many records per kanban stage) in a repeating region

Hi all, I’m sure this is simpler than I’m making it out to be. I have a repeating region that’s displaying a single datatype. Within that datatype I have a reference to another table of another dat…

How to get full url in nodejs?

I need to return the path of the Host or the entire url

How do i size an image as a watermark ontop op the image?

How do i size an image as a watermark ontop op the image? I want the watermark image to be sized… so its only 30% of the main image… is that even possible? I have looked at the infogram… but i think…

Flow - Run vs Run Flow, bootbox dialogs

What is the difference between the Run & Run Flow? I can’t see any difference expect for the icons used. Thanks. Also, are the bootbox dialogs under the “Control Flow” category duplicated accidenta…

Server Connect: Looping over the array received to form the input for another server connect

Hi, I have two server connects. The first one returns an array of objects as per wappler’s design. In that object is contained an id field. My next server connect accepts an array of ids to return d…

Google maps resizing at different breakpoints

I’m not able to test this at the moment but are you using Bootstrap for the page layout? If so, try setting the map width to 100% and then set the columns to different sizes for each breakpoint.

Query for current year and defined month and day

You are doing 2 different things, formatDate and DATE_FORMAT are not the same functions. DATE_FORMAT is a function from MySQL and is run on the database, the NOW() returns the datetime in the timezon…

Go back but retain filter

Yes, there is a much easier way. Personally I use session variables. On change of your form fields set session variables to the value of your input for each input you want remembered. Then on those i…

How do i implement a set of java-script files into my web-app

Hi there wappler community, Im back with another question… Currently just trying to add a couple of JavaScript code files to my login page but its not working at all… Im currently hosting the app fro…

Get TEXT of Select HTML Control

Could not find any option to get the TEXT part of Select HTML control. So, used the current index of select control as index of server connect query to get field directly. Server Connect: serverconn…

Ios-deploy is missing!

I used this command & it worked, I’m not sure of the implications of using unsafe. sudo npm install -g --unsafe-perm ios-deploy

Display number of days from a records 'created_date' to the current date

Hey all, I’m trying to display the number of days on a record since it was created but can’t seem to find a logical way to do this with conditions or components. Appreciate any pointers!

How to debug a page not rendering at all (and no errors being thrown)

Have you added the Moment framework? See the frameworks toolbar icon omg the app structure panel.

Google Firebase Issue

Hello Again Wappler Community! Im back with a new issue of mine. I am still learning the ropes on server connection and previously just had WAMP installed to run the app locally… But now i am tryin…

Sorting tables when SC is set as noload

What is the best way to sort columns of a Bootstrap Generated table when the SC data source is set to noload? The method I tend to use is having Session Storage to set the parameters and it works well…

Limitations with Data Formats (which could be less limited)

I think there are inevitably limitations to what can be done with the formatters etc. However, there seem to some anomalies when dealing with expressions which could be created at least partly with th…

Unable to find Security Provider Enforcer - NodeJS

I suggest you to start with the NodeJS category in the docs: https://docs.wappler.io/t/about-the-nodejs-category/22088 And check the following tutorial:

Subtitles to video player?

Would it be possible to attach subtitles/transcripts to the App Connect Video player? Is there a way to access the video source’s time code?

Use PostgreSQL extension and other external libraries in Wappler

I want to use this extension library for PostgreSQL in a NodeJS Wappler project. How can I do this in a way that the functions are available in the Server Connect database query modules? And more in…

How to get data from server directly to a input box of a form?

Hi all I’ve been long time trying to get data from server directly to a input box of a form and nothing had worked. It is possible on wappler?

Several doubts

Hi @vicentepc Here’s my stab at answering your questions… a) Does Wappler provide a component that allows you to edit text and image together, similar to Microsoft Word, offering the possibilit…

Changing Background Color Seems To Not Work At ALL

Have you tried clearing your browsers cache?

SQLSTATE[42S22]: Column not found: 1054 Unknown column

This is the issue. You need to check the name/spellling and query etc.

Git merge

Hi, I don’t know how I merged them once (like the bottom of the image) But now I can not merge this pink colored “BestinX/master” into “master”. I’m not able to find even this “merge” on the menu…

Sessions

Please check our docs:

Handling of data outside a conditional

Is it possible to handle data that is set within a conditional statement… For example, we may perform a different query on a database depending on the data passed to the api, however the processing w…

How to set dmx-show correctly

In my opinion it’s better to add a conditional region and move the swiper inside, instead of using a dmx-show. This way it won’t be rendered when the condition is not met.

Triggering a flow from JS

OK, so it appears you can use dmx.parse('flowname.run()') but it wasn’t working for me because the flow was located on a routed content page. It appears they have to be on the main index page. I moved…

Wait after server action

I want to create a server action like this: API action (wait untill API action has completed) Insert API data into database Step 1 and 3 is no big deal, but I’m not sure how I can make the insert s…

Facebook cross-site cookie requests

I embed a few Facebook videos into a website but getting cross-site resource error - has anyone ran across this yet?

Swiper with dynamic image link

Well you only need ONE slide inside the dynamic swiper. It will be automatically repeated as many times as the records count is. Also the image src is wrong. It must be something like: <img dmx-bind…

Change status color based on availability condition

Another solution will be to create 3 classes: .bg-green { background-color: green; } .bg-yellow{ background-color: yellow; } .bg-red{ background-color: red; } And just toggle them using…

How to setup dynamic slideshow

Hello, I’ve read other posts on this community but I still don’t find the solutions. I would like to populate image files from this repeat1 in the slideshow. I set like below, and it didn’t work. …

Sorting on a SUM() column of a Database Paged Query

We have a Database Paged Query (DPQ) configured with a Responsive Table Generator with sortable headers. in the DPQ we have a column which is Aggregate as SUM, ref image: in runtime, when sorting …

Show if different values

dmx-show="(user.data.query1.level == 4 || user.data.query1.level == 8 || user.data.query1.level == 12 || user.data.query1.level == 13 || user.data.query1.level == 14)"

How to retrieve value from the table with other table's data and parameter

You need to pass the parameter to your server action. Creating a GET variable won’t automatically get the param value … you need to select it in App Structure. Select the server action component on y…

Filter data query from another data query result

Here is my problem for today. I have a query which returns Groups (which has a trainers ID) I would like the next query to Filter Trainers (but leave out the ones already in the group) Can not get …

When using Node.js with Layouts button onClick dynamic events no longer work

When you using layouts and content pages, especially when copying the layout/content between them you need to be mindful of the Wappler components that are used and if they are included in the header/…

Increased productivity Autocomplete Component

I have a problem. How big or small I don’t know yet. I create a form where the user must select a railway station. The station is selected by: Special code The name of the station the Route of the …

Font weight inconsistencies

Found it finally… * { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing: grayscale; }

Row totals from another query

If i understand you correctly, this can be helpful: For the second query you can use the aggregate functions available in the query builder to count the items returned.

Only text slideshow?

Well, the Swiper component can be used with any content, not only images. Create a slide and then whatever element you want inside it. It doesn’t need to be an image.

Any way to calculate the running total of values in a multi-insert field before actually inserting the form?

I have a multi-insert form that collects values for quantity, cost, and total cost (calculated value) for each row. I’d like to be able to provide my users a running total of the total costs so they …

Removing datastore from within in a flow?

I’ve got data in a datastore. When a flow executes I am trying to remove all data from the datastore. I choose ‘Remove Storage’ and then i enter the name of the datastore. I guess I"m missing somet…

Best practice - copy DB Schema to a new DB (without data)

If you have created the whole database structure with the database manager, all changes are kept and you just can switch to the new target and reapply them! That is the power of the database manager! …

Generating a site map for dynamic data

I ended up using a program called Screaming Frog, which generated a site map for me, had some pretty good results from it up to now.

Error connecting: connect ECONNREFUSED 127.0.0.1:3306

I think I got it to work. I selected the “Direct Database Connection” button under the Database Connection Properties and then changed my Host from “localhost” to the IP address for my database. I’m…

Rendering forms based on dynamic JSON schema

Hey Everyone, I am using an API that returns a JSON schema for a form, and I want to render that form on a page. I cannot use the form generator because the JSON schema returned may differ from time …

Wappler Image Gallery not uploading correctly?

Hi guys, I’m just a bit stuck on a bit of a problem following the image gallery tutorial on youtube. (https://www.youtube.com/watch?v=FGnd3GJVnUM&feature=youtu.be) So basically the images do upload …

Wappler Server Sided Data Entry Validation

Hello, I just tested this and it appears to be working just fine for NodeJS. Are you testing this in Wappler, or does the same happen in the Browser as well? Btw, you can drag and drop your screens…

Shopping cart

As a starting point, that’s how to put a section on the right side of your page, overlaying the content with 5 or 6 clicks in the Design Panel: And here’s the overlay below the side panel: You …

Stylesheet removes some browser prefixes on save

Well it depends what have you selected in Wappler CSS autoprefeixer options for older browsers support.

Button to Scroll to top of page

Hello @yarycling Use the smooth scroll component to scroll top: Just add some id to your top section/header and use it in the href of your scroll to top buton. Exampler: <a href="#top">Scroll Top<…

Lightbox: is there an easy way to add filename and a caption to each image?

Add dynamic attributes > title to your anchor tag, used to open the image.

Delete Two Records: Each From Different Tables

For some reason, the following does not delete the two records that reside in two tables. I have a table that contains service records, and another table that contains the service status records. Th…

Simple tooltip on button not working

Current set-up : SPA Pages, Windows 10, MySQL, PHP Should Wappler add the js file automatically, and if so, to which page: parent or child? EDIT: I just realised that the JS file was included in th…

Best way to do a simple-ish calculation (sum two fields in a table, convert into a percentage)

Hey all, I have two fields in a DB table, I want to sum those, then I want to divide one by the other and * by 100 to get the percentage. I know you can do basic maths with the operator, but I can’t…

The best way to hide dynamic content loading

Hi, I’m using NodeJS and Docker. If I understand well the page content is served on the client side, so we can see the page elements loading. Like this: Enregistrement de l’écran 2020-07-23 …

Workflow for developing PHP include modules

That is the way that it is supposed to work. When the file is included, it automatically picks the related files up from the main document. This is so that you can edit the included file without ha…

Date formatting and binding

The problem is that your API returns a wrong content-type of "content-type": "text/html; charset=utf-8", while your data is in JSON format. This makes the data to be string which is why you can’t use…

Not able to use data returned by API

But i don’t see form in your example. I see only a server action: <dmx-serverconnect id="sc_login" url="api/User/login" noload="noload" dmx-on:success="cookies1.set('token',sc_login.data.apiSecurity…

Setting session on click

Hello, I’m trying to set session on click though, I can’t choose it from the list. Menu says it’s empty list. I set like the following. How can I make it show on the list correctly? Thanks,

How to use conditions in mail body?

No, The code looks exactly as i entered it: {{$_POST.gender == 'Frau' ? 'Sehr geehrte Frau' : 'Sehr geehrter Herr'}} {{$_POST.vorname}} {{$_POST.nachname}} That’s just a standard operator used in …

How to show if value contain a or b

I have a nav link I would like to show if it is a certain number. Currently I have this dmx-show="(current_user.data.query1.level == 3 || current_user.data.query1.level == 8) Is there an easier way…

Is it possible to upload single image and multiple images info into different tables with one server action?

You need to make the input an array by adding square brackets to the name, as in

Turn Autocomplete into Autosuggest?

Is there a way to turn the auto complete component into auto suggest? t would be nice to have an option when creating it to turn it into an auto suggest so that accepts entries that aren’t a part of t…

Send file in base64

Hello! I need to send I file through API Rest. It needs to be Encoded in base64. How can I do this? I have a file I uploaded to my server files and then send it through an API in base64. Thanks!

Node Js using View info in partial/template

I think that is something that needs to be improved by the team. You can try and add the code manually wherever you need it. flow1.run()

Bring comma-separated values in a field into an array

This must be straightforward but I just can’t get my head around it! I have a field containing comma-separated values (eg. 2,5,11,17) which I want to turn into an array for easy manipulation before t…

How to Insert a Primary Key (Auto-Incremented) into Multiple Tables from one Page

I am creating a Master Record with many Children (normalizing the database). I am using a MariaDB. All relationships have been created (foreign keys). The master record has a primary key that is auto-…

Help on input self value + literal text

How about value ? (value.replace(/\D/g, '') + 'KGM') : null, it will strip all non numeric characters. That way users can only enter numbers and KGM will always be added to the end. Change the regexp…

'on page load' action (specifically, add +1 to a data field and capture URL parameters, such as UTM)

Hey all, I’d like to accumulate ‘page views’ in a database field based on page load and also capture any url parameters and store those in a db field. E.g. UTM data. Wondering what would be the best…

Parallax Effect on image background

I have a couple of background images that are linked in through the CSS. Is there anyway of making these have a parallax effect on them. I know you can do this easily with normal images, but can’t s…

Print after page loads

I have a page with a recordset and a print button, if I use the button it prints fine. I want to have it print automatically (show the print dialog) when the page opens without them having to press th…

API to Braintree / Paypal

We are about to write an integration to payment gateway Braintree (owned by paypal) so we can store and process subscription payments from credit card and paypal through one gateway. We currently do t…

No image in browser

When I launch the browser from inside Wappler the jpegs do not display. I tried several different projects with using a card or just an image box with the same results ?

How to do multiple logic operations

Your OR syntax is a common mistake, as it follows what we would verbalize. However it is actually: (con_user_details.data.qry_user_details.user_role == 'basic' || con_user_details.data.qry_user_deta…

Social Username Routing

Hi, I have been looking at the Wappler docs routing section. Say my database has many users with unique usernames. Then I want them to have their own unique public profile to be shared socially. Is …

I can't create assets folder

I checked again … My bad … the img folder was a level above where it should of been … thank you !

How to show/hide Modal based on a cookie

Here’s a tutorial covering this topic:

How to update cart quantity from text input in table

Working with a Cart that is a Datastore. On the cart I have a text input for the Qty. What would be the best way to get this to update the datastore. Everything I have tried unto now does not seem t…

Creating folders in Asset Manager with Wappler

What have you selected in the project options as assets folder? and does it exists?

What would be the best way to do this with a cart

I have a POS system I am working on and I’ve hit a wall so I’m looking for suggestions I have the products all working, no issues. However there are also gift cards available of which a unique numbe…

When handling dynamic data - is there a way to show default/generic data always?

Select your binding on the page … Click on the magic wand (App Connect Formatter) Then the plus sign in the formatter and you will find the default attribute there.

Date Picker: Dynamic Minimum Date

Guys, there are Dynamic Attributes available. Use them to set dynamic min/max dates

Provide email sending functionaility and sequences to end-users - any open source options?

Hey all, We’d like to find a way that we could introduce email building and sending functionality to our end users - so they could send marketing emails / sequences and drip campaigns - say similar t…

Insert file in database

This is not supported and it is a really really bad practice to store files in your database. Store your file on the server and insert the link to it in your database.

Can Not Connect To Database

Thanks everyone for help. Not sure what happened but i tested the same connection on a different domain on the same server and was able to connect successfully. I checked and rechecked all the passwor…

Cannot Get Routing to Work with Dynamic Content

Almost done with my first Wappler site except we cannot get “Routing” to work. We have checked the docs, community and watched excellent videos by @Hyperbytes and @psweb and have been inspired by @Ant…

Server Action Folder List : Paging, Sort and Search

I have an SPA page that looks at a file directory and returns a list of files using a Server Action Folder List. This works well, but there are thousands of files. This list isn’t created as part o…

[nodemon] app crashed - port in use - waiting for file changes before starting

Thanks for jumping in here @Marzio- I resolved by killing all servers, and then reloading Wappler. Seemed to be an issue with duplicate servers running.

Icons in dmx-text

Use dmx-html instead of dmx-text

How is everyone handling user file uploads? I decided on Heroku, but i'm a little perplexed as we have no file upload function with Wappler?

Hi all, I’m sure I’m missing something - as this is a pretty core requirement for any app - but how is everyone handling file uploads for their users? Simple things like a user uploading their user a…

Need help with set-up of custom query using $_GET variables for use in search fields

Hello, I’m trying to set-up a custom query that joins fields from two tables using the query below, however I get a syntax error with the $_GET variables. Could you please help me with the correct s…

Dynamic account name and normal text for not logged in user

Well something is not right with your getuserdata server action … it returns validation messages. All you need inside it is a security provider and a query filtered by it. No POST vars, no validation…

Recurring issues with security provider (no doubt user error) - main blocker for me right now

Hi all, I have successfully managed to create a sign up + login flow, the dB is connected fine and all schema retrieves correctly. I’ve followed the creating a login doc, and set the remember proper…

Refresh the page when a form is submitted

Just on success log in, reload this server action connLoggedInUser

Data View Question - Use conditions to only return single record from table instead of whole table?

Using a data view will be useful for the project I’m moving from Bubble to Wappler. I’ve read that if you use Data View in App Connect it loads the entire table, which naturally isn’t optimal from a …

Is there a how to for update record that includes update of files

You can set a condition (from Core actions category in server connect actions menu) to verify if there’s a new file uploaded or not. If there is, find the old file in the database using a query, remov…

Autocomplete Search Filter refreshes records after a second

It seems to me you are using the same server action for the autocomplete as the one used to list the records on the page. So when you enter something and select it, it filters the server action and re…

Problems with server connect calls

We’ve had a site running (in test) for the past few months, and yesterday all server connect calls stopped returning data. The response is always success (ie code 200), but there is no body returned. …

Fetching user roles on client side

I promised you how I managed the user permission problem. Actually, it’s so simple I almost feel ashamed to have stolen your time for this matter. All user roles stayed the same except admin which I’…

Catch, Server Connect?

Hey Dave, Normally, if you have not defined any steps under catch and some of the steps in your server action results in an error - then the server action just ends, and an error message is generated…

What is wrong with my expression

dont use sub level for == on GUI

Hide Element If Field Value is Null

value == null You will have to type it in, so just make sure there are no quotes around it.

Hide Element If One or More Conditions Met

On your hide attribute, pick your first condition, then selection operation || (or) and set your second condition.

How can this be done with repeats

If you change the 0 to $index you may find it works. This returns the index of the repeat in place of the 0 so should then work correctly for all buttons in the repeat. I’ve done similar with badges,…

Changing the order of items in an array without database interaction

Thanks @Antony, would be nice to see how you did it. In the meantime I found another way using “replaceAt”, “$index” and “slice” (to get preceding and following $value): ps. if I paste code in thi…

Can any one help with the dynamic collapse in a repeat

Have a table with a repeat on it and below a dynamic collapse, I want it so when you click the row it toggles the dynamic collapse for that row. I have added the $index but for some reason it comes u…

Best practice - multiple server connects for different dB tables, or one server connect with a more complex dB query?

I don’t think there’s a single answer to this, it depends on your situation and what you’re looking to do. One key question I ask myself when deciding each time is… Will you want to refresh the outp…

Add an 'Average' line to line chart

Hi Brad, You can do it in a bit “hacky” way, not hard to do though. If your server action component in App Connect is called serverconnect1 and your query query1 then you just add another data set i…

Quick question about session variables

My login page creates session variables through my server action page. the session name is ‘custId’ . For the life of me i’m not sure how to add the variable result to my page using the data binding…

What do you set as index page, if running your marketing site on the main domain via another platform but the app via Wappler?

For node that’s managed via routing now. You can attach a Server Connect to a route. In that SC you would create the access logic. So whenever someone hits that route the SC would execute and redirect…

Show something if another field validates

On the link, you can use a dynamic attribute to Hide when the input is invalid.

Is this possible with Dynamic Collapse

Is it possible on a page where you have a lot of Dynamic Collapses to do the following: When a button is pressed it closes all open Collapses and then opens just the selected one. I am currently do …

How do you define a user's availability and/or block a date for use in the Calendar component?

Hello. I am trying to use the Calendar component in Wappler. At first, I was trying to use the Date Picker, but my use case seems a little bit complex for this component. I am trying to create an a…

Dev + prod databases - how do you ensure nothing breaks with data bindings etc

Hi all, I’m going to start working with our dev dB which is a replica of our live. I’ve not done this before so asking for some expertise with Wappler - if I’m building out all interactivity and dat…

Make repeat children hides the contents

OS info Operating System : Windows 10.0.18363 Wappler Version : 2.7.2 I am following this tutorial: https://docs.wappler.io/t/nested-repeat-regions/5165 When I click on “Make repeat children” on…

API Data Source running twice

Neil, there are Dynamic Events available for every server action. The Dynamic Events can be triggered - on success, on error etc. Disable auto load for your api step (i.e. enable this checkbox): S…

Formatting Dates

I have a database with plenty of ‘zero’ dates in it like this 0000-00-00 00:00:00 and like 0000-00-00 When I come to format dates, any that are ‘zero’ come out as Mon 1 Jan 1900 at 12:00 am for insta…

Data view datasource from outside of dmx

Okay, the answer lies in this: where Patrick shows how to set a dmx var from js: document.getElementById("var_test_102055").dmxComponent.set("value", "newValue"); In the case of a data-view compo…

Creating a Rich Text Field in Database

Hello, I’m quite a beginner in using databases. I want to create a project page on my website. Each project will be a row in my project database table. Everything fine so far, but how can I impleme…

Moved hosting to new server and getting 500 server error on the backend

Moved from Dreamhost to Cloudways with Digital Ocean server and getting the following error on any Server Actions: { "code": 1, "file": "/home/414917.cloudwaysapps.com/jybzphrvcm/public_html/…

Spinning front-end wheel of App Connect nothing

I worked on a site many versions of Wappler ago… After adding the project again and opening the pages I get the following on App Connect Panel: If any of the admins are not at the beach yet :), le…

Global variables in node js

All system variables are under $_SERVER So you can just print it out to check what is available. To print it just use a Set Value step with the value $_SERVER picked as expression and set the output…

Modal does not hide

I put a big delay on the top of the flow and now it works. Probably it is because of multiple concurrent scripts running together.

Can you set a variable value based on @media condition... i.e. BS4 breakpoints?

Thanks @Teodor. I’ll do that moving forward, i always pasted screenshots as i thought it would be easier to see the code with the formatting from the code view Anyway, that didn’t work as i thought…

Routing Issue with Modal

I thought i’d post the solution in case anybody else ever struggles, SPA’s while difficult to master can be very rewarding and boost the user experience. The solution was to bind the ‘Show’ Dyanmic e…

Styling a custom switch (toggle)

Thanks for pointing me in the right direction! I’m using straight css, so for anyone looking for the code excerpt, this works: .custom-control-input:checked ~ .custom-control-label::before { backg…

How to set a dynamic background image

There is a dynamic attribute called style, which can be used for this - apply it on your container directly. It will produce code like: dmx-style:background-image="'url(/path/to/images/' + dynamic_v…

Correct syntax to dmx-show something on last row of a repeat?

Hi Philip, You can use: dmx-show="$index == items.length - 1" this will show only the last item of the repeat.

Merge Branch Conflicts

What criteria does Wappler use to determine there are merge conflicts that need to be resolved? If a new file exists in the branch I’m merging into master? if a file is deleted? if there are changes…

Checkbox checked values from many-to-many table

Hello everyone! Just found a solution!! I created a custom query and used a MySQL function called GROUP_CONCAT. This function returns rows in columns and you can use SEPARATOR as parameter. This que…

Server Connect condition for past 7 days

Hi Chris, did you add that condition manually or use the formatter? I believe it should look more like this {{NOW.dateAdd("days", -7)}}

Problem loading page once security enabled

I have a page that is working fine, but as soon as I enable site security (by clicking on App, Security Provider Enforcer) I get the following error -: Removing the php code that is added at the to…

What Attributes Should I Set on a Stripe Submit Payment Form?

I’m working on a Stripe payment form, and documenting my experience as a tutorial along the way… see the links below! I have some Wappler geeky questions about how to set up the form… maybe @Teodor o…

Dynamic value for form Validation

Ok, so i think i got it for you. If you add the validator that you want on the client side, i.e. maxlength, you can go into code view and add ‘dmx-bind:’ to that attribute. Like this: In the " " …

Binding a repeat region to a text area

I think you find what you need in this post: Tried it and it works in summer note to.

Server Action Folder List Search Bar

Well just fetch the folder list with a server connect action, use it as a data source of a data view and use that data view for your table with sorting.

Edit user page - password overwrite

condition should be {{$_POST.user_password}}

Great Video Tutorial on Creating Value passing clickable URL to another page

I think everything you may need is contained in this webinar

Convert string to date

Discovered a bug in the util.js, here an update: util.zip (1.3 KB) Formatter should become something like: const { formatDate } = require('../core/util'); module.exports = { dateconv: functio…

Uploading multiple files error

I have a content management system built in Wappler for one of my clients that has been running fine for the last 4 months or so, on Friday the user contacted me saying that her slideshow uploads were…

Highlight updated fields

I do similar things - eg for file upload buttons - but usually show the button disabled. However I haven’t indicated the specific fields which have been modified before, and this certainly seem to be…

Novice JS question for navigation (How to navigate around, e.g. is it routing/page)

Hi all, Getting my head around most - some what I believe to be super novice blockers coming up so please bear with me! I’ve created the basic structure (design of all pages) in Wappler, a replica o…

Class toggle and "or" operator

Might something like this work: dmx-class:classname="(version.value.toNumber() == 2 ) || (version.value.toNumber() == 3)" ?

Drop down menu with the trigger an 'image' (e.g. user avatar)

Hello @mgaussie try please HTML <nav class="navbar navbar-dark bg-dark navbar-expand-sm"> <a class="navbar-brand" href="#"> <img src="https://s3.eu-central-1.amazonaws.com/bootstrapbaymisc/bl…

Node.js on Docker Question

I finally managed to set up a Docker project! If I make a PHP project I can connect to a database no problem. If I make a Node.js project it doesn’t see a database. Which server am I using in a Node.…

Angular Bootstrap with Kendo UI controls

I’m trying to use the Wappler editor for the initial design of an Angular bootstrap framework solution. It works well for standard control but I’d like to add Kendo components to the mix. is there …

Giving Docker another look

Hi @brad, did you download and install docker desktop?

Sequence Number in Bootstrap 4 Table Generator

To add a sequence, add a new column with $index+1 as the value. You can select it from the repeat options: . You could add 1 in code view, or visually or with the code editor:

Inner Text format problem

use dmx-text="api1.data.details.variable ? 'VALID' : ''"

Is it possible to Build SAAS and PAAS (platform-based) web applications with the help of Wappler?

I am thinking of creating a platform based web/mobile app via bubble. But then I came across Wappler. I am wondering whether this tool creates only websites or can also create SAAS and/or PAAS softwar…

Dropdown from a Googlesheet

Hi All, So day two with this product. I have a googlesheet that has a list of items. In this example my sheet has the following ID (Header) TX1 TX2 Very simple. On Wappler I am trying to work …

Any suggestions to stop drop down in navbar turning blue and all the links turning blue

I have a drop down in the Navigation. Works ok, however when you click on the link (which is on the same page) it turns all the links blue and when you reselect the drop down the back ground is blue …

dmxAppConnect.js does not load on some ejs pages

You should switch your project to site root relative paths. Then open and save your main layout page, so that the paths are corrected.

Has anyone successfully built 'chat' between users within Wappler? (Bubble user considering moving over)

As above, It took me a fair while to build chat in Bubble that worked with a logged in user and an anonymous user on a dynamic landing page (creating user to user chat is simple). Is this easily pos…

Help with Table Joins

I am trying to join three mysql tables with not much success. I have three tables: student -------- id school teacher -------- school -------- id school_name -------- teacher -------- id teacher_n…

Capture Android Traffic with Fiddler

You can use the method below to quickly identify the problems that will occur in the android application development phase. It was very useful for me. I think it will be useful for you. Fiddler Downl…

Digital Ocean option disappeared

Sorry i found it in Docker remote

Registering a new user workflow

Hey all, Am I totally missing something obvious here? All the documentation points to logging in a user, and even the register user + login talks mostly about the redirect. I’m coming over from Bubb…

Adding box shadow to individual element and/or in the theme as a default?

In the meantime, have a look at In other words, add the shadow class to the element.

LightBox Tutorial?

I have an action that lists the images for each record. I have already used viewing through LightBox for other sites But in this case I would just like to use a button to start viewing the images wi…

Custom Database Management

Hi, I’m new to Wappler and database management in general. I have some questions on handling newer database technologies that are not supported natively in Wappler. Specifically I’m looking to use C…

Question regarding DB connections?

Hello Wappler friends, Maybe I’m doing something wrong? I am not able to use one MySQL connection to the local docker DB and then when switching to production make Wappler use the remote DB connecti…

Request for Version 3.0 User's Guide

Continuing the discussion from Wappler Learning Resources: @George Now that you have a stable version of Wappler, do you plan on creating a consolidated user’s guide for Wappler 3.0. ? I think it wou…

3.0.0 rc4-golden master - open in browser problems

Your main layout page is outdated. We have changed the syntax few beta’s ago. You might want to recreate it or change the: <%- include(content, { data }); %> To <%- await include(content, locals)…

Database Manager and Decimal fields

Decimal is not available in the “Basic” mode of the database manager. Switch to Advanced mode and you will see the “Advanced” db field types:

Bringing Back an SSI File

If I have turned a section of code into an SSI file, is there a simple way to bring it back again (so undo the “Move to SSI File” function) using the Wappler GUI? Or should I just paste the code from…

Auto Complete and new value

in a form I have a text field that uses Auto Complete by taking the names of the cities from a View that groups the names with GROUP BY eliminating duplication. It works great in finding the names of…

Image size vs Media screen

If you use Lazy Load, the option is available under App Structure Otherwise the option is available under the DOM tag

Node/Postgres RC3 errors on sort/pagination

Osx 10.15.5 Wappler 3.0.0 RC3 Node and Postgres local, but same on docker Getting errors on table sorting and pagination Standard paged query where I select 3 columns from a table {status: "500",…

Adding node.js to an existing wappler project using docker and digital ocean

Not sure if this is an obvious question but I would like to add node.js to an existing project. I have an e-commerce site that I have been working on and it utilizes stripe (the client-side checkout f…

Can you automatically add the - in date picker

I have a date field for date of birth and I would like it to automatically add the - between dd-mm-yyyy Can anyone point me in the right direction ??

Calendar resources not available on unpkg.com

Seems that they standard point the cdn to the latest version and that broke with the 5.0.0 release from yesterday. Here a fix. Edit all the urls from the fullcalendar to include a version number: <s…

Custom Switch Show / Hide DIV

I am not sure what are you doing on your page exatly, but the easiest way is to add dynamic attributes > show to the container: And select to show it, when the switch is checked:

Node.js hosting on cloudways just not winning with getting site live

I am using Cloudways for hosting on a Digital ocean server. Published my app to public_html folder and changed .htaccess file to redirect correctly with the following config: RewriteEngine On Rewrit…

Custom Query: Paging and Sorting

I thought I saw this topic awhile back but can’t seem to find it. How would one go about adding paging and column sorting to a custom query?

Is there any way to deal with XML responses for data

No, there is no way to deal with xml data sources in Wappler. You need to convert it to JSON first.

Using Wappler's GIT

Hi, I’m trying to wrap my head around GIT and realized that I don’t understand the difference in Wappler’s GIT UI between right-click “Checkout” on a particular branch and selecting that branch from …

Create URL Encoded String

URL encoding formatter has been integrated in Wappler 2.6.4

Can you stop a dynamically checked checkbox resetting on form reset?

Hi, It may sound strange, but on form reset i want it to revert back to its original state, which was pre-populated with data from a DB query. The other fields in the form (name, dates etc) all rese…

How to Do .where Equals Anything

Hi Antony, The equals operator always expects a value. An empty string (what an empty inputs returns) is also a value. You can do this like: input_age_range.value ? contacts.data.where(`age_range`,…

Collapsible card in repeat region

The idea is that inside the repeat to use dmx-bind:id and not id With dmx-bind:id you can pass dynamic values to the ids of the collapsible cards so they are unique.

How to change the width of modals to a specific % based on page width?

Thanks @ben ! I ended up using the following and works a treat! .modal-lg { max-width: 60%; min-width: 400px; margin: auto; }

Dynamic Event Calendar Node.js

I want to create dynamic event calendar using node.js for back end. I have seen a couple of posts where someone says they want to implement something and then response would be that it is not yet poss…

Dynamic Radio Button Group In A Form

Is it possible to create a dynamic radio button group? Something that would look like a static radio button group, but in this case, a dynamic radio button group. Thanks for your help or suggestions. …

Theme Panel: Justified Paragraphs

I am probably just not seeing it but on my sites I prefer that all paragraphs be justify aligned. I can’t see anywhere in the theme builder to set that? Am I just not seeing it? I know I can add a cu…

setValue input field

Is there a way to patchValue instead of setValue on an input field? I have a button when clicked, sets the value of a field. However, there are a few buttons so want the ability to add more values to…

Append to a CSV file

Hi, I was wondering if there is a way to append the output of a query to an existing CSV file instead of overwriting it or creating a new one every time. I did not see an “append” option in the Expo…

Reset Page View Icons

This has been added in v3 Beta 6. Still not sure why I would want to use the pages view over the file view though?

What Encryption Should I Use for Database Fields Containing Sensitive Information?

My app has a few fields which will contain sensitive information and I’d like to encrypt them as they are written to the database. Not being so familiar with encryption methods, I’d be interested in …

Not In Array- is now possible

Short version: dmx.Formatter('array', 'whereNotInArray', function(val, prop, arr) { if (!Array.isArray(arr) || !arr.length) return val; return val.filter(function(item) { return arr.indexOf(…

Server-side scheduler

Hello I need to implement a variety of logic based on time and dates on the server side. Has anyone encountered this? Share how this can be implemented? I haven’t found a single server-side compone…

Swiper with 1 image

Why not use two swipers in two conditional regions and setup each of them as you need?

Condition not working

I got it to work. I did not have brackets checkAccount.length did not work. {{checkAccount.length}} does work. FIgured I was just missing something. Thanks for your help

Date picker custom

how can i enable only 15 in 15 days on the date picker Example enable the 1st and 16th of the month all other days should be disabled

Database insert inserts twice

anomalies ; type="submit" and dmx-on:click="frmfotosend.submit()" use type="submit or dmx-on:click="frmfotosend.submit()"

Dynamic page urls for multilanguage pages

Hi, I am trying change url names based on the language selected on the page. For example, I have used-equipments.html and I want to have below urls; /used-equipments for english /equipos-usados f…

Hide MDN Reference?

You can disable them in Wappler system settings.

Query Quickbooks API

Has anyone connected to the Quickbooks API? I’m having a little trouble with the query formatting. So far I have the Oauth2 Provider and Authorize steps set up. I’m able to click a button, which navi…

EJS: Retrieve id of content page from js

Had to dig a bit into the code but solved. You can access the name with <%= content %>

Include a PHP file in a Server Connect action file

I just call the custom php files I use, using an api action. Only downside is that sessions are not shared, but you can just pass what you need using variables.

Multiple Conditions for dmx-show attribute

I think you’re missing an equal sign.

Resize title based on device

Been a while since I used Wappler and now back working on my site. I am probably overlooking something. Basically have a background image with text, all fine. How do I resize the title based on the…

Autocomplete value to array

Hi Otavio So it sounds like it should be pretty easy to do Add an empty “Array” to your page Add an “Auto Complete” component Select the “Auto Complete” component and enter your Data Source T…

Style a validation error message

I have a dropzone component and have it set to validate whether a file is entered or not. How do I choose to style that validation message?

Conditional Verification - Is This Done By Disabling an Input?

I have a form I am using client side verification. The inputs Payment Method and Amount Paid are required all the time. The inputsFee is only required if the input Payment Method has a value of “Pay…

Autocomplete with multiple value fields

Hi I am wondering how can I set multiple value fields for the auto complete component. What I want to do is: Once that the user has selected the autocomplete value, let’s say email, I would like to …

Validation - Working with Server Side Validation and Customising Validation Feedback

I’ve just spent some time looking at how to customise the world of input validation in Wappler. It was a bit of a journey, so I thought I’d document what I have discovered so far here to help others a…

Import from form - Repeat Children

Have you checked that these hidden inputs have different id’s to any other form fields on your page?

Can you load Multidimensional array to database?

Let’s say you have a form that passes a multi-dimensional array to the server connect. The question is how to handle the update to the database with the multidimensional array values in the server con…

Database connecting issues

I get an error message 'connectECONNREFUSED 127.0.0.1:3306 - which is my verified external server location. I can successfully connect though server connect panel using that address, just not through…

Login and authentication JWT Middleares in Nodejs

Hello guys when we are going to have authentication in nodejs? Are we going to work with Midwares and JSON Web Token? @George, @patrick1993, @Teodor

Nodejs on cpanel problems and how to fix them

I have been messing around for 3 days trying to get my node.js app to work on my remote hosting using WHM/cPanel. After @Teodor gave us that Plesk tutorial today, I realised that I have actually been…

Dynamic Lazy Load Images Inside Repeat in SPA page

Turns out, using data-src instead of just src works. So right now its set as: <img dmx-lazyload-dynamic="" dmx-bind:data-src="https://website.com/images/thumb_{{queryImage.ImageURL}}">

Disabled Select Input With Preset Value Doesn't Pass the Value Through POST to Server Action

You can make any HTML attribute dynamic by adding dmx-bind: in front of it. dmx-bind:disabled dmx-bind:readonly dmx-bind:id etc.

Alerts

You only need to add the alert once to your page. Each time you call the alert (on form success for example) you can set the type and text etc.

Trying Conditional Steps in Server Connect. Possible Bug or am I doing it wrong?

If you are expecting a single result, just use single query instead. Otherwise you need to add a repeat step after the query and put the condition inside it.

How to pass variable in to API URL?

How do i pass a variable in for a API URL? Details:https://console.jumpcloud.com/api/v2/users/{Userid}/associations?targets=system_group The {Userid} is the variable i need to pass to the API. Than…

Database Manager and Relational Tables

well you do have to hit the refresh button in the Database Manager to get any schema changes… Schema info is cached in Wappler to avoid unnecessary connects to your database.

"Current page/url is" condition

How can a condition be set to check the current url/path/page/document in App Connect? For example: Show this component only when the page url == /home or when document name == home.php.

How to organize subdomains on my project?

Hello everyone, I want to understand how I can setup different subdomains for different user groups. Project that I am working on is a type of marketplace, where two different user groups (company an…

Error Message about Content invalid source

I think this is a Safari-only issue with google api used for recaptcha and other services. Look at:

Sending One Email Message to Various Queried Groups

Is it possible to create a $_POST.variable in a form to email by using the field input that contains a group of emails: dmx-bind:value= “email_address@upci.org; email_address@upci.org; email_address@…

Firebase hosting and node routes

Firebase hosting is unfortunately only for static sites. You can have node as backend available somewhere else though. We might consider integrating with “firebase Functions” which are essentially a…

Fill form of other website by autogenerated url

Sites often add additional security to contact forms to stop exactly what you describe. Basically “injecting” data into a contact form is typically a spammer trick people try to stop hence it gets blo…

Anyone set CORS permissions on Plesk?

Hi , It is possible to bypass cors permissions using a proxy. But does anyone have information on how to set these permissions on Plesk. When I tried these settings, I could not achieve a successful …

Store API Response JSON in DB Table

Hi, I need to store the JSON response that I get from an API server action as value of one of the fields in my DB table. I tried setting the API’s JSON response in the insert/update database server …

JavaScript not loading on include page

Hello, I have the following script that automatically loads each time a file is uploaded to the file input: <script> // Be aware! We are handling only the first <input type="file" /> ele…

Handling hierarchical data with new Database Manager

RE: new Database Manager: Can anyone tell me how I would create a new table within a table? Jaydigital

A lot of questions, "What is it?" and "How?" by the App Connect Flow component

I decided to work with the App Connect Flow component. At first glance, everything seems clear. But in the course of operation, questions immediately arise, the answers to which I could not find in an…

Mobile/Laptop/Tablet Responsiveness

That is correct No. If you first make sure that the layout is correct for mobile view, then change to the next view, you will nost likely find that there are half a dozen or so adjustments to make. …

Prevent duplicate records in data store

You could also do this with a show/hide condtion in App Connect, eg: datastore.data.values(id).contains(id) It should also be possible to use an expression like this to control what the button does,…

[Tutorial] Running Wappler projects on Cloud Foundry

Cloud Foundry is a cross-cloud enabler that is used by a number of banks and insurance companies, that is slowly being replaced by Kubernetes and other container technology that caught-in better. I do…

Get element id from a dmx repeat into javascript

I assume you are trying to manually control the audio with javascript as there is no Wappler audio component currently, well at least not a full one like their video component, however as far as I can…

Custom themes

Sorry, but I thought I could use my own bootstrap4 theme see that it was not active

Date Picker User Interface - forwards and backwards by year

You can use the “enable dropdowns” option: then you can select the year from the dropdown:

When Building An HTML Email

As I build an email template to use, each time I save the page, Wappler keeps adding these links to the bottom of the page. Is there a way to prevent this? <script src="https://stackpath.bootstrapcdn…

Where Do Deleted Files Go?

When a file is deleted from the Project Folder panel, where does it go? If we later want to recall it, where would we look? Thanks!

What Does This Error Message Mean?

REMOVED THESE: <link href="../jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css"> <link href="../jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css"> <link href=…

Setting SET SESSION sql_mode = ''" on the connection file?

For anyone in this predicament, line 76 of code in dmxConnectLib/lib/db/Connection.php can be appended with: $this->pdo->exec("set session sql_mode = ''");

Redirection to the page preceding a connection

Hi, Here is a solution I founded to redirect to the previous page (like the back button of a browser). Sorry in advance for my mistakes, I am not a developer, just an enthusiast who learns. I am wai…

Bootstrap Accordion Card

Please try adding the collapse component (not accordion cards) to see if it will add the required js.

How can I call server connect (Mobile App)

Hello I am having trouble calling server connect while preparing a mobile application and I found a solution as follows. However, with this solution, routes.js deletes the changes I added during each…

File/Folder Statistics - Output only size - don't expose path

Turn off the output for that step and use a setValue step later to output only the statistics you want.

Google Maps - using Marker Position Changed

I have a Google Map that is displaying a marker based on lat and long coming from a database query. I would like to allow the user to “fine tune” the location by dragging the PIN to the precise locat…

Show/Hide login/logout button when user login and logout

Hi @mamdi122003 Please check the documentation section, it’s explained how to create a logout button on your page: As for the condition value - select the identity binding returned from your use…

Auto logout after X minutes

Hi there, I followed instructions on an old topic but obviously I’m doing something wrong as I can’t seem to get this to work … probably somewhere in the Action Scheduler’s Tick Action … Any ideas…

How to calculate age from date of birth in wappler?

Hi! I’m creating a form where I ask peoples birthday. Is there a way to calculate an age from date an store it as a record to database and then automatically update the age again when the date of bir…

How To Auto Change Text Color

You want to use the toggle class based on value <. 0. You will find it in the dynamic attributes

Could a Wappler Team Member Please Explain The Different Variables Available in a Flow?

Dear @George, @patrick There appear to be 3 kinds of variable in a flow, available through: Assign Set Global Run => .setValue() Could someone please explain how these work, especially with regard…

Having A Little Difficulty With Importing A CSV File

I’ve decided to just close up the spaces that the bank exports. I little extra work, but it works now. Thank you for your help.

Google OAuth & Photos API Tutorial - Part One: Getting Credentials from Google

I think the whole Google OAuth and API setup is a bit daunting for some (it was for me!), so I thought I would go through the steps of setting up the API and OAuth credentials, and then using them in …

Posting & reading JSON field in table on database

I’ve noticed in Navicat that you can add JSON in the a table: For example: Address (Table) [street] (JSON) [city] (JSON) [state] (JSON) [postocde] (JSON) Is there a way to post these into the t…

Working With Flows: How Do I Access an Assigned Value Outside of a Repeat?

I have a Data Store with values like this: attendees[1] first_name: "Fred" last_name: "Bloggs" attendees[2] first_name: "Jane" last_name: "Smith" attendees[3] first_name: "Mary" las…

Binding inside a binding

Of course after hours of messing around, after I finally ask, I figure it out. {{sc_amadeus_api.data.api1Query.data.dictionaries.carriers.getValueOrKey(carrierCode)}} This is the real version of it. …

No Database Manager

Hello, Make sure to enable experimental features in Wappler system options.

Custom SQL query: arithmetic operation fails when using parameter

Hello, when passing a number value to a custom SQL query to make a simple division, nothing is returned. If I hardcode the number value, the query runs fine. Can anyone spot what I’m doing wrong in …

Can't connect database

I have tried to direct connect to remote database via db creator, but getting an error. Still works on server side actions as normal…

Implementing a php (date("w")) element in a condition with Server Connect

Okay, it seems we can’t really run php snippets on server connect, so for this use case I put NOW_UTC in a variable, formatted so I could extract the day and run the condition on that.

Collapse Nav Bar on single page on mobile & scroll

Issue I am having is on a single page site, the navbar on the mobile does not collapse with the #link any ideas on the best way to do this. Additionally on the mobile it over scrolls on the link. he…

Multiple records in database column?

Hi! I’m using phpmyadmin and I want to know if I can store multiple records in single column. What field type should I use? Thanks

Direct Connection (Remote) To Database Manager

In order to make a direct connection to the remote database with the Database Manager, do we use the same information as we used when setting up the initial Wappler connection? Or is the remote con…

Database Manager - Unable to Connect Problem

No Antony, I am asking if you have changed anything in this database (names, columns, tables erc.) from within a different Wappler project using the Database Manager? Changes are stored in a table c…

Encryption at Rest - MariaDB

Has anyone worked with Encryption at rest with the MariaDB. I have come across “libsodium.org” and “defuse/php-encryption”. The requirement of the project calls for the records in the table to be enc…

Search function

Hi, I have a question on the search function, offered by the icon on the left vertical menu, the one circled in blue. I noticed that there is a phenomenally handy “Replace” field, that allows me t…

How to only allow a button click if in Geolocation

What I would like to do is allow people to click a ‘I’m here’ button which will record them as on site, but I somehow need to only allow the click if they are say within 500yrds of a geopoint. Is thi…

Can I use JSON and "template" pages to build a complete static website?

Is it possible to combine “template” pages with JSON, bake the results, and build a full static website out of them? I’m making a personal gallery/portfolio out of “template” pages and JSON, with th…

Routing problem

change the link to just <a href="/termsofuse/"

Hide fa icon on menu when a screen size gets below a certain width

You can either add a bootstrap 4 class for all the icons as Ben suggested, or do this with media queries in your css: @media (max-width: 1199px) { .nav-link > i { display: none; } } j…

Best way to add data into database

I would like to have multiple inserts into one row on a table in the database, for example. Modules (1,2,3,4,5) Obviously when it is first put in it would only contain; Modules (1) so when they co…

The New UI Regarding $_POST Variables When Sending Email

I have noticed the new UI and appreciate the clear advantages – a great help. However, I do have a question regarding the colors. Please note the attached image and help me with the differences. Does …

Datastore from PHP include file and run its methods from JS?

Have you tried using dmx.parse? dmx.parse("datastore1.insert(" + jsValue + ")");

Creating dynamic data tables in framework7 using Wappler

Integration of fw7 in Wappler in this part is still weak. I searched for a long time, but I didn’t find how to create a table using the visual tools of Wappler. But if you refer to the code, the tabl…

I18n plans. “Language Translation" for the plebs

Check this post if you want to learn how to integrate it.

Connecting two database tables in a single server action?

Hi! I just created a user profile page that contains a form populated by form generator. In this case, I want to create a new record to profile_table that includes a foreign key of the user_table. No…

Creating database of location, birth date and multi-choice field

Hi! I’m creating a new page where users can add/edit a profile. What are the field types for creating multi-choice checkbox? In the page it is a multi-checkbox form with about 10-20 options where us…

Invoking a server action from another

Hi, I have a server action, let’s call it SA1 that is invoked by a form1 in page1.php. SA1 does a lot of calculations and creates a bunch of records in different tables. SA1 is rather complex (at l…

Restricted page doesn't go to signin page

hello, by clicking “Entry Now?” button on entry page the page moves to application page this “application page” is a restricted page, but it doesn’t move to signin page even though I set it on “Sec…

Trying "Passing Values Between your Pages", but it doesn't work

Hi, I’ve checked this tutorial Passing Values Between your Pages but when I click “online” image on http://174.138.46.199/ , it seems that the page moved to the lined one (./search/) once, but came b…

How to pass data to a modal to use in a process

Anyone looking to do the same I followed the process outlined here, except the model was activated on error rather than on click Variable to Modal then Modal executes query

How to turn this randomised array into a string?

assume this might be correct syntax: {{random.randomize().top5().join("", “char”)}}`

Nginx is not yet implemented [Docker]

Hey guys, I’m a Wappler newbie migrating over from Bubble and I’m hoping someone can help me with setting up my development environment. I’m using Docker for local development and would like to use Ng…

Moving to another page after a specified amount of time

Yes you can easily do that. Just add the App Connect Action Scheduler, choose the time and as action choose the goto url from the Browser component.

Inserting and updating a new record in multiple tables joined by a foreign key?

Hi all A newby database question. I am moving along with Wappler and now comfortable with working with a single mysql table and now I want to be able to insert a new record in a table and also a for…

Dynamic style change issue

Not sure if I am missing something here but I’m trying to get a text colour changes on conditions <p class="mb-0" dmx-text="'Licence&nbsp;'+customer_selected.data.query1.cust_licence_number+'&nbsp;Ex…

Google Login Api on Mobile

I have been trying to the Google API on mobile and I have not found correct way ; I can provide user login with google api on the web side and it works very well. But the “redirect” feature that I us…

How can I show today's date on date picker?

Make sure you have uploaded ALL the files just in case it’s missing something. Check your JQuery min is set to Slim 3.3.1 cnd It should work with no issues input id=“text1” name=“text1” type=“text…

Choose a query by a select value

You can check the reply in Browser Dev tools > Newtwork > XHR the same as shown here:

Update and insert forms?

Hi everyone! I’ve been doing CRUD with the search, delete, update and list (grid) on screen and Insert in a modal. Now, I have a long form and the modal window is not the best option… Should I creat…

Mobile app call external link (google login api)

My first thought would be you may need to add the url to your pages MSP: I’ve explained it a few times in the following threads: https://community.wappler.io/search?q=meta%20security%20policy

Fill empty checkbox

how to get back filled of a pivo table

Allow Pinch-To-Zoom in LightBox in Mobile

Hi. I have implemented a regular lightbox and it works well. The main image is a thumbnail & on click of it, larger image loads in the light box. This UX works well for desktop. But for mobile, the …

Bootstrap Data tables with groups and totals

Does anyone have any examples of how to use Wrappler data tables with grouping and totals. I have tried multiple times with failure. I am used to using datatables.net. But loose functionality with Wap…

Caching doesn't appear to work - what am I missing?

I have a database call that dynamically creates a header which is included on every page. I’ve followed the caching api data article but it still is calling the api in the xhr request. I have the rep…

Anyone know what this means: "RangeError: Maximum call stack size exceeded"

Fixed it! Back to a working form again. Just rebuilt the query and repeat group ii had to craate the hash token and now it works again.

Query parameters (ignore empty condition parameters)

Hey guys, I am new on wappler (from bubble.io). I am trying to build a market place, but I am having some difficulties setting up a proper multi-parameters filter. In fact, wappler seems not to igno…

How can I replace dmx-text with a condition?

It’s easy, no need to use additional CSS for this, just the ternary operator: <dd class="text-secondary" dmx-text="entrytypefee == 0 ? 'Free' : entrytypefee" dmx-class:stylefree="entrytypefee==0"></d…

How can I hide video if the link info is null?

I used a conditional region like this in one of my rojects, worked perfectly. <div is="dmx-if" id="condIfHasVideo" dmx-bind:condition="scViewAccommodationDetail.data.queryAccomDetail.accom_inner_vide…

Change back ground colour in a div on mouse over

Hello, <div class="myelement">Content ... </div> .myelement:hover { background-color: #444; }

How to publish my site from local to the server

Hello, First setup your FTP target: https://docs.wappler.io/t/setting-up-ftp-connection/5631 Then select this target from the targets dropdown and hit the publish button.

Chart / columns, alternate and stack colors

Hi, I’m fairly new to charts and I don’t know if what I’m looking for is possible. I’d like to alternate colors every 3 columns on a chart: Is this possible at all? The chart is created via a sin…

AC Flows -> New action: Wait for callback

Actually if the JavaScript function returns a promise, then the flow will wait till it is completed before proceeding. Correctly if I’m wrong @patrick As a background explanation- all flows steps ar…

Are AC flows compatible with form submits?

@George @Teodor Can I run a flow on submit and then POST(needs to be a POST) the request to SC from the same flow? It’s driving me crazy and I see this use case as a pretty basic one for flows and …

Updating label on switch toggle

The second point. Assuming that the toggle switch is based on a checkbox, off will mean that the box is not checked. In this case you can hide one label and show the other label when the checkbox is …

Sum div contents that are not hidden

Perhaps it is in your case indeed easier to use jQuery. You can combine javascript with App Connect, executing an expression is done with dmx.parse. $("#but").click(function() { var total = 0; $(…

How to hide the medium input box and only show the text when read-only

I have this working on text inputs, however it will not work on DMX medium editor text areas input:read-only, textarea:read-only { background-color: transparent !important; -webkit-box-shadow: non…

Project Thumbnail

I have searched the site and cannot find a way to make a complete page thumbnail by clicking the camera icon in the top menu bar. Every time I have tried it just captures the top-left part of the page…

Stop video playing if modal closed

I tested with a simple modal and a video player in it and it worked all just fine, it pauses on hide and starts playing again on shown. <button id="btn1" class="btn" data-toggle="modal" data-target=…

Modal Print Full Size

Perhaps in your print css making the modal a width of 100% will help. @media print { .modal-dialog { max-width: 100%; width: 100%; } }

Am I missing something or is the spacing element just frustrating to use?

You can use the spacing classes you want in the class input for your element. Example: mb-4 will add margin bottom 4 px-3 will add padding left and right 3 pt-2 will add padding top 2 etc.

Dynamically Select Multiple Values In A Select Box In An Update Form

How To Dynamically Select Multiple Values In A Select Box In An Update Form

Items such as forms and buttons inserted in code view are placed on top of the page instead of where the cursor is

Hello, The insertion of element depends entirely on which element is selected in App Structure and what are you selecting for the insert position - inside, before or after.

Getting [object Object]

Hi Juan. I was researching something similar on the forum yesterday and saw two main answers come up: You are selecting the parent of a query in the dynamic binding rather than one of the values i…

File Download terminates the action

Actually the file download action is a final action, you can’t execute anything after it. This has to do with sending out the output. You can’t send anything else after a binary file. So just make s…

How to check if imported CSV file contains rows of data?

Well in this case you can check if the number of unique records are equal to the number of total records you can build pretty much everything you need to check/compare using the data formatter.

Using NOW and NOW_UTC giving wrong datetime with MySQL

It seems that this is actually the correct behavior with mySQL. Depending on the timezone that PHP is configured in, the NOW will return something like 2020-04-29T10:30:00 and UTC_NOW will return some…

Conditional binding on client side

Okay, for anyone doing something similar in the future, I got it working by applying the condition to the input field: <input type="text" class="form-control" id="es_to" name="es_to" …

Adding a subdomain

Hi, I created a subdomain for testing purposes. Is it alright to just add new target inside the same project with my live site, or create a separate project? Thanks, Petri

Multiple dependent selects in a table - variables/inputs not honored for server connect load

I have a form that I need to link to multiple tables. For some reason, the server connect isn’t recognizing variables correctly. (It works the second time, not the first time when accessing the api.) …

How to refresh page data on user logout

Hi @StevenM You could use the browser component to refresh the page when the user clicks the logout button. Just set the browser.goto as the same page as you want to refresh.

How to use the Full Calendar Schedule?

OK… THIS… This is what i needed!!! Thank the gods Ok, so obviously this worked. Thanks @patrick. From the get go, FullCalender could always accept the PHP query, but it needed JUST the array data,…

Repeat Function Clears Fields

Anthony. You are a life saver. Using repeat region apparently clears the data. But using the repeat child works marvelously. Thanks so much.

Medium Editor

Is this in a modal by chance? Edit: Have a look at @Teodor’s answer:

Show element only if it contains content

Just use the comments binding as a condition for the dmx-show attribute.

Binding a repeat region to an array

Are experimental features turned on in your Wappler? If no, please enable them and try again.

Best practice to dismiss a modal once someone has read it

On a site I am working on, I want to be able to display a model with news in it when the app opens. Once the user has read it I don’t want it to appear again. This will be multiple news items maybe 2…

Strip Tags for CSV export

Yes, in your case just add a repeat step which repeats your query. Define your columns as set value steps and format their values as you need. Then in CSV export select to export the repeat step, not…

Multi record form with 'multiple' $_Post field only saves last entry

Hi, I have a from like the one below, and submitting does work. but only the last three fields of each form row is showing in the db as three new records. while I’m expecting that all 5 column are in…

How can I set conditions to populate different links?

Your expression is wrong. It should be: dmx-show="serverconnect1.data.query_event_info[0].eventstart < var1.datetime && serverconnect1.data.query_event_info[0].eventend > var1.datetime"

How to fix stripe Integration with StripeToken Error 400

Hello, I hope this will help someone some day: If you have an error 400 about “source” and “type” on wappler: Check the following step Step 1: Write “stripeToken” in the global post in the server …

Help with a Flow

So I am trying to build my first Flow and need some help. I’m trying to call an API based on the response from another API. Here’s the process: Call 1st API Read response and if the status say suc…

Trigger server action when database field is empty

Try {{ !ha_start_check.eq_ha }} or {{ ha_start_check.eq_ha.length == 0 }} or {{ !ha_start_check.eq_ha.length }} or {{ empty(ha_start_check.eq_ha) }} (if you are using php)

Multiple dynamic events of the same type. Is it possible?

i.e. Can you fire an “onchange” event with the modifier .once and another “onchange” event with no modifier for the same input? <input type=“text” … dmx-on:changed.once=“run1()” dmx-on:changed=“run2(…

Multiple Conditions in Server Action

Hey Wesley, The expression should be: {{EMP_LOGINS.identity == 1002 || EMP_LOGINS.identity == 1303 || EMP_LOGINS.identity == 1033}}

Sidebar toggle problems

Hi, I would like to use toggler for the sidebar. http://174.138.46.199/header_org_3.php But, it is shown like the following image. what I would like…

Urgent help needed for resources

And with point 2, you can create targets where your project is deployed. Just create a target for your cPanel hosting, put in all the details and then set that as the active target. Then, every time y…

How do I make the Navbar Toggler Visible in the Foreground

It looks like you are missing scripts in the head of your document. Take this as an example. You start a new project and create your first page, when you add the Navbar component it auto generates a…

Include page appears twice

by the looks of it, you import it twice, once outside your routes and onetime in one of your routes:

How To Clear Image Preview On Upload Success

I have a photo upload form that displays a preview of the photo prior to upload. All of the clearing after the upload’s success works except the preview. Is there a specific way to clear this so the f…

Change File Upload Limitation

After increasing the memory via our hosting company, all is well! Everything worked smoothly. I suppose the editing of the image consumed more memory than I imagined. I doubled it to 128MG. It is now …

Custom Modal

You can do this with tooltips or popovers, as Brad explained.

Dynamic data rendering in design view (from remote target) but not in browser

Hello @edmubnd You just need a normal, regular HTML page - with all the normal HTML tags on it. Content pages are used with single page apps: Server side includes are used for including specifi…

When Publish (for this target) Is Clicked, What Happens?

Normally, I just upload the pages as I build the site. When I reach the final touchup phase before going live, I am always curious about the Publish ‘button’ on the bottom menu bar… I tried it once an…

Image loader solution

I built this little page to just test the tenor api in calling random gifs(not jifs) Though the App Connect loader is cool, I wanted a solution that would just display that an image is reloading when…

How to add time value expression in the db query

Click the dynamic data selector next to NOW, then the magic wand icon to open the formatters, look for the date add formatter and make whatever changes you like.

File/image upload 'dataUrl' varaiable

Hi, When using file upload component yo can use dataUrl parameter to get the body of the uploaded file but only when datatype is set to image. Otherwise it is set to null. What I’m trying to accompli…

Stuck at OAuth2 Facebook connector

Hi! I followed the turorial how to setup the facebook login. I have proceed to the point where I save the server action and open the browser. This message appears: " Can’t connect securely to this p…

Break and resume repeat after nth div

What you actually need is to make a modulus operation. So if you do the following <div class="col-6"> <h3>Repeat</h3> <div dmx-repeat:repeat1="serverconnect1.data.que…

Alter a specific row in tableRepeat

In essence I’m looking for way to check a checkbox in a specific row of a tableRepeat. I’ll describe it more precisely with a screenshot. user inputs a value in the field if that value matches the…

Swiper with Data API

How can I ad ad images (url’s) from a api data source to a swiper?

Navigation with dropdown

Took some time off trying to learn Wappler but I am back at it. I am trying to setup a standard nav bar with dropdowns but I am unable to see a dropdown menu to add them. Am I missing something? Did s…

How to make content visible that is hidden beneath headers and footers

Problem solved. To my “header_home.php” I added a style to “Header” (padding-bottom: 10px;) To my content "Section About " I added a style ( padding-bottom: 100px;) Thank you for steering me in the…

Issue with "Content Page Include:

I preface this by stating that this is my first attempt at using includes within Wappler. Problem: The included files display properly in Wappler but not when I browse on my local Docker or on my rem…

Binding data from multiple sources in a textarea

You need to use the dynamic attributes > input > value for this. <textarea dmx-bind:value=" 'Name: ' + field_1 + ' Lastname: ' + field_2 "></textarea>

Insert multiple records while condition is true

Looks like you are conflating server session variables and server values. You are setting a value of set_session_date, but are using a session variable of date in your while loop…use one or the other…

OAuth2 Class not found

Hi All, I am trying to use OAuth2 for the first time. But I am getting this issue after configuring the provider: message "Class ‘lib\oauth\Oauth2’ not found" Any assistance in telling me what this …

Multi update - problem with file input

Hi people, please help. Explain what the problem is with the image below. It is a multi update. When we change values in the media_sort field everything works fine. If we change the value in one o…

Get a Javascript variable outside the script

<script> var vuFp = new VUBrowserFP(); vuFp.getFingerprintInfo(function(info) { dmx.global.set('bfp', info.fingerprint); }); vuFp.getFingerprintInfoWithSeed(function(info) { dmx.glob…

Masonry repeating the same image

Seems you picked a value from a wrong place in the data picker: api2.data.photos[0].location must be just location

Header php file no longer visible

So you have renamed your main page, after adding the include on it? Try editing the head-page="index.html" and make sure it points to your real main page head-page="index.php"

Error emulating Cordova Project in Android Emulator

HI, I have a problem trying to run my app project in the emulator. I get the following: Emulating your Cordova Project for android … Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=C:…

Authenticating Security Provider API Requests

I need to access APIs from Wappler from external services. I’ve used the security provider to restrict access to my API calls. Now I’m trying to figure out how to authenticate to those services extern…

AspPDF - Run VBscript on server action success?

Hi, I have used AspPDF on another project completed in DW and now I am performing an upgrade on the customer’s website in Wappler. How can I run a VBscript on a server action success? This is the V…

$_POST.record entry created by Wappler

Hi, I noticed that when I use repeat statements in my server action and insert records in a table within the repeat, an entry like the one below appears on its own. This is the statement that gene…

Docker database cant connect

Just select the connection using the “load” button:

How to I add a repeat qty to repeat

Have a form that has multiples of inputs eg:------WebKitFormBoundaryy5SF989znbNy5Qr1 Content-Disposition: form-data; name=“opt_typye” 1 ------WebKitFormBoundaryy5SF989znbNy5Qr1 Content-Disposition…

Can you control width of repeat sections?

On line 1041 (at the end of line) change col-xl-10 to col-xl-12. That should do it.

Creating/Getting Config Values

I’m trying to figure out how to set values in a server configuration file and use these files serverside. For example, I want to store values encrypted in a table but don’t want to hard-code the encr…

ReRun the same script

Not really. You can set a response with a custom name and a status of 299 -that’s right. But then you don’t call it like dmx-on:customstatus="anotherscript.load()" - you can just check the status co…

Securing files in a folder so they can only be accessed by logging in

I ended up using this in the .htaccess file: Order allow,deny Deny from all Seems to work perfectly. Can anyone confirm or reject this as a good solution?

How would I duplicate a row with inputs in them?

What I need to do, is when the plus button is clicked I need the row with the Select Options etc, to be duplicated so another option can be added in underneath it. Do any of you guys know the best wa…

Does anybody else Do This in Targets?

If you do not want the modified files to go to the remote, you should set that target to localhost In my case, setting the target to local, localhost or docker-local will only affect the local file…

Set Theme Page Background Colour

That’s currently not possible but we can add it maybe @George For now you can do this by adding: body { background: #eee; } in your css file.

Focus management

Is it possible to use App connect to set focus to an elements ids? (for example I would like to set the focus to an element after a dynamic event

3rd Party Auth Integration

Hi! I’m wondering if anyone has successfully implemented a third party auth tool like Auth0 or Firebase Authentication as stated in this thread: I’m not sure if I missed any documentation or video…

Email Attachment File Types

Hey Brad, You can use the Validate Data function in server connect to filter file types. Just select Accept from the Files list.

Amazon S3 Bucket Upload

Hi Everybody ! I have a client who has two websites that share files on an Amazon Bucket S3. He asks me the possibility of making a link from both sites. So far nothing exceptional. The Client also …

Old site created with DMX connection file not found

I think there is just changes to the code base and how things are done now. Busy with a new version of the site and will fix it there then. Thanks @TomD

Show hide elements with server actions

Is it possible to use App connect to show hide elements at the server level? I have use both the (dmx-show) and (dmx-hide), but I am looking to hide/show things like the “Advanced Conditional Region …

Import CSV - Error handling

Hi, So I am uploading a CSV file and importing that data into my MSSQL database. Everything works as expected! Now, the CSV file has columns with headers which I have set on the “Import CSV” Whe…

How to Find the Font Awesome Icon You Need

Here is a handy tip… I spent ages trying to find the icons I wanted, as in Wappler you can only search them by their actual name, rather than what you want them to do. So for examples, the icon you w…

DataTables functionality in Wappler

Hello Dick, These can easily be added by using a select menu and a text input. Add them on the page, add the values in the select (5, 10, 15 etc.) and then use the dynamic attributes of the data view…

Pagination List / Bootstrap 4 Paging generator

Hi Dick, Please make sure to select data view and add new dynamic attribute. Select ‘page’ and select the URL parameter which is used to store the current page

Lightbox customization with figcaption

Maybe try something like: dmx-bind:title="title + '<br>' + description" not sure if this will work, but please check.

DataTables

Is this easy to implement in Wappler? Or is this already possible with existing Wappler functionality, and if so, how? Thanks in advance and best regards - Dick

I can not make the page transition correctly

@Miwa On your page you need to use the :identry parameter from your routing as a value for the server action GET parameter. Select your server connect component in App Structure and you will see the…

Can't make a modal transparent

Hello, try this: .bg-transparent1 .modal-content { background-color: transparent !important; } .bg-transparent1 .modal-content .modal-header { background-color: transparent; color:#000000; } .…

User authentication boilerplate

Hello dear wappler superstars ! I’m working on a “user authentication” boilerplate to bootstrap my wapplers projects. And I wanted to “share the love” with this awesome community. The demo can be a…

Is this a Custom Query? If so, how?

Sorting by visits , but needed to show the most recent date client logged in. I have it now. I was thinking too hard. I just needed to use a MAX() statement and it all works awesome now! SELECT MAX(…

Trouble passing data to modals/data detail

Seems you wrongly picked the key: key="'serverconnect_timeline_data.data.all_timeline_data[0].ID_timeline_data'" this must be just key="ID_timeline_data"

How can I set conditions on dynamic attribute?

Then you can create 3 different classes in your css: .color1 { color: #000; } .color2 { color: #444; } .color3 { color: #666; } And then use the dynamic attributes > styling > class togg…

How can I get week number from date?

There is no formatter in App Connect for that. Include momentjs on your page and use the following custom formatter. dmx.Formatters('string', { getWeek: function(val) { return moment(val).week(…

Progressive Web App

May I know how to create a Progressive Web App in Wappler? Where can I find this feature?

Troubleshooting a modal not opening

It’s the following include on your page doing this, adding display:none style to the modal: <script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script> Please remove it, as it Bootstrap 4.4.1 h…

Force user to redirect if he is logged in

Hello, You can do this by creating a server action, which returns the user details as explained here: Then run it on page load, if the user is logged the server action will return data, otherwis…

Subtract on SQL

You could use the formatter component to do the math client side in your application using the Action Scheduler at timed intervals to confirm the stock or refresh the stock query upon it being added t…

Slideshow height

The Slideshow component expects you to use images with same sizes, and it’s not supporting the usage of portrait and landscape images. Use the swiper component if you want to use images with differen…

Javascript functions and Wappler

If you are using the functions in a flow, there’s a special call js function option. No need of dynamic events in the flow… Also you may want to check:

How do you add multiple records to a table based on the results of a query?

This is probably an easy one: I am setting a cookie (like a product id (identity)) after inserting into one table, but want to populate the product detail in another table, based on a query with that…

Help with API

I have an api from a supplier which I need to get the access token. I can get it… but I can’t get it to store in set value. This is the data returned: {“api1”:{“status”:200,“headers”:{“0”:“HTTP/1.1…

Retrieve record ID after insert

This video should help

Instagram Feeds

I have been using third party code, POW to display instagram feeds and wondered if anyone had used instafeed or alternative ways to display feeds? Regards, Andrew

Textearea format in the database with html elements

Hello, Select the element where you want to show the HTML formatted content, add new dynamic attribute > display > inner HTML and add it there. The HTML code will be rendered formatted

Changing modal background color dynamically

Give the modal an ID or CLASS according to the content. Use that ID/CLASS as the CSS selector for the background (or any other) style.

CSS - How to change font size to fit into phone viewport

Method 1: Use the design panel and design your text per small screens. Method 2: Use CSS Media Queries and adjust the font size as you need, example: @media (max-width: 480px) { .my-text { …

Calendar Individual Event Colors

Hey Guys! Great work on getting FullCalendar implemented in Wappler! I already have FullCalendar fully functioning on my site, but am looking forward to integrating it the Wappler way. My events …

How can I get Router's ID

@George , @Teodor I want to dynamically show / hide some regions within the router pages. However, to be able to do it dynamically, I need the router ids and names used for the spa. Can you give me a…

Can't use Display (Show or Hide) with new tagging in picker

I’m probably not using the right terminology in my title. But with the new experimental feature turned on If you select something on your page that you want to show or hide based on if a recordset ‘ha…

Calendar time from a database

trying to retrieve data from an external calendar and put it in the new wappler calendar. How are date/times stored. My external calendar has dates and times in different fields. Also, what are the…

Responsive Design Using Wappler

Hello, Being relatively new to Wappler (and in part web development), I’m curious if I am missing something when it comes to designing responsive websites in Wappler. I have attempted to use the docu…

How to Validate data on 2 tables

Can you use a normal query on the two fields then return a response if necessary using core actions => Response => 401

Disable Sundays on datepicker

How can I disable all Sundays on the datepicker? I can disable weekends but I want Saturdays to still be available. Thanks.

Radio Control problem

Radio buttons in a same group should have same names and in your code the names are different. Please set the same name for each of them.

SMTP Error Codes vs Server Action Error and related howto question

Howdy! Just to get an understanding here - I have Server Action that contains Mailer Action Step; how I get SMTP Error Code for that Mailer Action step? How do I get SMTP response code for particula…

How to setup phpmyadmin with docker

Hope this helps someone to setup phpmyadmin with docker… Now it is super easy to install Portainer (GUI to touch Docker) on Wappler directly. After installing Portainer, Please do this process firs…

How to change table data with select box

I believe you want to check this tutorial: It works the same for select inputs i.e. you need a GET variable and use it in the query builder with the condition you need POST variables are only use…

App Connect + Framework7 Redirecting/Routing after logout/login/success of a server action

did you try onsuccess="app.router.navigate('/login-screen/')"

Setup of Docker Connection with Wappler

Hi, Trying to get Docker and Wappler set up to work locally. Docker seemed to install correctly. Wappler seems to have installed correctly. Now I am following the you-tube video for connecting them a…

How to access command line in remote docker server

Hi Nevil, Sorry for the delay. To connect to the server with digital ocean you can use the general SSH: If you want a command line to a specific docker running instance, like the web server or th…

Change navbar background color on scroll

This can be done by adding the Browser component to your page and then adding a dynamic attribute - Class Toggle - to the navbar, eg: dmx-class:bg-danger=“browser1.scrollY.offset > 10” This would ma…

Recording time in a hidden field

Then you need to use a datetime database field type. Instead of getting the time on the frontend, use the NOW value on the serverside and format it in the format you need. NOW will appear in the ins…

Query Displaying only 1 category

Hello, You can use the Distinct option in the query builder to show the records once:

How To Use a Form Within a Repeat Region

I’ve tried my own suggestion using a form and Post Server Action, and it works!

Toggle a class for an alert based on 3 conditions

You are using the wrong dymanic attribute. You need to use class toggle not style.

How to filter table data on client side

Yes, use the lowercase formatter for both the expression you use for a search value and the property you are searching.

Browser goto function with submit form with two inputs value to filter another page

Have a look at Paul’s (@psweb) answer Jul '18 I did this the other day. on my page I have 2 text input fields (without a form) <input type="text" class="form-control" id="filter_post_code" name="f…

URL Decode or Base64 Encode/Decode

I am running into some trouble when I need to pass an input field with an email address as a URL query parameter as it is auto URL Encoded, when I try read the parameter back from the URL I either nee…

Passing ID to a child query on a bootstrap table - issue with nested repeat region

Hi everyone, I’m stuck with a nested repeat region where I want to display data from a secondary database table in a bootstrap table. This is what I got working so far: All the data here is popu…

How Do I Get The ID of Last Created Item?

I want to query the database for the ID of the last created contact… so the highest ID value. I have a server action with a Query Type “Single” as shown below, but whichever way around I order the so…

Tooltip / Popover Content with LineBreak <br>

Hello2All It seems something to be easy, but… I didnt find the way how to do it. I also tried without “allow HTML” and also without ’ ’ How can i get it to work? Thank you for ur Help John …

Problem grabbing handles of a label

I am guessing it is sizing to the column size? What’s the “col” size, is it fixed, if so increase it’s size i.e. col-1 to col-2 etc

Record Insert using Modal - how to refresh a database table

I am adding data to an order table using a Modal. Each time I press Save in the modal then a new record is added to the order table. I would like the contents of the table to be displayed on the main…

Binding the results of a google geocode lookup to page

Well Marcel, then you pretty much answered your own question We have a really useful component in Wappler called App Connect Data Formatter. If you need to get the last record from the collection, t…

How to test pages requiring a session variable

Novice here. How would you suggest testing pages requiring a session variable? In DW you were able to enter session values that would pass to the page. Can you do the same here in Wappler? Or is there…

How to hide a container depended on Action Step and database records

Hello, Please check our docs: The logic explained there will help you build what you need.

Conditional graphic element or html inside a cell of a bootstrap table

You can’t use bot inner text (dmx-text) and actual data In the cell. Just remove the dmx-text attribute and put it’s value in the cell. <td> {{eq_tier}} <i class="fas fa-genderless" dmx-show="(…

Timeout on Apache / script

I have a script that needs to run for an hour or so, I have set the server connect script timeout to 3600 and set the max execution time to 3600 in my .user.ini file on my web server. I am still getti…

Setting a value to NULL?

Hi Brad, use the default condition to your POST variable: $_POST.input_name.default(null) This way, when empty the input will insert null to the database.

Dynamic data not showing when editing the content file in a SPA

Aah, I understand the logic now. I’ve moved the server connects from the view into the content file and it’s working fine.

Filtering from a Data View

Please use a different name and id for the input. Now it’s using the same name as your timezone column…

Get last insert ID

Hi Ben, The inserted Id is available just after the insert step. Just add a “set value” step in server connect steps, after the insert step, bind the inserted Id as a value and enable the “output” o…

Show Website in Website

I believe the only way you would be able to do that is with iFrames. Kind of an out dated method since the days of mobile. But would work. https://www.w3schools.com/tags/tag_iframe.asp

Video Tutorial: Deploying remotely with Wappler's docker engine integration

After Wapploku project comes Wapplastic. With Wapploku project I was trying to show how to deploy in less than 10 minutes using free services. Wapplastic project however is a bit more detailed and r…

Inserted Record ID - how to pass between pages

If i understand you right, you insert your record using a modal, right? And you want to redirect to a different page after it’s being inserted? If that’s the case please do the following: In your s…

Using Session Variable as condition in Action Step

So you want to use the browser seesion value to filter a database query? If that’s what you need, create a GET variable in your server action. Use it to filter the query. On your page, when you sele…

Cordova installation on Mac 10.15.3

It took several logouts & logins but I now have Cordova! And I have my Platform tab enabled! What finally worked was my system administrator login password, which had mysteriously failed on severa…

Sharing Server Actions between projects

Just wanted to check if this was actually possible before i do it, but I often seem to find myself making the same or very similar server actions over and over again, on almost every project I have do…

Viewing API Data and Emailing

Yes, Wappler can connect to pretty much any JSON API Yes, at client or server level Yes but may take a little configuration/ coding depending on requirements. Sending email is easy via the inbuil…

Date Formatted ddMMyyyy

Hi Ray, Did a bit of testing and it indeed didn’t work with ddMMyyyy. So I directly checked the formatter and fixed it, here is the updated version. Now you can use ddMMyyyyHHmmss which should be wha…

How Can I See Data Store Values in the Console?

Yes, if you have not selected the use session storage option You can see it here:

How to use Security Provider with a Server Connect Action from another site

Hi Marcel Had a bit of a play with this and the biggest problem seems to be that when calling a server action from another server the result doesn’t seem to be returned to the calling routine I can …

Api rest conversion

Hi @Teodor I have this json request (REST). I can’t run it with Server API ACTION! Can you tell me how to do it? Thanks $data = ' { "codCliente":"000000998226", "datiSpedizione":[{"i…

Logic in Wappler

Then using flows is perfect for you. Create a flow with multiple conditions like: So add a condition for each of the variables, which value you want to control. then you can run the flow on page l…

Insert all dates between a start and end date input

Ok. So for what its worth i have managed to figure this out at a basic level using Session variables of my Post variables and the WHILE function as per a post i saw on here. Not sure if this is the …

Update Database value with checkbox group and Array

Are you using a checkbox group component? If not, please add [] at the end of each checkbox so they return an array.

SQL insert of unfilled fields

It worked. Thanks again, Teodor. Needless to say the Wappler support is outstanding. Regards.

Two table approach to user security permissions

Your issue is that you are using a binding as an id/name and app connect tries to parse it which causes the error. Make sure the id/name of the field is NOT using a value which is a binding returned …

Using Modal to Add a Record and then redirect to a URL

I would appreciate some guidance on what would be a sensible flow. I have a modal which has a form as the main body. Within the form I have PersonID which takes a value from a URL parameter and also …

CORS Policy help

The CORS issue was solved. It was caused by calling the server action via ajax i.e. with a button and a dynamic event > server connect > load. To avoid CORS issues the server action needs to be call…

Flat to Nested conversion (advanced groupBy) challenge

Hi all, I have spent fews days trying to achieve this, but in vain, opening the challenge to everyone. I have a denormalised result from an elastic search query, and I have to convert and display it…

Repeating with named keys

I am using a client side repeater and when I use this array it works: { "game_code" : "five_kings", "max_players" : 7, "min_players" : 2, "name" : "Five Kings", …

Update identity null

Are you trying to just run the update server action in your browser? This is exactly what it is supposed to return in this case, as no record has been updated. You need a separate server action for…

Button with Route?

You can also create the button outside and copy/paste it inside the form

Attachment field must have a file to submit form

Hi Brad, Use a condition and use {{$_POST.yourFileInput.name}} as an expression i.e. check if the file input has a file selected. then > upload + send email with attachment else > send mail without…

Send Email Attachments

I couldn’t find anything in the docs on this. I have a simple form that sends to email. But I can’t figure out what to put in the attachments settings?

How should I set formatDate?

When referring to page head i mean the <head> tags. And <head> tags are only available on your main page i.e. the index.php in your case. So you should include it on your main page.

Apply multiple styles to one class toggle?

When adding a class toggle in the dynamic attributes, is there a way to add multiple names, like col-xl-1 col-md-2 order-md-1 col-sm-2 order-sm-1 etc in the class toggle name? I get the error: that…

Forms shown with an accordion

Hi, I’d like to have a multi-part form. Since there are possibly many parts in my form, I thought that instead of using tabs (like the example posted by Teodor here), I’d use an Accordion Cards ele…

Flow where I wait for Geo coordinates to run insert server action

I also jumped on the flows bandwagon. My first attempt I wait for the user to set geolocation and then I want to run a insert server action based on the lat and lon. Here is my code, but it does not a…

Reservation system

An Event Calendar based on fullcalendar has been integrated in Wappler 2.7.0

Remove the Validation Tick From Text Field

This CSS hack works for now: .form-control.is-valid{ background-image: none !important; padding-right: 0 !important; }

mySQL query with IN

Hello, The IN condition expects an array and not a comma separated list. You need to add: {{"0,1,2,3".split(",")}}

How to parse API endpoint to a modal

Hello, I wondered if anyone can give me some pointers here, please? I think I am close but have not had that eureka moment yet. I am using sheety to convert a google sheet into a JSON api. This she…

File Upload Throwing a 404 Error

Seems you have some permission issues, most probably on the temp folder. Please check this.

Arrays within data store

Is this a valid data store? Seems like it should work, but I can’t insert the array field…categories

Hide element based on two values

Doh! Found the problem. I had no space between && and one of the values. Good to know I did have the right syntax though. Thanks for confirming that and I need more coffee.

Sending Email - Parser Error

I found the culprit… {{detail_missionary[0].[0].first_name}}

Toasts or Bootboxes, is this possible?

Part 1: I have a ServerConnect that refreshes on a short interval. I’d like to display a Toast (preferably) or even a Bootbox when the data changes or has a new record added. Is this possible with the…

Medium editor responsive images

I think i may already know the answer to this (being you cant) but can images uploaded in medium editor be set as responsive I guess while on the subject, how can i set an alt tag for the images with…

Conditional Validation Possible?

Well, yes - just use the dynamic attributes - input - required and add your expression.

Store today's date in App Connect variable and be able to add/subtract days

We found the problem - it’s just a minor UI issue, and it will be improved in the next update. Meanwhile you can just add: .addDays(1) to your date, in order to add a day to it. Don’t forget the fo…

App Connect variable set value

Hello is is poosible to set a variable value on the page . Example: {{var1.value=value}}

Order of execution in client-side Flow

Yes you are right - flows are executed sequentially - that is the whole point. Exceptions are however if you run external page actions - those go their own asynchronous way. Toasts of course don’t s…

Variation on Send Email workflow?

I tried to install this into my “Insert into Database from Form” page according to the following: github tutorial Send Email Form form When I was through the form would not carry out the insert form…

Server Side Validation Error

The error is client-side, server-side returns a 400 status with the error in the json response, the javascript is then generating the error. Do you have the dmxValididator.js file included on the pag…

500 error in the repeat

Seems some path is wrong/not provided in some of the image processing steps. Please check your server action steps.

User registration getting duplicated

The problem is in your submit button. In HTML the submit button always submits the form. So you don’t need to add a dynamic event to it, which calls the form.submit again. <button type="submit" clas…

Specific Syntax in a Flow

All expressions in Wappler follow the javascript standard for expressions. So if you have a variable, lets call it var1 you can: prefix it with text: 'my test ' + var1 or append a text like: var1…

Reading Out Parameters from MySQL Stored Procedures

Am I right in saying that there is no way in Server Actions to read the value of an Out parameter from a MySQL Stored Procedure? I can work around it, but I wanted to be sure I am not missing anythin…

Select Control

@Bankym Just manually enter the text and value expressions as I explained above.

Fontawesome Pro don’t show on live site

You need to specify your domain when using the Pro CDN. If you don’t do that then the request will be blocked. https://fontawesome.com/support#services-cdn-pro-troubleshooting

Masonry Card Images not Refreshing

I have images in masonry cards. When I update the image on the server the old image still shows and I can’t seem to get it to refresh. I’m using Chrome and CTRL+F5 doesn’t work. If I right click on…

Getting started with App Connect Flow

I’m just experimenting with the new feature. It looks great but I haven’t quite managed to get started yet. I’ve attached this flow to a button and would expect a modal to appear, but nothing happens…

How can I make a "Repeat"?

Oh thanks, my dummy data was out of the query condition…now I could fetch the data!

Flow Question to Download PDF from API

I’ve got a site where you go out to an external site that creates a PDF, and then I need to download it to the local site. Would this be summing that I could do with flows, since its client side? I …

Security Provider Login and Argon2

Hey Guys, Please check:

Using Keyed Array Items of Session Storage

have added a KEYED ARRAY to session storage: when trying to use this Keyed Array to store values, getting this option: have already looked at this: Adding Items to Session Storage Arrays and th…

App ID - what should it be?

You should really use the App ID - as the name implies - to give your app or collection of pages making your app/site - an unique ID. So mostly you will use the same name, except if you have a comple…

Multiple update form and add new row option

hello @Teodor , I am doing multiple update form but I need the “add new row” button. But I couldn’t find the logic of how to add the new row. A simple example or can you give me an idea?

SFTP config working on Filezilla but not with Wappler :) - SOLVED

Hi, After successfully connecting in FTP mode to my hosting I´m now trying to switch to SFTP mode within Wappler. though with SFTP mode I keep on getting the path error Cannot find the uploaded fil…

Classic ASP: Help with OAuth2 Token

I am stumped with setting up an API call to Xero Accounts using OAuth2, any assistance would be really appreciated. I can successfully logon and retrieve data using postman/paw I have my Server A…

Argon2 and compiling with the required library

In regards to Argon2, @patrick wrote… Will Wappler automatically compile with this required library when we select Argon2 on a PHP 7.2 and higher project? Or is the compiling to the required librar…

User Assets in docker container - Changes in production env

For user uploads you need to define a mapping outside of the container to a folder in the host server. This way it won’t get lost on rebuilds.

What do people do to show a 'we use cookies' alert?

Here’s a quick tutorial showing how to create such an alert:

Timezone picker

Why would you need a plugin for that? These are just two dynamic select menus, the selection of the first one controls what to show in the second. All you need here is to download a database of the t…

[Server side] Get value from repeater into higher level

a repeater iterates through all the data and creates a new array/table alike data. As there are many records in the array, you normally don’t access them just by one - you have to iterate again and d…

Confused with Server Connect > Globals > $_SERVER

Hi Paul, The correct way to define global server variables is to just enter them unde $_SERVER. Then you just pick them using the data picker and assign them to any step you need: And then you can…

Icons for Electron

Setting the icons needed for an App, I have no problems for iOS and Android, but I don’t know what size should I use for Electron (App and Installer) Does anyone know how to do? Thank you

What does Response SC action do? To send back a message from a Server Connect action?

Response send the http status code back to your client side. Normal http status code is 200 meaning all fine. But you can send a custom one - following the http codes standards and indeed to somethi…

Split(php explode) by new line in server connect

The problem with \r\n using the UI are fixed in Wappler. Also a custom formatter can be used when you want to use a regexp for the split, as you already replied yourself.

How to make a calculator

Hello Wappler community. I am hoping someone can please guide me to create this calculator with Wappler using PHP server model. Getting the form fields is a breeze but creating the server actions to p…

Large Image zoom in and scroll

Hi folks, i have a huge image that i would like to show on a website but with a fixed size and the ability to let the user zoom in and scroll the image… Any idea? Thank you =)

Download routes

You also need the routes json file, located in your .wappler folder in the project root.

How to export to MS Word

The task: Using mySQL in which I will create a LONGTEXT data column named Content. The content will be formatted using the Medium Editor. Question: What would I need to do in order to get this conten…

Srcset, looking for some opinions on this

Hello Paul, The sizes option does this job for you. Set it to Auto, so that it can automatically select the most appropriate image size per the size it needs to occupy on the page: This works perf…

How to add a server side validate step on a repeat element

So after a chat with Teo I kind of settled on letting Wappler check for me and then rename the image with a -01.jpg appended to the end, although, it wasnt really what i wanted, so another 3 hours lat…

SPA app page refresh produces errors

your app connect is not found - that is the first 404 error as Jon pointed out. This is because of your routing - you might want to switch to site root relative links instead of document relative as …

Help with medium editor alignment and text flow

Found the problem, CSS file was missing from server and link <link rel="stylesheet" href="../dmxAppConnect/dmxMediumEditorImageUpload/dmxMediumEditorImageUpload.css" /> was missing from header

What server features are needed for image editing?

A-ha, I didn’t dig deep enough. It was a memory issue. I’ve increased it to 512MB and it’s working. Thanks, as always, for the speedy replies. I thought I knew my way around the dev console but I kee…

Loading bar for long-running server actions

I have some very long running server actions (some take a few minutes). This long time is not a mistake, there is just a lot of data to get. What I want is a percentage loading bar while this server …

How can i format dynamic value with javascript

try the expression 0.toDate().timeUntil(monitor.data.api1.data[id].stats.Uptime.toDate(), true) or "00:00:00".addSeconds(5337).formatDate("HH:mm:ss").

Menu basics

@marsalstudios What has a style of an element to do with Wordpress? If you want to style an element and change its background transparency, just add some class to it, like for example .my-transparen…

File/URL Structure in SPA with Routing

Not sure if this is what you are referring to:

How to Debug Variables values in browser dev tools

Well just open the browser dev tools, go to the console and enter: dmx.app.data And you can expand all the app connect data on the page and explore it.

MS SQL cannot connect. Driver error?

I had some troubles getting SQL Server to work, my issue was with my installation and drivers rather than Wappler. Make sure you’ve got the latest PHP drivers for MS Sql installed https://docs.micr…

Dynamic select menu, add multiple items

Hello, Add them like: db_field_1 + ' ' + db_field_2

Stop looking for an image if it's not in the database (lots of 404 errors)

Try this dmx-bind:src="AccommodationID ? '/accommodation-images/' + AccommodationID + '/' + accomImage : ''" dmx-show="accomImage"

SPA with URL variables

From what I see is that you have /search/:query/ as route path for the search view. And inside this route view you have /transferclient/:clientid/ as a route. This will not work. The route path are a…

Show and activate a Tab Pane when a Modal is closed

Hello, I would like to show and activate a specific Tab Pane of a Tab Content, only when a Modal is closed (only after has been shown). Is it possible? Thank you.

Consolidated form validation state?

I’m trying to work out the best way to enable a submit button on a form where there are a lot of elements. Many of the input elements have validation set, and I only want to enable the button when all…

Button in Table that combines field.value and string

You need an anchor button to have a link assigned

Service connect and dynamic image folder between parent site and child site

I was forced to use ( “themaindomain/” + thepath of the image) on the dynamic scr. I did not think about before .

Need help with file uploads

I just mentioned it because you have {{name}} in your screenshot, rather than {{upload1.name}}. I just tested this with a filename with space and it worked as expected. Using Firefox developer tools …

Error on click server connect loader

Hi! I’m getting the error below on a button that should load the server connect (it’s not an auto load connect server) Any ideas why? I’ve tried the server connect auto load and works perfectly

Host RESTful API using Wappler

Yes this is fully posisble. The Server Connect actions that you define in Wappler are actually your REST API Actions. If you don’t want to call them directly like dmxConnect/api/action.php you can c…

API Questions/Ignorance

Hi Guys, First please excuse my ignorance with all of this, in the past I’ve manually written the PHP to work with API’s and sort of followed example code to get it working, however this time i’m com…

Data Store component - problem selecting records

uh - why do you have an array called pets in your data store? The data store by itself is a table/array. When you define an array like this means that for each record you want another array … Just p…

Expanding and collapsing Wappler panels

Just click on any of the icons. If you have the file panel open just click on the file icon again

"Please wait" when working with APIs

Hello, Pleas do the following: Add an alert on the page, for example in the form. Enter the text you want to display inside it. Select form, add new dynamic event > server connect > start > alert s…

Google User API

I’m trying to get the profile information for the logged in Google User. The server action outputs data correctly, but I can’t get it onto my page. Note: I added the variables in manually as F…

Flow: Wait for SC to finish before next step

When you use the special flow server connect action, it will automatically wait till loaded before proceeding to the next step

Troubleshooting 404 Not Found, Local, Using Docker

Oh my gosh, it’s working. Restarted Docker, and now connections work. Sure wish I knew what happened.

Run script on route show

Create simple function Example > > Function run(){ > Serverconnect.abc.load({}) > } Then call it inside spa

Instagram new API with Auth

Hi! since Instagram is going to delete their old API “Legacy API” and instead of this they gonna implement " Instagram Graph API " and " Instagram Basic display API " i need to work to get the instagr…

"Locale" data files error after uninstall

Hi. How do we stop the “Unable to find locale data files. Please reinstall.” error appearing after having uninstalled Wappler? Screenshot attached. Thank you. NJ

Problem with date and languages

Hello everybody! So… After reading this post and making some research, I can’t make the date be displayed in spanish. First, I must say I could make it work on a blank page I created using the infor…

Managing common functionality on a site

Was the app connect framework included on the parent/main page before creating the serverside include? It should not show ‘body’ in the structure but ‘app’ if app connect is added on the main/parent …

Google OAuth issue

Do not call the server connect action with the server connect component, link directly to it so that it opens in the browser (it will redirect the user to the google login page). Also add a redirect s…

Auto-jump fields

Hi, I need a user to input a code made of 4 parts of 3 alphanumeric characters each, for a total of 12 characters. It would look like this: 12A 3B6 9AD 4AF To input that, I was thinking of using a…

Prepared statement Needs to be Re-prepared?

Hello Brad, That’s a common issue with MySQL versions prior 5.7 and db views - that’s actually a bug in PHP. Open your database connection step and you can adjust this setting there. I thought you…

Trigger App Connect API from Javascript?

Should be able to use this dmx.parse("api1.load()"); where api1 is the ID of the api action.

Hide a form after specific API action data value

Hm, why do you have the server connect included on the page, when you only need it selected in the form? If you are using a server connect form, you should not add the server connect separately on th…

Different looks of my css in Chrome, Firefox and Safari

ok i got the solution i had the wrong font inside the head i had “Oswald” instead of Lobster, i dont know how but Firefox and Chrome showed correctly the font but no Safari Thnks!

Uploading a file to a folder using a table ID

I’m trying to upload files to my server, and I want to place them into a folder that is named based on the ID from a table insert. I’ve set up the Server Connect to insert data into the table, upload…

Iframe Video YouTube 100% width

I solved this problem

Slideshow component navigation arrows

Just a question, is there any way to make the slideshow arrows remove themselves when one user out of 100 decides that they only need to upload 1 picture for the slideshow. I now have a single image …

Is there a way in DMX Medium Editor

Is there a way in DMX Medium Editor To disallow html links being added ?

Dynamic styling of Icons on google map

Hi! I’m a new user (and new to HTML/Javascript), just starting to explore the possibilities and see if Wappler is suitable for what I’m looking to do. That said, apologies if what I’m asking is blind…

API Action URL Parameter Value Not Substituted

You need to use the Dynamic attributes>Url in order to get at dynamic data.

How can I disable a Key Down action when a modal is open?

Here a sample HTML, no framework used, just vanilla JavaScript. Notice that the first 2 divs have a tabindex, they can be focused by clicking on them or tab to them. Only active/focused elements can g…

Update the value in a variable within a loop

If the main issue is showing the button, could you check the value in the previous record like this: dmx-show="serverconnect1.data.query[$index-1].myField == 1" … without using and have to reset a v…

Class dynamic attribute with multiple conditions

Seems like having multiple dynamic attributes based on a route name does not work? the 2nd one is ignored. dmx-class:active="home.isMatch || suitup.isMatch" Or am I doing it wrong?

Server Connect Set Value in a loop

Hey Jon, Not a bug. You will want to also put “ordertotal” into the Global Name property of your Set Value actions. As you have it, you likely have a variable ordertotal both inside and outside you…

Filter input form not submitting

Have no autoload selected, then when the submit button is clicked, load the datasource

Return code of an API

Isn’t your api returning the status, when you call it? You can see the status and headers when you fetch the API schema - so use the status which is returned there.

Image file is shown on Wappler, but is invisible on the browser automatically

I see some data-cfsrc attribute added to your image. This is something cloudflare adds to your site for lazy loading, can you try turning this option off and if you need lazy load, just use the one in…

Tooltip button does not work

Well, for links use an anchor button

Issue with old website not connecting to SQL

I have being to debug this connection http://mymobilehairdresser.com.au/mobile-hairdresser-areas-covered.php?postcode=5169&submit=Check+Now it is from an old website, but for the life of me I can’t s…

Switch Site Colour Themes

I did land up using sessions, through the Wappler UI, this is a true Wappler built site. Added a session manager called “themeSwitcher” and defined a variable inside it called “themeswitch” <dmx-ses…

Need help setting up an API

Change data type from auto to JSON. I think the format in the JSON field should be something like this: { “MessageBody”: “Hi there” }

Login Form Fails to Redirect

Aloha Ben, Thanks for your prompt reply. Excellent question and yes I am using the same names. Dave identified the highly technical issue of “Were all the files uploaded to the server?” That’s akin to…

Browser goto with dynamic value using submit button for form

Hi. You have to change the dynamic events on success like this: dmx-on:success="browser1.goto('your-file?yourid='+your-dynamic-value)" your-dynamic-value has not to be insert in {{ }}

Truly responsive text with CSS CALC function

Responsive text I know that we can make text responsive by using media queries but personally I am not keen on this approach Firstly it is a bit cumbersome to write and secondly the transitions are …

How to add a file(s) into a database field

This is not supported in Wappler. Use the file uploader to upload your files in a folder on your server and store references to them in your database. As others have already suggested - what you are…

Server side validation Expression (Is it a bug?)

Why not wrap the validation step in a condition? With the condition use your expression: {{$_POST.upd_userName != getOldUserName.userName}} in the then part add the validation step with the POST bei…

Display Font Awesome Icon in DMX-text or DMX-HTML

I would like to have an icon in the dmx-text text, now I am assuming that possibly I would need to use dmx-html but trying it I just come up with it not showing Ultimately I would like to achieve on …

Coming from B...le How to decide best server, db, etc?

Hi, Recently here from bubble. Reading through the forum I see all kinds of options regarding servers, databases, and the like. Currently reading through the Docker 4-part series. How do I determine…

Issue with form - for some reason that I can not see

But your screenshot shows a server action called completeApplication while your page runs one called completeForm

How to view your Live Data in Emulator , Web browser ( Mobile app & Web app)

My App ( Mobile & Web app ) data ( API data, data from DB ) cant show in Emulator, Web browser but show in Wappler

How can i add multiple items to an dmx-array with a button click?

How can i add multiple items to an dmx-array with a button click? For example i have 2 arrays. one of them is empty. when i clicked a button i want to add all items to empty array. How to?

Add value to a variable on each row of a table

I have a shopping cart which shows all the items in it, one per row. The items are pulled in from a data store but the values come from the database. I need to show the total at the bottom but don’t k…

Break out of repeat

Possibly a silly question because I doubt you can, however always best to ask. If I am inside a repeat or repeat children region and I would like to add a little piece of text to only one item, that …

Issue with multiple masonry in a page and how to initialise / destroy it

I have issue with multiple manonry in a page. The issue is, only one masonry will work as it should and another, albeit does load, but doesn’t work as been set (i.e no animation, column setting doesn’…

Autocomplete - Refresh API Query On Text Input

I think I follow what you mean. So if your autocomplete form has a field, let’s say Name-=“filter” ID=“Inp_filter” You want to set this as a parameter for your API sent as a $_GET parameter, lets s…

Data picker in mobile content pages

Actually you need to do something more than just assign head page to the main page. In your main page you need to create a reference - to the included content page. You can do this by adding a “Cont…

Database errors catch

Hi, I have a simple application that inserts data into a database table through a form attached to an action server. The problem is that even when a db error happens the form always returns as a suc…

Medium Editor <br> tags

Hello Paul, Try using the stripTags formatter to remove the html and then trim any white-space. If the string is then empty do not put anything in the database otherwise insert the html. {{ $_POST.i…

How to get a variable from a repeater (server-side)

The repeaters return an array, to access an item inside the array you need to access it by its index like repeat1[0]. Repeat2 from the first item is then accessed as repeat1[0].repeat2.

Simple get all query for single table not working

Hi, Simple data query is not working there is no data displays on generated table / table which is iterated the body and set the cell to load dynamic fields.

HTML showing in the visual display of the page

Easy, just go into the dynamic attributes of the text and change it to Inner HTML

Variable to Modal then Modal executes query

So, how should this be done: I have a table that has a column with a button that will open a modal. In the modal I would like to execute another database query and then display the results. I don’t w…

Sort in the order the array is stored

I have a database field that holds an array of IDs, such as 3,7,2 I have a server action that performs a single database query to get the correct row in my database and return that rows array of numb…

Get JSON type

Let’s say I have fetched this JSON from an API (server side): { id: "38eced94-df59-4e26-bb6e-c6e6938dd00e" customer_reference: "Order 72" amount_delivered: 0 amount_reserved: 27 amount_total: 29 } A…

How to bind data to custom div attribute

This is my div for price range slider: I want to bind my serverconnect data into these attributes: data-start-min=“2350” data-start-max=“13500” data-min=“2350” data-max=“13500”. If i do dmx-bind th…

Project collaboration

All Wappler Project settings are stored in a hidden .wappler subfolder and for security reasons it is excluded from git commits. But if you really want to commit if for collaboration and are using pr…

Search Dates without the year

I want to search for up and coming birthdays. How can I search the DOB (DD/MM/YYYY) without the year, so it only searches the DD:MM example: Conditions DOB - between - a.(DD.MM) and b. NOW (DD.MM) …

Node scripts and cordova

Perhaps by design for security, but I can’t load a script in the node_modules folder when viewing in design mode…ERR_FILE_NOT_FOUND It does work in the browser though. Is there a better way to load …

How to get the response from an API

Set a condition of Starts With:

Slideshow Overlap

Hi everyone! I have been working on developing this web app for a little while now and have come across an issue that I am not entirely sure how to fix. I have a sidebar setup and everything works jus…

Dynamic Server Side Validation

birden fazla dosya yukledıgın ıcın repeat içerisinde dosya boyutunu alabilirsin ve sana attığım örnekteki gibi bir koşul kullanabilirsin . yani döngü içerisindeyken istediğin işlemleri rahatlıkla yapa…

Innerhtml : "dmx-on:click" does not work

Found a workaround. This was not the best way. I worked on my API to get the rigth index and process it in wappler. @Teodor : can you classify this post as solved ?

Save Image from URL (on Mac)

I’ve been using the File Uploader and pasting in the URL for external images which works fine on Windows, but on a Mac there is no field to paste into. I’ve tried using a text field and then doing th…

Local Storage - How to create a "shortlist" or "wish list"?

It’s now easy to create a wishlist using the Data Store component. Please take a look at the following tutorial showing how to use it:

Lightbox customization

That is the focus, the browser adds a outline to the current active element. With Tab you can go to the next control and Space to press the button. It is added for accessibility. If you want to remov…

Pull Specific Hashtags from Twitter

Hello Everyone Is it possible to use Wappler to for instance pull any tweet or Facebook post with a certain specific hash tag and display this on a page? I want to build a chat wall for an event wit…

Lightbox arrow selectd

Answered here …

Timestamp in milliseconds

Why not make you own sequence in the repeat, use {{ ($_SERVER.REQUEST_TIME_FLOAT * 1000) + $index }}

Concatenate values from a repeat into a single variable

In a form I have a repeat that outputs several results (they happen to be single sentences) from a serverConnect Server Action. Typically there could be anything from 3 to 12 sentences. My aim is to …

How should I use both Show and Hide actions on the same element?

Hi @sitestreet You can do something like: dmx-show="user.identity && !var1.value"

Display All Records When User selects All in Select menu

Hello, If that’s select 3: Then put it in a separate group (not as rule in the same group with select 2) and add the GET variable as a condition there.

Electron - JQuery and Bootstrap Placement

You may need to install the Node jQuery package. Drop your console/terminal and enter: npm install jquery --save This will install jQuery as a dependency within your package.json file. You will th…

Api relation

Is it possible to relate two API action step in the same API server action ? For example I have one API server action and 2 API action step. The second Action retrieve the first Action value ! Tha…

How can you add the security ID

I have a log file I would like to add the currently logged in user to. I want to add it on the ‘Catch’ but it will not show the user. I have tried adding the connection>security>insert into the Catc…

Repeat action server variables

Repeats have an own scope where the variables are added, you could use the Global Name property to update the global counter.

Update all pages with new frameworks?

Hi, Is there a way of updating a complete project with the latest frameworks without the need of open a file, change framework version and then save the page? Tnx!

Hide not working in Bootstrap table

A simple solution is to use the class toggle and bootstrap classes. <th class="sorting text-left d-none d-lg-table-cell" dmx-class:d-none="sc_user_get.data.query1.role_id != 1">

Syntax to push a value into an array (server connect)

Hello dear Wappler superstars ! Following up on this topic, I managed to initialised an array in server connect and parse it : Now, I need to fill this array with additional values after it’s be…

Google Structure data using JSON LD and Google Tag manager

OS info Operating System : Windows 10.0.17763 Wappler Version : 2.5.0 Problem description I am trying to implement Json Ld using google tag manager, and script for json ld is generated by gtm dyn…

Click event on Donut Graph Section

Not sure if this is even possible, but what I would to do is create a click even on each section of a donut graph. For example: Graph contains 1 set of data which returns: Male Female The graph s…

Subtract a 5% to the total if a field has more than 20 products

I’d probably tackle it differently then <div class="container"> <div class="row"> <div class="col"> <input id="inp_total" name="total" type="number" class="form-control" dmx-bind:value="(va…

Disable button based on data value

Ok, been working on this one for a few hours. I have a button that simply opens a modal. I would like to disable this button if the latest record has a Null value in one of it’s fields. See screensh…

Dynamic collapse cards, Accordions

Has anyone found the correct definitive way of populating these new card collapse elements, when inside a repeat region. I can not get the parent and its relative child to have the same ID. Either I …

Returning Information From a MySQL Stored Procedure

What is the simplest way to return some text from a stored procedure and make it visible in a notification?

Docker usage, shared drives and google drive

I cannot get Docker remote to work with Wappler. I have installed Docker Dekstop on a Windows 10 Enterprise PC, but this is the error I’m getting in Wappler: I also have problems with Docker Local: …

Repeat within Nested Repeat..?

Driving me mad for an entire day! Nesting a Repeat is working fine but would like to display a third set of results within the Nested Repeat: So for example lets say we have the following as a repor…

AutoComplete Component used for data validation

Hello Paul, Why not just filter a query/data view which returns a list (say top 5) with all the matching image names below the input while the user is typing? Like this: they will see the matchin…

Hide/show content if database has data or not

1: Select what you want to show or hide 2: Add a Dynamic Attribute in the Properties Inspector 3: Choose Display --> Hide or Show 4: Click on the lightning bolt to add your expression 5: Choose yo…

How to set the colour of a donut chart

I haven’t tested, but in codeview add dmx-bind:colors="['#ffc0cb', '#c0ebff']" to the chart element.

Custom Query (Get Average)

Did you try this? SELECT COUNT(DISTINCT cost_clientid) AS Clients, SUM(cost_amount) AS Total, (SUM(cost_amount) / COUNT(DISTINCT cost_clientid)) as Average FROM p_skillshighway_costs

Timepicker - What am I doing wrong?

Then the folder you have to delete is: C:\Users\YOUR_USERNAME\AppData\Local\Wappler\Configuration

Directus and wappler connect to one MySQL database

Guys im new to wappler. question how can I connect directus.io and wappler in one mysql database they live in a different container? I am planning to have my cms in directus to easily make it and wapp…

SMS Integration Tutorial?

I haven’t integrated SMS with Wappler yet. I already have a page that saves a form to a database & then sends an html email. It would be a logical place to attach this SMS.php script – & I thought …

Sftp connect with ssh key

Hi guys, I’d like to connect to the server via sftp. Here’s the output of the connection trial; can you tell me what’s wrong and what has to be done in order to make it work? I have wappler version 2…

Dropdown Repeat

Figured it out. The repeat was on the wrong element. <div class="col"> <div class="dropdown"> <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdown1" data-toggle="dr…

Replace + for %20 JSON

Solved it, the problem was that the value did not have a + it had a space, so I replace the ' ' for '%20'. Thanks everybody!

To mail uploaded file or not

I have a form with a possibility to upload two different files in seperate file fields. However these are not required. Now, when I upload both files (select files to upload in the form) those files …

How to validate file type on upload?

yes it is. Select the filefield > goto Validation Rules

Use of .then() via Menus in Data Bindings

I am referring to the server action itself, not to your button. Just scroll to your server action in the App Structure and select it! Not through the click event …

Link to form

I have a button set up to show a form when clicked. The form is lower on the page. How can I have a link go to the top of the form when I click the button using Wappler?

Gallery

Well, you can achieve the same using a masonry layout with anchor images + lightbox added to the anchor images. No additional component or “gallery” is needed for this.

Fading FX on scroll

As the tittle say: I try to acheive some fading fx on scroll like on that web page: https://www.menuiseriembg.ca/ebeniste.php See how the background image get reveiled from black backgroud color to m…

How to make a button refresh page content

I will like to click a button for it to refresh the content of particular column or row. I dont want the entire page to reload but just the content of a particular element. What do I need to do?

How to make Form Fields stack vertically in mobile view

Well in Design View you need to specify different widths for your form row > col per different screens.

Dynamic Select Dropdown

You need two separate server actions, the one for the second select menu is filtered by the value of the first one. Here’s how to create a dynamic select menu in Wappler:

Troubleshooting javascript error

It turned out to be a non-Wappler related problem, caused by a third party script.

Web error on target server

Hello, so I’m getting the error below but exclusively on the web server, on my local server (the one I use for testing the system) works perfectly

Reset form issues

Question answered in a personal message. The form reset event works as expected - i.e. resets the form inputs to their default values (what the default HTML forms behaviors is) and this is different …

Multi-column list group

I see, so are your records always going to be 30? The solution i provided may suit better if the number of records change. Anyway if that’s the case, just use the Slice formatting option in the coll…

Shared Titles Showing Bind Data rather than Actual Title

Hi there, I am having difficulties with the users sharing pages generated with Wappler, I realize that it renders the page client-side and most Facebook, Twitter share modules use the html part to pu…

Validation Rules on input field not working

I have text input field I want to add validation to. But when I click the Plus sign to select the type of validation, I get the notification shown. (it is not possible to insert elements based on yo…

Security Restrict Multiple Permissions

Hi Peter, please look at the following thread. I hope it helps.

How to format HTML content from Database in Databinding

Use the Inner HTML dynamic attribute instead of Inner Text.

Form not working

That’s not strange that’s the way the form validation works

Stackpath is blocking my Database Connection

Hi there everyone, I have recently switched to Stackpath to handle CDN and connections to Siteground my hosting provider - which also holds the MySQL databases that Wappler connects to. Everything w…

Getting non-unique values

Hello everyone There is a table with the “tags” field. What is the easiest way to get a tag or tags that are contained in all table entries? Example: if there are two records in the table. The first…

FTP server on ipv6 IP address

Possibly a very silly idea, but maybe worth a try, it says 2 addresses found, one is IPv6 and the second is IPv4, then it chooses the first one being the IPv6 address and times out, your server should…

How to populate a textarea (medium-editor) with content from a variable

I have a variable ‘list_replace’ which is populated dynamically and typically looks like this list_replace: “Repeater lamp, Headlamp, Stop/driving lamp, Screen Pillar” Now I want to populate a text…

Can Empty Rows Be Ignored When Sum Is Used?

Yes! They all working now. The error was that I had placed the closing quote & parenthesis `) on the outside of the .formatNumber(1, “.”, “,”). After I moved the `) to this: <td>{{sc_dor_test.da…

Writing and emailng a pdf document from within wappler

Any good new way to do this without just using the windows print command. I’d like to save a table or form as pdf with a specified name, then email it to a client. Currently, I have to do this manua…

Show record minus first six already in another query

Simple maths, you need to show the LAST (TOTAL - 6) records, so it should be: dmx-repeat:rptbtm="scnwsbottom.data.qrynwsbtm.last(scnwsbottom.data.qrynwsbtm.count() - 6)"

How can I use the results of one query as a filter for another?

just {{query}} won’t do the job. The IN operator expects an array. So you will need to use: {{query1.join(",", "hub_main_id").split(",")}}

Problem Hide/Show content inside the repeat region

You should indeed use the dmx-hide dynamic attribute on your container and check if the binding returning “Samsung” exists. So it will be just: dmx-hide="!binding_name"

Split a string on line feed (Hex 0a)

In javascript or in an expression use: value.split("\n")

While / Do while (infinite) loops

While step has been added in Server Connect in Wappler 2.3.2

Data Structure For Creating a Client Side Array of Contacts

My app allows users to create a list of Contacts via various searches, and then choose a set of actions on those contacts, such as sending them an email. I’m a bit unclear about how to create the dat…

Group by time

I have a group by time working almost fine. These are for flights. I have an issue as I have two flights on different airlines but have the same time. the time shows with all the passengers for bo…

Set size from data

In the data picker for the dynamic width select [Template], select your dynamic value and add % after it:

Found A Reason That Can Cause Tool Tips To Not Show

I have several pages that have a small button menu in the upper-right header area. The buttons are shown or hidden by the View “hide on” screen viewport selector for different devices. When the page …

Form Calculations off

You need to round the result, not the values you get from the inputs. dmx-bind:value="(inputAddTransactionGross.value.toNumber() - inputAddTransactionTaxes.value.toNumber()).round(2)"

Print inside a printed form

Hello! So… In this oportunity I need to create a page to print inside each box from a paper form. I guess I need to use a rule to measure each distance inside the paper form. But… how do I create a pr…

Server side date functions

The error message now shows the problem… message: “DateTime::__construct(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_de…

Synchronization FTP to my online server is failing due to Maximum Client connections

Default parallel connection is 1 in Wappler, you can change it in the global options.

Using Two Security Providers at Login

My app has users who can assign other users to their account. Each user with a login is a user, but several users may have access to the same set of data, defined by a field called subscriber_user. H…

Default items on arrays

items follows just as any expression in App Connect the JavaScript notation. So to create an array you will enter something like ['Pepe', 'Maria', 'Nieto']

Error saving action file WinPTY connectnamepipeline failed ERROR

As I investigated further it seems that this issue can also be cause by McAfee Endpoint Security or Avast antivirus. It blocks falsely the access to windows commands. So if you have this antivirus in…

Date picker that filters not picked

My site has a feature that users can pick dates from our upcoming schedule. I would like the list that they pick from to include only the dates they have not picked. How do I actively filter the list…

Need help with word string length

Can someone tell me how to return let say 100 words and not all the words from my database table? I am not sure how to accomplish this in Wappler or how to use the php strlen() statement in Wappler to…

Multiple Image upload button in modal Bootstrap 4 form not working - images not uploading

Attempting to build a multiple image upload form based on this tutorial from @ben: Specifically this video: https://youtu.be/FGnd3GJVnUM When I click the “Add Images” button, the modal opens just…

Modal not hiding prior to clicking "Open Modal" button

It looks like deleting would be fine. From the App Structure there aren’t any elements inside it that you would miss (they seem like duplicates of the correct form).

Data not deleting and modal not closing

I suspect the button is outside of the Form You could either: Move the button to inside the form Add a dynamic event to the button and choose the form submit option.

I Need help to create database driven nav menu

Yup I just tested this out, and obviously it is pretty dependant on your database and your needs however. Database Structure id url name status depth 1 /index.php Home 1 1 2 /about.php Abo…

Adding Currency Format to Dynamic Value

I had the same issue yesterday. See this thread for ideas. About half way through we discuss formatting.

Table cell showing more than one field

Hello, You can just change this from: <td dmx-text="property1"></td> to <td>{{property1}} <br> {{property2}}</td> or if you want to have the second property font smaller, you can just have two pa…

IF on href

categoria == 'LLAMADO DE ASAMBLEA' ? 'invoice.php?tipo=llamados&id=' + ID : 'invoice.php?tipo=notificaciones&id=' + ID

Filtering External API Datasource

Ah yes, my mistake, no need of ' ' around true: filter="searchvalue.value ? ToteNumber.contains(searchvalue.value) : true"

Saving the first file's name to database record of a multi upload server connect step

I am uploading and renaming multiple images, but want to only save the first file’s name to the database as my main image of the set. Is there a way to do this either inside or outside the repeat tha…

Login New User After Registration

You are not performing the second (get user details) query at an optimal time You can use your registration credentials to login then you can reference the user via the security provider identity yo…

Need Help Debugging DMX Slow Event Execution Issue

Hi. In one of my pages in Wappler, I have a conditional region, which has nested conditional region and inside that there is a route. When both the conditionals are true, & I redirect the page (brow…

Display Sum of Fields

Hello Brad, On the page, where you want to bind the sum, select your query, then format data, then select sum and enter the property (db field name) which values you want to sum

Simple Currency Formatting?

No warnings, but I just solved it. Had to convert to Number first … all good now. LOVE WAPPLER!!!

How to show gutters

In settings turn on Show Bootstrap Grid

Query Conditions for two Filter Fields

In these examples, you’re nesting the conditions. If I understand correctly, you need something like this, eg: Notice that each condition is at the same level (not nested).

How to add dynamic data to a mobile app?

Hello @pixlapps You need to do: Create a mobile project. Create a normal web project, it will be used to deliver data to the mobile project. Make sure to setup a target and its url properly. In t…

Show record detail as modal from card Deck Record

OK, finally solved it. In some thread or tutorial it was stated, to make a new query for the modal details. Now I used the same as the repeat query and it works. Learning Byte by Byte. Thanks.

SEO for Dynamic Sites

Hi Wappler Family, I’ve been building a custom CMS for our site and I just had a couple of questions to run by you. At the moment I have a post.php file that creates the articles along with an edit.…

Is It Possible To Insert Records Into Multiple Tables?

In the Server Actions, can I insert data to multiple tables. If so, here’s a rough example of the steps I have in mind: All of the following would be displayed on the same page. Using the Server Act…

Join condition

Is it possible to define joint condition other than inner, right and left? Like full outer join or outer join?

Dynamically create variables

This thread is now a mute point because those damn Wappler guys are just too smart. If you place a variable inside a repeat you would imagine under any normal coding circumstances that each variable …

Change class on click in repeat region

Hello, You can use a variable, to toggle the class depending on the selected image. Create a variable in app structure Select your image, add new dynamic event > click > variable > set value. Selec…

Array Push

I am trying to add multiple UPS tracking numbers at once to an array in app connect but can’t figure out how to do it. I can do it using the .split() function when I create an array programmatically …

Button and input field appearance in Wappler and Safari

I have the problem, that there is a different appearance of objects in the Wappler Editor and the Web-brousers. See pic. There are e.g. borders around

Adding PDF functionality,

I am trying to initiate the Kendo PDF Export as per https://demos.telerik.com/kendo-ui/pdf-export/page-layout but if I add the following required header parts to the head of my page then Wappler remov…

Error when trying to install mysql from docker

docker pull wappler/image_mysql Using default tag: latest Error response from daemon: manifest for wappler/image_mysql:latest not found: manifest unknown: manifest unknown I followed the guide from…

Setting a Registration Form Dynamically from "Regular" to "Waitlist"?

I’m working on a way to dynamically switch an Event Registration form from the “Regular” registration default to “Waitlist” by checking before Form page load the Seating Limit in the events table. R…

Transfering data from a table to another database

i have a server connect file which doesn’t let me edit the database query in it. I’m copying data from one table to another table in another mysql database. I’m using a repeat to transfer the data. …

Hide Button with empty field

Hi, lets say that you have a forrm with two inputs. One with id=one The other with id=two To hide the button just add this inside the button tag dmx-show="one.value!='' || two.value=''" Hope it …

Color button by expression

The code on your page is wrong. I see the classes entered twice: <button class="btn flex-xl-shrink-1 bg-info" data-toggle="button" dmx-class:btn-danger.btn-danger="dbitec.data.qryitec[0].certificate…

Going Round & Round with "Linked Action Steps Warning to be Saved

In working on this php page to send emails I keep running into a time-wasting loop when I want to check the properties on these actions steps. While looking at the 3 properties below my Connection St…

Summarizing totals

Answering my own question: Step 1: Create a numeric variable and initialize it to 0. Let’s call it LastClientID. We’ll use this to compare it against the record IDs later, and these are usually > 0 …

Paypal adaptive payment - url is changed

Hi Serhat, As you have entered the custom url in the API connector properties, you can just change it there as with any api…

Filtering a date list using a Dataview to show only a selected day of the week in the list

This guide follows on from the previous guide: Before we can use the previously created table we need to make a basic query server action So we create a server action, in this case i called it ‘…

How to TinyMCE with wappler?

how to use TinyMCE with wappler?

Selecting Full Weeks or Full Months

Hi, I’m facing two challenges that I don’t know how to solve. Challenge 1: I need the user to be able to select a full week in the year BUT the “offered weeks” needs to start on a Sunday and end on…

Generating or adding to a list of dates in a table

Many applications need date lists such as calendars or lists to form the basis of custom date pickers In this simple tutorial i will show you how to generate a list of all dates within a specified da…

How to show/hide if database field empty

This took me a little while to figure out so hopefully I can save people some time. I wanted to show a button only when the value of a database field is empty. The use case is to show a Font Awesome …

How to show an updated image avoiding the browser cache

Thanks @psweb and @TomD for all your help with this. I’ve managed a solution which was actually a lot simpler than I thought it would be. I created a variable called ‘rotated’ with a value of 0. I th…

Chart

i have very close values on the y axis so i need to zoom in, like from 69 to 71 and i can’t find an option in wappler

Using sessions within PHP include file

Anyone know if you can save a session variable from a PHP include? I have a Dashboard page which has header.php as a Wappler include. In my header.php file, I have a log out button which on click is …

Android app to store info locally before uploading to mysql

I had written a page to fill out lead info at a bridal show only to have the shows wifi not work so couldnt use it. Id like to rewrite it to allow local storage and batch uploading to mysql later whe…

Adding Dynamic Text to a Placeholder

In addition to what @Teodor mentioned, you can use the UI for this: (this option was only added quite recently)

Show if no data

a condition Within the Dynamic Attributes of the button, i.e. show button condition is : serverconnection.data.query.hasItems()? 1:0 (or reversed depending on what you need to do)

Save uploaded image to local directory possible?

Some times you have to give read/write/execute rights to the folder you are uploading to at the server.

Responsive heading Title

Hi all and happy new year to all Wappler users! Just a basic question: Is it possible within Wappler to make a texte reponsiveso so it get smaller on smaller screen? For example I have a Title with h…

Show/Hide Elements Without Needing to Declare a Variable

Hello Antony, The show/hide dynamic events you mention are specific for the modal component. The different component have different specific dedicated events. You can show/hide any component by usin…

Shortcut to Delete Fields in Query Builder

Hi Antony, You can use the standard Shift/Click to select a range of fields and the standard CMD or CTRL click to select multiple fields.

How to browser language variable in dmx-html bind

SOLVED the corret way is this: <p class="small text-justify" dmx-html="jsonDS_traduzioni.data.labelcopyright[browser1.language]"></p>

Google Maps Marker Events

Hi, new user and first post so go easy on me Loving Wappler, finally get to realise my ideas, done more in a few weeks than I could have imagined but now I am stuck. I have google maps and dynamic …

Weekday function

Is there any way in Wappler to return the day of the week of a date? I’m thinking of something like Excel’s WEEKDAY() function. I looked in the formatter’s Date and Time menu and could not find anyt…

Inserting PHP Code Variable In Form

I looked at your php code and the solution is sound, however as far as I know there are parameters in the browser component that can do this in a far simpler way. add your browser component Look at …

Azure Server Side Include

Hi Wappler Community, I recently encountered an issue when trying to implement server side includes using Azure hosting. For anyone trying to take advantage of SSI when using Azure you will need to i…

Stopping a video background looping

Quick question, how to i stop a video background looping automatically?

Ftp help

No problem, can you show me your FTP settings screen please, so i can help you fix the error. I can see the issue from this sort of. Looks like you put http://192.168.0.154 in as your FTP server add…

Saved by Forum Again

All of this is already in WAPPLER DOCS. If you have specific requests for any of the other users, please use personal messages.

How to cleared the date picker?

Found a solution, maybe someone will come in handy: Using a dynamic event in parallel with the form reset using setValue(") set an empty string in the input date picker.

How to use URL parameters values in form inputs?

Now that I have Session Variables established in my form pages then my former URL value 1 to page 2 form input page is not picking up the values. http://localhost:8888/akd/mykade_events.php?event=…

Text field is empty

You can just use: dmx-show="!expression" or dmx-hide="expression"

Session variable not passing between pages

Ok so now hit the + button while you have Set highlighted session1.set will then move under browser1.goto Click on it, in the properties below it, click the name area and a popup list of available v…

How to Vertically Centre (Center) a p Tag in a Column

It has taken me ages to work out how to vertically centre a p tag withing a column… and the answer is actually very simple. Yes, you select vertical align - center for the column in the Properties wi…

How do I create a fixed bottom navbar in wappler (bootstrap)

You can do this by adding a navbar component and set its position to fixed bottom.

Making a "sliding"/ "hidden" navbar in Bootstrap (w appconect)

I’ve used the template in the thread @brad linked to - it worked well. However I would also recommend looking at this thread.

How to Align Horizontal Navs with Space Around or Space Between

So you have a navbar, and you want the spacing to be based on the Space Around or Space Between concept. You select one of those on the navbar-nav element which contains the a tags, and nothing chang…

What is the Output Button in the Server Connection Properties?

I never see any tutorials where this Output Button is checked. But it looks important because when it is checked it adds an extra symbol to the Query Action Steps. What is the option available here,…

Conditional CSS style toggles on Bootstrap 4 tables

You can use the standard javascript AND / OR operators (&& and ||) to combine conditions

Redirecting on Login based on user roles (Static)

Upon searching for how to redirect based on user roles I was greeted with this : However, this tutorial is using database logins. Would someone mind explaining how to do the same thing with static …

Selected row color

ok solved dmx-class:text-success="$index == varSelectedRowIndex.value"

Save image from URL

I tried to do something similar. if you use the dropzone component and then click on it to open, you can paste the URL in there and it will upload it. But I couldn’t find a way to do it directly thr…

How to Setup a local WAMP Environment and connect Wappler (Beginners Get Started Guide to Local Wappler Development)

Hey everyone, I knocked up a quick video tutorial on how to setup WAMPServer and connect that to Wappler. It may be rough around the edges and sorry for the delay in getting this out. Hopefully, this …

The intricate design of the table - repeat data in the cell

You need to investigate Nested Repeats. This is where you have a repeat with further repeats inside of it. When implementing you essentially stack the nested child repeats inside a parent repeat. T…

Hide if serverconnect data value is blank/empty

Solved it. Made a video just in case others need it. when on the browser i went to the db and deleted the user id “as if there were no records” then reinstated the user again. works perfectly. than…

Dmx-style:display="none" does not work?

Because this is a dynamic attribute which expects a dynamic expression. none is not a dynamic expression. If you want to hide an element, use the display properties in App Structure properties.

Style attribute bind with a variable array

How, i finally found what was worng. Here is the correct syntax: dmx-style:background-image="url({{menu_array.value.M_000_HOME}})" Hope it’ll help

Slideshow doesnt' work proper

i have a slightshow with dynamic data. but it doesn’t work proper . The slights doesn’t “slight”. I think there is a conflict with an other module. But I can’t find it. Link to the page www.ant-s.e…

Add record line number in a list

How do you add the record number for each line in a paging list ? Have searched the community site and have not found a reference to this.

Data/Event Sharing Between Main & Content Page in SPA

A content page is injected in the main page so all data from the main page is available in it as it is part of it. Only the data binding picker doesn’t show that yet but manually entered expressions …

Setting server side object variables

In Wappler 2.3.4 it’s now possible to use nested JSON data structures directly in the Server API Connector UI.

Error using medium editor

Change these to: <link rel="stylesheet" href="dmxAppConnect/dmxMediumEditor/medium-editor.css"> <link rel="stylesheet" href="dmxAppConnect/dmxMediumEditor/dmxMediumEditor.css"> <link rel="stylesheet"…

Creating a Client Side Kind of Procedure

I want to create some kind of procedure like thing on the client side, which manipulates various variable values, and then I want to call it under certain conditions, such as when a button is clicked. …

Validating a record during an update

Hi, I’m looking for best practices or practical recommendations on what to do here. Many thanks in advance. I have to manage PERSON records in a database table that keeps only one record per individ…

Page counter

Hello, Add a server action which updates your database table value and run it on page load.

Docker network security / Portainer

I’m using Portainer as a visual / GUI interface for Docker management on my Mac. I noticed that under the Network section of Portainer there are three Public networks showing up (bridge, host and non…

Database driven menu : onclick menu action or browser.goto redirection

Hi all, I need to design a database driven menu. After quering a database table i want to create y menu in a repeat sequence. Doing this with only browser.goto redirection is quite easy. But in my …

Reviving a 2018 Issue

I see that this issue stretches back over a year ago. It is frustrating that there is no way to LOCK UP Working Pages from any more changes that make the pages inoperable overnight from Project Devel…

Use same form for Add and Edit

Hi @Heather_Mann Yes. that is possible. Depends on how are you filtering your update record data (using an url variable, or using some variable on the page) you can add a condition step in your serve…

Slow navigation

I have this code, but it reacts very slow <a href="#" class="dropdown-toggle nav-link " data-toggle="dropdown"> <i class="material-icons ">search </i> Suchen </a> <div class="dropdown-menu drop…

Duplicate ids - warnings in the console

You need to give both static id and dynamic id (with dmx-bind:ID) to get it to work. The static id - you can use into your expressions, the dynamic id is for the browser. So in your case it will be …

How to HTTP POST API Request Json Format

In Wappler 2.3.4 it’s now possible to use nested JSON data structures directly in the Server API Connector UI.

Docker in Wappler and Managed Databases

Regarding my previous post in this thread, I contacted Digital Ocean to find out if their Managed Database offering included managing a database that exists inside a Docker container since Wappler’s D…

Delete Unused Linked Database Connections

I’ve created some excess linked database connections… how can I delete those?

Format Date/Time as decimal

Is there a way to format date/time, such as 1:30:00 (One hour and 30 minutes) as 1.5 (one and a half hours)? Thanks, Chris

How to Set form to readonly based on user's role

I don’t think you can do in the design view but I believe you can wrap all the inputs in a fieldset tag and set that to disabled.

Recordset with same data

Figured so. You just selected the wrong bindings when you added the data to your table. Done that a million times myself without thinking or more like out of habit. Select the data from within your re…

Launching a phpMyAdmin Docker container

I put together some easy to follow steps to launch a new phpMyAdmin Docker container to manage the database in your Wappler MySQL container. Open PowerShell or whatever tool you’re using to operate y…

Update form with dynamic checkboxes

So this should be entered then in the checkbox group value: connAccommodation.data.queryAirports.values(&quot;AirportID&quot;).map(&quot;$value.toString()&quot;)

Class toggle delete other class

Hello, Just use two dynamic classes: dmx-class:btn-light="yourconditon == false" and dmx-class:btn-success="yourconditon == true"

Date picker : set Monday as the first day of the week

Hi @djeorges You need to first include the moment framework including locales: Then add the moment component in app structure and select your locale/region option, where the start of the week is M…

Conditional Value Binding

Yes, that’s what i call a clear explanation So please try: <dmx-scheduler id="asResendTimer" noload="true" delay="1" dmx-on:tick="(varResendTimer.value > 0 ? varResendTimer.setValue(varResendTimer.…

Array Insert at index not working

Insert item inserts the value at the selected index in the array. Replace Item At updates the existing value at the selected index in the array. Can you please explain when would you need to insert …

Blank pages in design view

Had to reinstall Wappler. Starts fine now. Default demo pages (Real estate dynamic and static pages) looks good. BUT when i try to open ANY page I had previously created, all I get is a blank white pa…

Drag user(s) name/icon(s) from Box A to Box B

Hi, Is there a way in Wappler to list - lets say - All member´s names of a group A. and using touch finger Drag any desired name from Box A to BOX B ? (or mouse when Touchscreen is not available) O…

Where is Check for Update Wappler tray icon?

you may have to click a small up arrow to the left of the time/ data to see the wappler tray icon then you will see Right click the Wapper icon

How to calculate a totals field in a form with 20 currency input fields?

Neil, remove the repeat region from this row where it is placed now. id="row_specialist" dmx-repeat:repeat1="sc_specialist_q.data.sa_specialist_q" Add a repeat children which wraps this row. Then t…

Problem of mixing cell data of different rows after resetting filters

I’m not sure if this is the answer, but try adding a unique key here:

Two Functions in Click Event - One to a Javascript Function and One Calling Server Connect?

Give this a try: {{switchDownload.load({productidfromdownload: id})}}; setIframe(this, ‘download.php?srcurl={{fileName}}’) Sorry, I’m not at a computer to test! —Ken

How to protect files from public viewing?

Hello, The site is protected by user verification. And users upload files that are not intended for public viewing. But despite the fact that I have security provider installed, if in the address bar…

Internal site authentication

OK, solved this on my own after selecting dynamic value I replace the dmx-bind:value with this value="<%= Response.Write(Request.ServerVariables(“AUTH_USER”)) %>" this defaults the field to th…

Docker question

Is it possible to download a project using a remote docker connection? I am using two computers one at work and one at home and I set up my account at work and would like to download it to work on it…

Limiting the number of records in a bootstrap 4 generated table displaying on a page at one time

Hello, Use a paged database query, there you define the number of records displayed per page.

Matching repeat region cell data to query

Sorry i forgot to mention that you will need to add an alias to be able to call the results on the page. So, just add any alias name here: And on the page you will see it available in the data pic…

Help needed on a paged query

You can disable a filter condition within the query builder by making it conditional using this setting. Great for when parameters are not sent as the condition can be ignored

File Upload Input Styling

Hi Brad, There is a Custom File input available. It does exactly what you are trying to do:

Error Creating Docker Machine with Digital Ocean

https://api.digitalocean.com/v2/regions - “id”: “unauthorized”, “message”: “Unable to authenticate you.” Getting this error when I try to create a docker.

Sortable Dynamic table - editing columns shown

How do you edit the columns in a Sortable Dynamic Table after its been created

Dynamic Page Redirect

That is the concept you need to study, you need to try and understand how workflows work rather than just copying code snippets Basically the code for you is something like: browser1.goto(form1.data…

How To Keep Data From Inputs

The problem was the CONDITION was set to CONTAINS! Once I changed it to EQUALS, boom! Embarrassed, but very HAPPY! Now we can move on… to greater things!

Repeat database inserts depending on select value

I have a data insert that I would like to repeat ‘X’ amount of times on either a daily (1) / Weekly (7) / Bi-weekly (14) the quantity comes from a text input in the form and the other daily/week/bi-w…

Need advice on database

Hello, I’m new to creating and using databases, so my problem may not seem serious to you. But I’m really stuck. I have two tables. The data are as follows: I understand that this relationship is…

Multi Insert from a list

Hi @rokit, When you add a new employee, after the database insert for the employee, add a new insert for the Employees issued table using the default items you want them to be associated with. This c…

How can I sent raw data with API connector?

Dynamic name is not possible in the UI, you could edit the action file directly. Open the json in the editor and change the data there in the code. So options for the API call will become something…

Having Problems With Login: Formatter

On all filename.*2, yes, I deleted both locally and server side.

SendGrid API

Hi Carlos, Unless something has changed in the last couple months, the way to get this done is by opening the file in the editor and manually entering what you need. Build as much as you can in the e…

Server Action API Authorization Help

In Wappler 2.3.4 it’s now possible to use nested JSON data structures directly in the Server API Connector UI.

Variable Date and Time to show the next week

It’s really just adding formatters to the date, do a search for DateAdd which will bring up a few results to look at.

Redirect to a routed page when form submitted

This should be obvious but I can’t quite suss it. I have routes set up where there’s an ID in the URL. It all works perfectly. I have a simple one-input form where an ID can be entered. I want to go …

Adding a new Nav Bar Button

Please also check the docs: https://docs.wappler.io/t/creating-a-navbar/2904 You can see which elements need to be added in what order. Note, the docs were created with an older version, but the pri…

Using Two Tables for Login Query

Is it possible to use the same login form that queries two different login tables? Each table has users with different email domains, i.e., TABLE 1 has *@abc.com; TABLE 2 has *@def.net. Is it possib…

Swiper text animation

Hi, I’m making a gallery with swiper with text in front of each image. I want to animate them, but is not working with the dynamics attributes / animation. Is there a bug, or something is missin…

High CPU Usage on Page/List Load - How To Find Cause

Hi, I have a page which loads a few server connects on page load, and has a bit comprehensive UI with lots of buttons, lists, collapses etc. Once all server actions/connects are loaded, the UI is dr…

How to use browser.goto with dynamic values?

Guys … when using static content with the goto action, as explained in the docs, you must wrap the static content in single quotes! browser1.goto('./tasks/'+task_id) @Dave , i think you already kne…

ReCaptcha - Server Side - Secret Key... As dynamic Value

ReCaptcha - Server Side - Secret Key… As dynamic Value. Im building a small CMS and want to give the client the ability to add their own “secret keys” from google reCaptcha… So I guess i can add the…

Insert API data into The Database

Hey there, I am trying to get data from API enpoint and insert it to Database maybe with a sync button does anyone how to achieve that? I got API connection and Database connection set up already…

A condition for a dynamic attribute is required

Hello, There is a task: it is necessary to show an element if in the returned query to the database, all records on one field have identical values and are not equal to zero. What will such a condit…

Checking Database for Entry and Compare to Another Database

Why not get all the data in a single query, use a LEFT JOIN to join with the Library Table. https://www.w3schools.com/sql/sql_join_left.asp You then just check if the UserId is not NULL to see if it…

Comparison Charts

As i had the time, thought i would tidy things up, just one custom query needed, no view required. Just change the office names and copy/paste into a custom query Have a great christmas party! selec…

Unknown component found! dropzone

Probably a js file is missing. Can you provide a link where we can check your page please?

Json data

Try using: serverconnect_store_info.data.api_store_info.data.uid

Problem when Server connection update

So the trouble I’m having is that when I update the query parameters, the old data keeps showing, instead of replacing it with the new data. As the image shows, the data for Fechas, Creditos and Tota…

Image properties' ID for the query condition

With the query builder you can’t use nested queries, so that will not work. Use the custom query instead. What is the problem that you have when using the custom query?

Query problem

Ok, hello. I’m having some trouble with a query to a database. Basically the problem is with the data I require. The databse query is something like this: I need to “concatenate” (I don’t think th…

Detecting if the cookies are enabled with PHP ASP or client side java script

I think there’s a simpler solution, using the Browser component: {{browser1.cookieEnabled}} returns true if cookies are enabled.

Medum eidtor, make Image clickable/open in modal

I have got the Medium editor to upload images and display content on a page but i resize the image using css. I would like to be able to click on the image to open full version. similar as wappler fo…

Query the database with merging records

So you want to group by field 1 and field 2. A custom query would look like: SELECT field1, field2, SUM(field3) FROM table GROUP BY field1, field2 You can do this with the custom query or with the q…

Jquery Function in Dynamic Events

How can I add a function and execute it in dynamic events. Why I am using dynamic as apposed to static? I can’t seem to get the static to run before the dynamic. I want to run a script update a hidd…

How to export and download CSV file?

I am facing issues with download CSV files, can you please tell me straight forward or best approach to download csv without using Route. I want to download using same serverconnect, and i am using p…

Is it possible to specify the source of filters inside the elements, instead of in the server connection?

My main table uses filtering by 12 fields. Filters for 9 fields work via select. All 9 selectors as a data source have the same table, but with different settings. At the moment I have to create 9 dif…

Stuck Adding Parameter to Custom Query

The where clause comes before the group by.

How to add or integrate Paypal payment to Wappler Application or Form

I want to add a Paypal payment button to my Wappler application. So that the user can click on the button will be redirected to paypal for Credit card or bank payment. After payment my payment table …

Getting variable value from repeater into javascript

use onsuccess="setMapMarkers()" on the server connect component. In the javascript function get the data from the server connect, loop through them and do your work. function setMapMarkers() { var …

How generate default CRUD forms using existing PostgreSQl tables

I have many database tables with so many fields or columns, I am looking for a quick way to generate CRUD forms without manually adding each individual database fields to the form. It is easier to mod…

JsSIP implementation

please check your nat configuration (check local nat and carrier grade nat)…

Filtering records by date

Hello, There is a date field in the database table. I get to insert the date and display it to the user. But it is also necessary that the user can search for records by date. I have a problem with t…

Check existing element within query before inserting into database

You filter the query by the POST variable you want to check from your form. It must be in the ELSE if you want to insert the record if the record is NOT in the database… THEN will run if the {{que…

General questions on Wrappler on app, data and usage

Hi there, I am new to Wrappler (I don’t even have it yet), and before I dive in, I’d like to ask some things I didn’t find in the docs: Is it possible to: use Framework7 (instead of Bootstrap) to …

Updating text input value when radio button is unchecked

Hello @Kattouf the default formatter IS the way to go. That’s the right approach for checkboxes, as they don’t send any value if unchecked.

Custom PHP Script in Action Steps

Hey Team, It would be nice to add a custom script and add it as a line item in the steps and maybe reference variables within the script as shortcodes. As of right now I have to add the lines of code…

Run script after repeater is done

If it doesn’t work you can use the success event of a server connect to call a function, or set a function to execute with a timeout.

Unable to create Element ID contain hyphens

This is per design. We do not allow hyphens because the ID’s are used as data variables in App Connect in the data binding. And in variable names hyphens are not allowed because when used in expressi…

Charting Question

Took me all day but I finally got it! Using a custom query … Might be a better way to write that query but this works …

Name of uploaded files (no ASCII)

The type returns the file type, not its extension. You can just use the name returned by the upload step and then split it by . and get the second part: {{name.split(".")[1]}} this will return psd …

Separate menu for Swiper

You are using href="#" for your links. This redirects the page, when a link is clicked. Use href="javascript:void(0);" instead if you want to control the swiper using the navbar component.

Reading / Writing to Google Sheets

Does anyone have any code or can point me somewhere to how I can get Wappler to read/search and write to a google sheet? Many thanks Mik

Fadein doesn't work all of sudden

jQuery slim doesn’t have animations, use the normal jQuery.

Get total of figures with specific currency

Hello Team Wappler, I am building this test admin backend just to get my hands dirty with Wappler and I need some help. I have a database with the following tables: users, members, tithe, offertory…

Repeat Accordion won't collapse

Got it! Thanks. The {{$quot;#quot;}} from that example didn’t work but changing the data target to dmx-bind:data-target did the trick. Here’s the working example for anyone else that’s stumped on t…

SPA on load dynamic event

I have a trouble with SPA and dynamic actions. I have an SPA. Index.php page contains two SPA routes with content blocks PageA and PageB. When route A is chosen and PageA page is loaded, I want to ch…

Using the Medium Editor

Hi, In one of my pages, I need the user to be able to type and format notes. All I need is something that is truly not different from the editor I’m using to type this topic right now. I don’t need …

Like mysql Date

Then you can use the between condition and then format the date, in the format you need using the data formatter: {{$GET_variable.formatDate("yyyy-MM-dd 00:00:00")}} and {{$GET_variable.formatDate(…

Pagination with Child Repeater (Repeating Bootstrap Cards)

Hello @Kieren_Hovasapian It doesn’t matter what structure are you using to display your paged data on the page (table, row with columns, cards etc.). So what’s the issue exactly - is your server act…

How to remove a file extension after file upload

Hi @Kieren_Hovasapian Use the split formatter instead, split on . and get the first part: .split(".")[0]

How to run 2 dynamic events under ternary operation?

The forum has a really nice search option, which you can use to find if your question has already been asked. Result:

How do I count the of records in database and display them in webpage?

OS info Operating System : Mac OSX 17.7.0 Wappler Version : 1.2.0 how do I count the number of records in mysql and display them in webpage

Updating DB Records

Ok. I have spent 3 hours on this and I am about giving up so I decided to post here for help. What I want to do is update records in a database. I want to click on an update button or link for the up…

Working with Dynamic ID Attributes

For your repeat it works exactly the same, you use the static id for the expressions inside the current repeat item and the dynamic id to have unique ids in the DOM. Here your sample code with a repe…

Implementation Infinite Scroll

Hello Is there a way to implement this functionality (Infinite Scroll (loading data fom server connect) Similar to Lazy Load) in a Wappler project using third-party libraries/plugins? If Yes, how?

Redirecting on Login

In reference to this document, what happens if the pages to be linked are url-rewrite e.g…‘employee/dashboard/’, how do i pass the role to the users…

Dynamic value of checkbox in Repeat table for a GET query.... Checkbox group?

Just recalled that in Bootstrap 4 settings - you shouldn’t use the App Connect Input Group directly, but instead change the type of the Bootstrap Form Group to be of the type input group: This way …

Is it possible to circumvent this and force the other tables display their content?

Here’s my novice inquiry regarding this query: SELECT * FROM itinerary, pastor, church, service, expense WHERE itinerary.itinerary_id = pastor.itinerary_id AND pastor.pastor_id = church.pastor_id …

Password strength

I can easily set a minimum length for passwords but is there a way to also ensure it also has a number and a special character?

Update record by +1

I had to update a page hit with +1 but i couldn’t figure out how to do it using the Update Query Ended up doing it in Custom Query. This worked fine: UPDATE Feed SET Feed.f_views = Feed.f_views + …

Filtering data with multiple checkboxes

That’s the problem - logically it won’t work with data stored like that. You are comparing the string Single,Internet,Parking stored in your db field with an array of values, returned by the checkbo…

How to hide an original server side include file?

Hello, You can put all your PHP includes in a folder in your site root, call it for example _inc and then deny access to that directory in your .htaccess file.

Link and duplicate button missing

Hello, We’ve removed the duplicate button from the design view to simplify the controls. You can use CTRL+D shortcut to duplicate the elements. You can also use the duplicate button in the App Struc…

The 'IN' condition in query builder doesn't seem to work for me... help appreciated

Hello, The IN condition expects an array and not a comma separated list. You need to add: {{"36,37".split(",")}}

Conditions in server connect is possible?

You want to execute the scheduler1.start() on load only when the parameter is set? Try changing the expression for the load event to query.post ? scheduler1.start() : null.

Date picker does not show date value

Not really sure, but it must have been like at least 6 months already. We improved that as it caused a lot of troubles for the users The generator generates basic form inputs, so you can then exte…

Nested content pages?

Hello, Is it possible to have content page inside another content page? I have a page Group.php it is accessed via /group/:group where :group is a variable this works. In that page i want to kee…

Help with API's

I have a connect that gives me the token, however in the query I have to include the token eg step 1: post - email_addess and password Gives me a token number (I have this working) Step 2 get …

Browser not showing CSS changes but Design View is?

Hello Phil, Make sure to upload your custom css file to the server when you want to preview the changes. Also make sure to clear your browser cache, as it might be showing cached version (CTRL + F5)… …

Server Side Includes and Server Connects

Hi, Here’s another question from a non-programmer on day 4 of the trial. This one comes with a long intro. I followed one of the video instructions and created a page with server connects to logou…

Route not work

Hi, I set routing from routing properties though, it doesn’t work. What am I missing here?

Accessing api2pdf api via app connect

I know you already have it working in Server Connect, but here how to set the authorisation header and data in App Connect

Opening record in a new page

I have these records and I have create a print button. I am trying to get the print button to open up in a a blank page that I have created so that I can format it the way I want it to be printed.…

ERROR 401 when connecting a server action

I think I found the answer in a previous posting. Thank you @Hyperbytes for this gem

Security Provider Database User Login

Hello, In the login step, when you set the post variable, you need to apply the same hashing and salt as you used for your create/register user server action: this way both hashes will be compared…

Inserting API results directly into database

Hi @dserber, What I would recommend is after the api action retrieval, create a repeat step and add an insert inside the repeat. An example can be found here, Conditional Logic with Validate Data an…

Insert Record to database - no default value for Id

Can you check if your mysql server probably has the strict mode setting enabled, as explained in this topic:

Change gridline and axis label colors on graph

Does anyone know if it’s possible to change the colors of the gridline and axis labels on graphs in wappler?

Typed Text - Can't see the option in properties panel

Well it’s been a while since using wappler so I’m using that as an excuse for my stupidity. It was solved by adding the app connect framework

Is there a way to populate drop zone thumbnails form database query

I have an edit form which includes an image, what I would like to do is populate the dropzone thumb nails with the image path that is returned for the database. Is this possible as everything up to n…

Login security provider not working locally for me - cause bitdefender

I have discovered the issue, bitdefender on none https is blocking any password scripts made with Wappler, tested other systems I have and all worked, I am sorry to bring the frustration here since I …

Storeden API connecting

I can’t connect to Storeden’s APIs. Here is the link for the connection. Can you help me ? Thanks Thank you

Nested Repeat and Layouts

Hi Everyone. Wonder if someone can help. We are wanting in our admin panel to list users and their respective roles. We have two tables, users and one permissions, and works brilliant. Using our q…

SEO and Google listing using title and description meta tag

What teodor means is to select App in the App Connect Panel and change “App Root” to “Page”.

Easy "CSS only" transformation of a modal dialog box to a rigth slide panel

Modal box are definitly not responsive. This is even more true if you also want to access to your app from mobile. From my point of view, the best is to replace Modal box by a rigth side panel. And it…

Import xls/xlsx

Hello Task: import xls/xlsx file. Share how best to organize the import due to third-party solutions and which ones? Wappler does not support importing this format, but the solution is required now. …

Validate event End date

Just use the dynamic attributes of datepicker 2 and set min date = datepicker 1 value. See:

Custom Client Side Formatters Issue

Seems I made a typo, a curly bracket is missing. dmx.Formatters('string', { encodeBase64: function(val) { return btoa(val); }, decodeBase64: function(val) { return atob(val); } });

Closing a dropdown after selecting a menu item

That’s the default behavior of the Bootstrap 4 Navbar. When the page reloads, the navbar will display closed, as you reload the whole page and its initial state is closed. You can close the navbar c…

Monaco Code Formatting

Hi Brad, you can already enable/disable this option in Wappler settings:

Waffling about Wappler

new to this… before you throw any coffee at me … after all i am at the coffee lounge. i want to use wappler with a local php and IIS server and a local SQL Server Q1- IIS do i need any speacial plug…

Connect to an API

Hello there, I am trying to connect to an API. when I try to connect I get the following result The question is, how can I pass these values using the Server API action? Thank you!

Route Save Error

You have an empty path or path is not entered on your page route component

Masking Telephone Numbers

Hello @samrich Isn’t Patrick’s solution working for you as well? <td dmx-text="people_phone.replace(/(\d{3})(\d{3})(\d{4})$/, '$1-$2-$3')"></td>

Cant get Data/records to show in content pages

Should i be seeing data/records on the content pages themselves when i open to edit? becuase i don’t. In main page they display fine. thanks /Johnny

Date Picker Format

Probably you want to use: MM-DD-YYYY HH:mm You can find all of the formatting options here: https://momentjs.com/docs/#/displaying/

Pass variable via div tag

I want to pass a variable (file-name & path) to a div-Tag (that shows a pdf flip page). The Syntax to call is: How do i dynamically replace “test.pdf” with the server connect result, in my case: {{…

Course date + 7, 14 or 21 days

We are busy converting our course administration with Wappler. This goes well except for 1 point. We would like to automatically schedule all our course days. It’s about the following. For example, …

Accordion Card Open by default

This was improved in Wappler 1.9.7

Text input conditions

I am trying to build a text input with an output value based on a condition e.g. if textinput1 is <12:01 then show morning in textinput2 if >12:01 but <16:00 then show afternoon etc. Seem to be strugg…

Filter with text field and checkbox

Hi everyone, So, site is getting there slowly. I have a list of users, and want to filter that by name and active status. Filtering by name via text field is fine, works brilliantly. However, I al…

Delete one page's cache from another

Hi Team, I am trying to follow this tutorial : Data Caching with Local Storage in order to create a ‘Delete Cache’ button from my admin page and delete cache of some public page. I am trying to fol…

Сlass input-group

Hello Wappler has a form-group class for creating forms. But I could not find the input-group class to create composite inputs (example on the screen): I can use this element in code because it is…

Database Insert With Sequential 7 Days Plus AM / PM (Eight Rows)

I would like to insert dates into a database using a start date and end date. When entering the dates I would like the start date and each day after until the end date to be entered to each row in the…

String multiple values in a single field separated by pipes |

That’s because you need to use dynamic IDs and dynamic for attribute for the label: <input class="form-check-input" type="checkbox" dmx-bind:id="inp_airport_{{$index}}" name="airport[]" dmx-bind:val…

How do I re-create a web app from one Server Model to another?

Hello, I would like to ask how to re-create an existing web app from a Server Model to another, for example ASP.NET to Php. I have an existing web app created for a particular customer using ASP.NET …

Advice, Details about accessing an external third party web service

Hi All, As a part of our application we need to utilise a third party web service. The web service is used through XML requests and responses with a client certificate. I have the client certificate,…

Slideshow difficult to add to SPA page

Ok, i see what you mean, let me check what’s wrong. Meanwhile you can just add javascript:void(0); to test if it still produces this error.

Use Links in Charts

How can i link Data points in DMX-Charts? I want to set a variable (“x-value-label”), when the user clicks on a Line-Chart

How to refresh database structure in Wappler

Well there you go! Available now in Wappler 1.7.1

Control Swiper with select input

I set up a little test page to just see if I can control swiper component with a select input field. The select input updates a var and the var should on updated change the swiper slide. See file atta…

Beautify Code with new Code Editor

Hello Marcel, The Monaco editor uses Shift+Alt+F shortcut to format code: You can see this right clicking in code view.

Editing mutiple classes

Hello @Kattouf This feature is called “combo class”. This is useful when you already added a class to your element and styled it. But then you want it to be a little different than the rest of the e…

Error while populating bootstrap 4 table generator

Hello everybody, I am new to Wappler. I began following the tutorial about universities by wappler unwrapped (basic lesson 1) and I followed all the steps required to populate the table at the end of …

"Check for Updates" notifications and Mac Catalina

Do a quick check of your notification settings for Wappler.

Retrieving data from nested repeats

I did get this working in the end as the issue was being caused with the dynamic data picker. I had to change my expression to modal1.data_detail1.select(id) manually.

MP4 video - Connection errors

Please take a look at this Tutorial …

Dynamic ID for Repeat Region?

I (finally) figured out a way to do this in wappler without adding code: Create a variable that is populated by button click with $index add a class toggle to the card body: Thank you all …

Running PHP scripts server side

After a small look at their website it looks like it is easy to implement with Server Connect and the API Connector. Check the documentation for curl, it shows the exact calls that needs to be done to…

Moving PHP Files

Not sure what I’ve done but I’ve managed to fix the issue. I think I turned off ‘Use Routing’ under Project Settings and turned it back on. This looks like it has re-generated the routes to the wapple…

Routing on category

I have one part of the routing done, where is will filter through one. However when I try and filter again from a sub menu it is just not working and I am getting error and no page loading: Example:…

Setup Default Choice In Dynamic Select

Sorry i was on my phone, provided a wrong attribute. All you need to do is to select dynamic attributes > input > value and enter 'USA' there:

Validation message

Try placing the input inside a form group.

Date Picker

Hi John, Have you tried setting the mask to DD/MM/YYYY instead of localized?

Security Login of Active accounts only

Then, you need to query the users table and check the result with a condition. Add database single query, which queries your user table with the following conditions. Filter by username/email(or what…

Action Scheduler - Apply dynamic formatting ("transition") for changed "delta" values/rows

Dear all, Spent hours trying to figure this out, any help will be appreciated. I’m new to wappler, so still learning to harness the hidden powers! I’m quite familiar with dynamic formatting of data …

Classic ASP: Help with simple upload

I have not been able to do a simple upload. I posted earlier and was told it was because there was no file template specified but I have tried with and without. I have other sites with no issues and I…

How to precheck checkboxes

@Kattouf You only need the checkbox group component if you are going to use dynamic checkboxes, with dynamic values. For a registration/login form, you don’t need it. So just add your checkboxes wit…

Key issue, Digital Ocean/ Docker

Anyone help with this, been on a few hours trying to sort it. Error message highlighted

How to Make Single Sign On (SSO)

Hello Everyone. I am looking for SSO for my site login. Can any one please support how to do this in Wappler. Regards, Yannick

Show message when no results

Then you can add the server action status in the same show/hide condition, used to check the query. It’s available in the data picker, it should look like: serverconnect1.status != 0 && !serverconnec…

Help please - F7 web app (IOS)

I am putting together a web app, using F7 and it works well on desktop and Android but when I add the page to the iPhone home screen I encounter an issue that I am tearing my hair out with. I am awar…

Invoke Server Action from cron job

Another option is to use a curl command instead of php. I find this is easier as the syntax is the same as calling in a browser.

InArray condition on server connect

It seems like there should be an InArray conditional in the server connect formatter. I added my own which seems to be working fine: function formatter_inArray($val, $theArray) { return in_array…

Bind last record in table

Evening all, Hope this makes sense. I have a table that filters the last three records, which is recording current weight, date etc. I want in the navbar to show a fighters current weight, fighting…

Pagination Offset More then 25?

in server connect, you can find option for limit. we have associated this with the value from select dropdown - it can be hardcoded as well. further, in case the SC is not auto load - like in our …

Masonry gallery system with the images display from a folder... is possible?

Hi Michele, All you need is server action file, which includes the file system connector, listing the files in the folder. Then use it as a data source for the repeat region, just as you do usuall…

Is it possible to set the amount of times for a Action Step repeat?

I have a database that I would like to add a repeat for events if they are weekly or monthly. Is there a way I can set the amount of times an item repeats in the Action Step Repeat? I would also nee…

Time posted

You can use the formatter option to calculate the time since your dynamic date. Add Date and Time component on the page, it returns current date/time. Add your dynamic date from your database on t…

Croppie Support

Hey All, Just wondering if anyone has successfully used croppie or a similar crop tool where the user can crop the photo before upload… I would love some help on this one

.haccess file missing?

All files starting with dot are hidden files. So to see them just right click and choose show hidden.

GROUP BY in Database Query Builder

SOLVED with SUM in value record

Filtering with custom select selected values - how to handle selected values for filtering purposes

Hi Georges, You are almost there! Try this: {{$_GET.groupid.split(",")}} Keep your GET as a Number without Multiple. The Linked field isn’t related here, and is used when returning validation err…

Weeknumber in date format

Hi there . I realy enjoy wappler but i jumped out og the gate and started without reading anything… my bad . I based everything around weeks only to find that the date format dosent support it ? Is t…

Wappler on ChromeOS Linux

Thanks @Teodor ! I found the file, downloaded it, and eventually got it to update. I’m running Wappler on ChromeOS setup to run Linux. For some reason I was not able to update over Wappler version 2.…

How can I get a default image

seems that I didn’t copy the expression correctly from you, it was missing the first part. I hope it is correct now. <dmx-value id="filteredData" dmx-bind:value="serverconnect1.data.folderList1.where…

How would you do this?

Now I know there are some geniuses out there What I want to do on a membership portal is assign a number to a group of members when they register. I need this number to goto the next number after x …

Base64 encode decode client side

Ok, then please check this:

Deleting Projects

Ah! Thanks, I guess you have to be in a thumbnail view. In List view there is no option.

Select Options where "If" condition is used to create the data list

OK, so if i follow you correctly you have a parameter you get via get_country_view_id which returns 0,1 or 2 You then need to use that parameter to return a list of counties within the selected count…

Output HTML directly from database

Select where you would like the button, then apply: Dynamic Attributes - Display - Inner HTML. Should now display the button?

I have a problem formating this expression

I believe you want: {{ (cant_pag_aniomatri.data.can_pag[0].pag_anio_matri / count_act.data.total_activos[0].count_acts).formatPercentage(0) }}

Bootstrap Form Generator column values

BS4 form generator provides the structure for the form. Any changes or alterations you make will be in place after you run the generator the first time. Modifications of the form can be done in the Ap…

Change page in Mobile App after Server Connect

I am trying to get to grips with F7 and mobile apps but am struggling a little with handling responses from SC. What I want to do is run a ‘login check’ SC action that if returns unauthorised, sends t…

Pagination with API data

I want to show a bootstrap table based on API data. API Action: GET from https://app.mrpeasy.com/rest/v1/manufacturing-orders Show table This all works fine, except that the API only shows the fir…

How to toggle Flex Container visibility

I see the issue there, the d-flex bootstrap 4 class uses display: flex !important; which overwrites the inline style: style="display:none;" which the condition adds. The solution here is to change th…

Stuck with query parameter not working

I am trying to use parameters to filter a query. And at first i succeed with one parameter :P2 but any other i put doesn’t work. As you see if i manually enter a value in the Sql it works so the reco…

Best process for setting up on a new computer

Forget all of that! I’ve just deleted and tried again after updating to v2.3.0 and it worked first time!

Display Multiple Dynamic text's with static text in a single sentence

Hi Chad, You can use the text binding So you would have something like This car is built in {{query.data.year}} the make is a {{query.data.make}} and the model is a {{query.data.model}} As Brad …

How to add data on charts

Just set Legend to none

Simple Form submit question

Anyway , i scrapped that idea was talking hours to figure out. I will use Get and server connect form. It gets the job done. thanks.

Cant seem to get Repeat to work

I am testing out the repeat children with a db query and dataview. But i cant get it to work. Created a custom query and tested it, i get 2 record. added server connect and chose it added dataview …

One Record Duplicates Itself in a Table List

Well, I finally found the error. It was an extra entry in one of the four joined tables. Yeah, I am glad I found it, but not happy that I had missed it for about four or five times of looking at the t…

Users and Permissions with int as access level

Hi, I’m struggling with user permissions for my site. I have one table for my usertable. For the access level I have a column with int. Administrator = 1 Employee (Mitarbeiter) = 2 User = 4 This…

Index page changed from .html to php causes issue on SPA

Reload the routes and also manually check the commented ‘includes’ text on each content page. I guess you’ll see what needs to be fixed. Renaming is tricky to handle in SPA. It’d be great if that c…

Changing Slideshow Properties

How can I remove the description background? How can I change the next/prev < > color and size? I changed the description text color by adding .dmx-slideshow-description with the color in CSS-simple…

State Manager w/ Paging Generator

I can confirm that it works wonderfully with sessions!

Notifications on the Wappler

Then you can just inspect the notification CSS styles and discover that you need to add the following rules to the .dmx-notify .dmx-icon class: .dmx-notify .dmx-icon { background: background: rgb…

Using Variables to PHP

So, as you already know Wappler doesn’t have a pdf export function or plugin. So I’m using fpdf to create pdf files from forms. I have the following php code that should run when the form is submitte…

Ideas on how this can be done

Hi All, I am new to app building, but have some experience of HTML. I’ve using a Google sheet to plan my weight watchers meals for the week. I’d like to see if I can convert this to an online app f…

Bootstrap Studio

Hi all, So, I’ve decided to run with Wappler and invest my learning with this builder. I have a quick question about Bootstrap. If I design a frontend with Bootstrap Studio, can I import into Wappl…

Using INNER JOIN With Four or More Tables

Done… Thanks for your assistance!

1 Seconds Delay Scheduler Freezing DMX (?)

Hi. I have a scheduler set on the page which runs on page load with delay of 1 second. I also have a search input box which is configured to redirect to a SPA page with value on enter key press: dm…

Cannot add Clear Dynamic Ecvent to Insert Database Record

I have followed this page EXPLICITLY time after time but it is missing the first step at the top, which must ask to insert a container , row & column first But when I after the fact then did that ma…

Convert inline html-tags to i.e. links

Hello, If you want to show html formatted content on the page, when binding the data, select your elements add new dynamic attribute > display > inner HTML and bind your data there. This will render…

Form Help

I’m creating a Form that has 3 Dynamic parts (Testing shows I need HELP) User clicks link at a website & Form appears on its own page Only the First Name & Lastname fields appear After filling out…

How to Make SELECT drop down list and an editable filed

Hi Community Members. Can anyone help to advise how can we make a select drown down element editable. there is a large list loaded in my drop down. lets say 100 options. so can i make is work like au…

Convert Unix epoch time/date to something readable

Just use the formatDate formatter, numbers will be handled as unix timestamps. {{ timestamp.formatDate('dd-MM-yyyy HH:mm') }}

From zero to deploy in 10 minutes without breaking the bank. Wapploku.tk project

I owed you guys a tutorial on deploying a web app using just free resources while I debunk the myth that all this witchcraft is pro level only reserved for programming geeks. One of the main concerns…

Update Dynamic Title when value is changed in input

I’m not referring to a dynamic Input. What I am saying is if you are using your input value in an expression on the page like: {{input1.value}} Then whenever you change your input value, this expres…

Two navbar in one page

I created two different navbar menus in two PHP files The first is fix to top and the second should appear just below the first If I insert in one page one of the two navbar menus (with Server Side …

Operation if one value is potentially empty

Might it be possible just to set a default to an empty value, assuming a string ‘’ or a number 0 using the General -> Default option in the formatter

Getting my head around arrays

As I understand it, you filter the database to display only the filtered items. This should be done without using Session and or Arrays. When you display a grid of filtered items, you will have an ad…

Go to browser - can you force a new window to open?

Hey Rick, Not exactly what you are asking for, but how about starting with a link instead of a button, which will allow you to target _blank, and then add the btn class which will allow you to style …

Best way of debugging code/queries

The best way to debug server errors is as already explained above: This will return the exact server errors which will point you to what and where is wrong.

Post as API form and server connect form at the same time

I have a client that needs their forms to post to Salesforce CRM - for this they have provided an action url for the form and the field names, etc. I also want to save the form data to local mysql db…

Increase maximum execution time in php

Does this not do what you are looking for? Try setting the Script Timeout parameter. If that still does not work and you do not want to mess with the global php.ini file you can also take a look i…

Fullcalendar set Date Range Picker Values

I’m trying to set a date range picker’s start and end dates when i click on a day cell in fullcalendar. It works fine if I’m using a normal date field but when I try to use the date range picker I ge…

Add record with related multiple records

Hi Heather, Maybe this will help you: For a multi-select input, the POST parameter needs to have the Multiple box ticked. Then you can setup a repeat to access that array, or otherwise reference …

Filter by select

Hi all! I seem to have some issues filtering a table using a select. I have my table set-up, which has an inner-join to a category column. I have a text input filter set-up to filter the name and ref…

'Has Items' missing in single queries

The has items is for arrays/collections, the single query doesn’t return that. It returns an object and I believe it will be null or undefined when nothing was returned. So just check if the query ret…

How to login by jwt

how to login by jwt? Json web Tokens

Form Not Loading

I missed to add frameworks at initial stage. Now its working fine. Thanks for quick response.

Adding app connect breaks the page - using Hyper 2.0 Admin Dashboard Template

So, I bought the Hyper 2.0 Dashboard from the bootstrap theme page, but the problem I’m having is that when I add the App Connect Local to the page, it breaks. I don’t understand why really. This is …

Problem with update

Close Wappler completely and restart it and see if that resolves the issue. It resolved it for me.

BBCode Editor and Viewer

Hello again… My Bubble app uses a plugin which gives me an amazing rich text editor, which then creates BBcode text files. These then just display correctly in any Bubble text element. Does Wappler …

Customisation of Form Generator

Hello folks… I’m loving the Wappler Form generator! Having come from Bubble where there is no such thing, it looks like such a time saver… However my app’s forms have additional parts to each field …

Post values to API via ServerActions

Solved it, I needed to edit the “dmxConnect/api/xxx.php” file manually.

Clear a form

Is there a way to clear a form? I know I can reset a form. Here is my situation. I have an edit form that is populated from a table. Resetting just restores all the bindings from the database. I woul…

@Mentions in comments

I am building a market place site with a good deal of social interaction between users. I want to add something like this for @mentions: https://podio.github.io/jquery-mentions-input/ My question i…

Will identity work in serverconnect to execute another query

“Identity” should remain available throughout the server action but if course each insert query will generate it’s own identity so make sure you pick the correct one by reference to the query name. S…

Need help comparing URL query parameter to database value

Hi Wapplers! I’m trying to create my signup confirmation process and having a hard time with the confirmation email verification. What I’m wanting to accomplish is: A new user clicks a link in the…

Tags with Jquery?

I‘m wondering if there is a way to add TAG like that to a DB with Wappler as Checkboxes arent so sexy. https://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/ Also I think pros for Tags …

Struggling with routing

Solved - just added RewriteBase / to the .htaccess and everthing seems to be flowing fine!

Setting up for App development

Is there a walk through on setting up Apps in wappler and any other software you need to install. Every time I try and previews in emulator it t does not work. I feel I must have not installed somet…

Show "Record Not Found" using a text search input query

I have a text search input query that filters a repeat region. It works great! However, it seems I have forgotten how to set up the dmx-hide and dmx-show to display the text “Record not found!” when …

Wappler Paginator not work

in php 7.3 + IIS 8.5 + mssql express 2017 any suggestions?

How to disable Git Manager?

Hi @Howard, I am not sure you can disable Git, but you do not have to use it if you do not want to. No actions are taken unless you proactively click on the Git icon and do something in the manager.

Pagination help.. Offset getting sent but nothing

To close this up, I moved to MySQL from MSSQL both Azure. Performance is really much better on MySQL and it solved many problems I had.

Default value for database query if URL param blank

Try this {{$_GET.record_year_array.default(NOW.formatDate(“yyyy”)).split(",")}}

Microsoft Azure SQL Server connection to access SQL Database

Was able to access the Azure SQL database. For you to access the Azure SQL database, you need to make sure the your site ip address is added to your database firewall. It works for me now.

API Queries

Hi Craig, How about using the dynamic attributes for URL: Something like: https://api.getAddress.io/find/{{serverconnectform1.post_code.value}}

Beginner Question - Buying/Importing themes

You simply need to include Bootstrap 4 from the frameworks menu in Wappler because the current includes from the theme aren’t recognized, so Wappler can’t see that the page is made with bootstrap 4. S…

Pdf form

I would like to add a pdf form to my site that the user can click and download the form. Is this possible and how can I achieve if it is please? Thank you

Masonry sizing breaks on some pages

I’ve been trying to see why Masonry layout breaks on some detail pages of a site and on some it does not, but cannot find a pattern and obviously to fix it. I have a tabbed layout and one of the tabs…

Using dynamic Values to populate opengraph meta tags

If you have dynamic content generated for pages, is it possible to also use app connect to insert content into the open graph meta tags? Tried it, but with not much success.

AWS Quicksight Embed

Hi All, Has anyone embedded an Amazon Quicksight dashboard into a Wappler app yet? I’d love to know how difficult or easy it was. I trying to implement this at the moment, and struggling once it com…

Example of using the API Auth2

How do you use this? We do not have tutorials on this tool. Can someone do some example tutorial. @Teodor please. anything

How could a keyword cloud be done?

I‘m wondering how a keyword cloud could be done for my next project. There I wanna link all pages internally so the page would perform also in SEO. Maybe its better to use tags. So to successfully ran…

Ways to write if statements in DMX tags?

To close the loop. I found a way to accomplish my need. I had to add the $_Server Variable directly to the page, instead of in the Server Connect Action. Additionally, the php code needs to be in betw…

Navbar with dropdown aligned to rigth. part of it out of the screen

In the drop down menu settings, check align Right and the dropdown will align right keeping it on screen

400 error message to be appeared

Yes, this is the validate step working but you have missed the linked field stage Add the name of the email address field into the “linked Field” box and the error message will appear correctly in th…

Cookie to filter query

In your Query under Globals / $_Cookie set your Cookie name by adding a variable with the name you require. Then you can select this Cookie to filter by in your Conditions area.

How to Implement Incoming Web Hooks - Question from a Bubble Newbie

Hello there Wapplers! Antony here… I’m totally new to your world, having developed my app in Bubble and slowly come to realise that I need more performance and flexibility than Bubble can offer me ri…

How to? Input number field to always show to 2 decimal places

Would this do it: dmx-on:blur="text1.setValue(value.toNumber().formatNumber(2, &quot;.&quot;, &quot;,&quot;))" ?

Insert userid into other tables when making new user

The server action will just stop and return an error status, it won’t do any data restore etc. If you want to do anything in case of such a server error (500) you can use he catch step. Learn more ab…

Dynamic Event Success not work

@Marzio, check out the bottom part of Delete Database Records where it starts talking about: You want your users to see when a record is deleted, so you need to reload the data source which shows th…

API Requested Body

Hello @teodor , I have a question that I think you can help me . I have to create authkey for my payment system . But authkey needs to requested api’s body . How can I get requested body (API input …

Advice on visualising data

Have you tried something like: : <td dmx-text="seven" dmx-class:redrum="seven == 0"></td> <td dmx-text="six" dmx-class:redrum="six== 0"></td> :

How To Add ?id={{ID}} Link

Hello JR, Is there a specific reason why do you use a button with goto action, and not just an anchor button with dynamic href? To answer your question - the single quotes must wrap the static conte…

Semi-static date in variable

Hi, I need to have a variable which tells me the timestamp of the previous Thursday at 22:30:00. I added a ‘Date and Time’ and a variable, and then i thought to use a until function, but got stuck w…

Menu button disappears in mobile view

Hello everyone. I’d like a menu button that is persistent across mobile and desktop views – that is, I’d like it to say ‘menu’ and not become a hamburger button when collapsed into mobile view. I have…

Use Modal to submit form

In the standard modal template the Submit button is actually outside then form so doesn’t submit correctly. You either need to move the button inside the form or add a dynamic click event to the butto…

How to use browser.goto without getting stuck in loop?

I found an answer in another topic. I switched to this. <dmx-on:success=“userDetails.data.getUserDetails[0].activation_step<3 ? browser1.goto(‘get-started?step=1’) : ‘’”>

Upload file and remove the old

I thought about it and I decided not to rename the files during the record insertion. It was a nice idea to catalog the files with a certain logic, but it is better not to complicate things Also cur…

Get some ideas from people

I am building an internal POS System for one of my companies. What I need to do is be able to either: A. Sell to a cash customer B. Sell to a customer on the system. I am thinking of doing it with…

How to apply Experimental Code Editor Theme?

I’ve enabled Experimental Feature and then selected theme from Experimental Option but no changes to my Codeview theme? Anything that I might’ve missed?

Multiple images upload and store on a database

Hello everyone, I’m thinking about developing a cars ad site. And I don’t know how to do it, back-end side to allow the download of X photos for each car. Between 1 and XX photos for example. With m…

Mariadb Temporal Tables

@JonL , et al Anybody tried temporal tables yet? Here’s my first attempt: Mariadb: 10.3.18 Wappler 2.2.7 Created a new table using mysql terminal command (works fine) create table contacts ( i…

Scheduler Countdown? Is this possible?

Quick demo @brad Countdown is set to 300 seconds countdown interval is 1% of the countdown so every 3 seconds https://findmystudentdigs.co.uk/countdown.php

Array to string error when trying to popluate a table

Got it! I needed to use a “Database Single Query” instead of a “Database Query”. Thanks for the help @brad!

How to pass value to a form field from Javascript

Hi Heather, I think you want setValue, instead of value: dmx.parse('fullCalModal_add.frm_add_tripbit.inp_title.setValue("' + title + '")'); –Ken

Remembering Search Items

Input > dynamic attributes > value > set the query param value, and then select the input > on keyup with debounce like 300ms you set dynamic event > set query param value and select the input value …

How can I pull data in a gallery (grid / column) format left to right top to bottom

The Real Estate site uses a JSON file for its data. Using a relational database like MySQL uses the same process, only the source of the data is different. Have a look here for more https://docs.wappl…

Autocomplete Question

I have an autocomplete form field that works wonderfully. It currently pulls the suggestions nicely from the database as it should. However it only allows input of what is in the database. Is there a…

Questions about Wappler usage

Hello everyone, I’m new here, and I’ll need your help. I’m freezlnce webdesigner and I am very interested in Wappler to replace Wordpress. I’m not a backend developper. I have a few questions before…

Google maps replace marker image

I would like to replace the current standard google marker with a jpg or png from my img folder. Is this possible and how can I achieve this? Thank you

Need help with Dynamically Checked 'Bootstrap' Radio Buttons

I have looked through numerous posts about Dynamically check Radio Buttons and Checkboxes but cannot find an answer to my particular issue. I know that @nshkrsh has commented on one of my earlier post…

Submit Server Connect Form via Javascript

Why do you need to use JS to submit Server Connect form? Anyway… This is not official method, but you can use javascript to trigger ‘click’ the server connect submit button. You can hide the server c…

Navbar is changed to login in profile

How can I do it like that when I click on Login and I have logged in there is the Bottum profile. only if the user logged in. in the navbar

SecurityProvider - SecurityRestrict on different table

I’m trying to use SecurityProvider (Database type) and SecurityRestrict in order to restrict ServerConnect action. My DB is following users (id, email, password) - list of users accounts (id, title…

fullCalendar open event in modal

Answered my own question… dmx.parse('fullCalModal.show()'); dmx.parse('fullCalModal.data_detail1.select("' + event.id + '")');

Use Server Connect as data source for fullcalendar

There have been some discussions about this which might be useful - eg here and here

Executing a server action from within some custom javascript

I have place some javascript into my page (it’s code provided by Stripe for the payment processing) and it has an if…else for whether the payment was successful or not. This is the code snippet: fu…

Multi-Field Autocomplete

How about concatenating your first name and last name using a custom query? Something like this: SELECT CONCAT(`first_name`, ' ', `last_name`) as full_name FROM `users`;

Progress Bar for customer application progress

Hello Ray, Create a server action which queries your database and returns this status. Then bind the status to the progress value just as described here: (just check the part explaining how to b…

Pointer hand cursos

Hello, Just add this to your custom css: tr:hover { cursor: pointer; }

Dmx-bs-popover: How to set dismiss-on-next-click

I don’t find this option on Popover Properties on the App Structure. How do I set dmx-bs-popover to dismiss-on-next-click ? I believe there should be option somewhere that I can tick or untick to enab…

Adding multiple style sheets

How to add multiple style sheets in project settings…?

Login With Limited Attempts

The most secure way would be to handle it all server-side in the same call, when having the update in a second call then it is possible to block it and the restriction won’t help. I believe the secur…

Amazon RDS connection error

Well, your client is not connecting the same way as Wappler. With Wappler the connection files are being uploaded to the selected target and then the connection is made from there. You cannot compare…

How to best format nested repeat regions

I have a nested repeat query on a page which I got to work based on your tutorials. The master table has about 7 columns and the detail table has about 3 columns. I’m now trying to figure out the be…

Static Popovers?

Hello Brad, As in any other component you just need to wrap the static content in single quotes: 'content'

OneSignal Player_ID import with Wappler

No need to use it. Just API Action you will get what you want!!

Api actions

How can we call an API when we click a button

Remove file extensions with rewrite?

Hi @scott, thanks for the quick response. I figured it out. The two issues I encountered and corrected were: The Wappler documentation shows the path starting with a forward slash. This needed to b…

Modal Background Opacity

I love how easy it is to set the modal background colour. Is there a way to set the modal background opacity so the page shows through in the background slightly?

Lightbox question

OS info Operating System : Mac OS 10.14.6 Wappler Version : 2.2.5 How can i place a dmx-lightbox in a dmx-html part Code in the Site dmx-html=“content.data.content[0].content_01” HTML the Data…

Slider not an option?

Is the app connect framework added on your page?

How to open a tab through an anchor button

Not sure if this is possible but can you link from one page to another page and open up a certain tab on the page? for example: test.php - linking to below index.php#navTabs1_2 This does not open …

Set Project Image

Hi Heather, welcome to Wappler! To create a thumbnail of your project 1: Open a page from your project (usually home page but doesn’t have to be) 2: Click on the camera icon in the toolbar

Change Text on NavBar Text Component via Design View

You could achieve most of the <span> stuff under the DOM tab. But not all. Better is to use App Structure and change the <span> to a <p> as follows: Edit: Nearly forgot to suggest to obfuscate the…

Breaking Timestamps into Hours

I have a table that has a few thousand records in it. In that table is a field with a timestamp. What I have been asked to do is to break that data down into timeframes. For example; how many reco…

Conditional LInk in Nav based on user being logged in

I want to put a link in my nav that only shows up if the user is logged in. The nav is being used by a server side include. I know that the I should user security name + Id, but I"m just not sure ex…

Refresh repeat on server action load

George and Patrick correctly pointed out the solution which was to add a Unique Key value on the repeat properties.

Understanding how to update multiple records in serverconnect

You should be able to do this by using a query and a repeat with an update step inside. Query your projects table, filter the query by the category column, using two conditions connected with the OR …

Combine custom php with Wappler connector

Hi, Is there a way to add some custom php to a Server Action in the editor? I have added <?php session_cache_limiter('private');?> on top of one ServerAction and it is working great. However, this …

Date Formatting for Date Picker

I see that now, I am used to Dreamviever where there where no format options like that. Problem solved in Wappler as always. But I still have that strange bug refusing med to select todays date in t…

Database update using a table

Is it possible to update data in a table view in Wappler?

Adding paths for image upload

You can’t upload files in locations outside of your project folder.

Linking ServerConnect Download with AppConnect Download

Hi, I am having this scenario: A ServerConnect with a Download step and a route such as: api/XXX/{{query.var}} An AppConnect with a download component that has a dynamic url pointing to api/XXX/{{q…

Local MSSQL Instance

I have a local version of MSSQL running on my machine. I am not sure how to connect to it using Wappler. I have it set up for Windows Authentication and Server Authentication. I don’t see any way i…

Summing values in Table

@turn3636 Grand Total : {{ListTasks.data.ListTasks.sum(‘Cases* CaseRate’)}} Please try

Table Width to Fit Card?

Remove table-responsive from the class and see if it then works mate?

Questions on Swiper

Hello dears! Not so long ago I began to study swiper for building websites with slider layout. I was really impressed with swiper’s capabilities and the speed of setting up with Wappler. However, the…

Progress bar not synced with upload

I have a form with a drop-zone file element. I created a progress bar via the tutorial and it works except it goes too fast. It is set to upload percent with the +’%’ added. but when uploading 2 - 5mb…

Radio group setup to get value of radio input fields inside

Selecting value will return it, not the child $value:

Security & Login Problem

I have access problem with Security & Login it does not work well

Force Data View to update after serverconnect query reloaded

In today’s update we are going to introduce Show and Hide dynamic and static events for the page routes. They can be used to load server actions or custom js script, when a route is shown or hidden, s…

Hide rows greater than {{NOW}}

Hello, Have you tried - dynamic attributes > hide > when > your.query.value > today ? How to access today/now on the page:

App Connect Formatter breaks when input fields display other input fields

Marcel, have you first converted your input values to number? ALL the form inputs values are strings.

DataView Filter Contains

Hi, I am using a data view with a search field, I want to display all rows that contains the text being searched. What should be under my Filter field? "Column 1 == "search term" || Column2 =="searc…

Buttons one next to each other

So, I have this buttons that comes from a query. What I needed is to order each one next to the other. They are shown using a repeat component.

Update form not updating

So I found out I’m still struggling a bit with the transformation from Dreamviewer, hard to let go of bad habits after 10 years. Thank’s again for your time, I will certainly run into more problems a…

Creating a search form with multiple (optional) fields

Yes, add 3 condition groups with one rule in each of them instead 3 rules as Ben shows on his screenshot, then connect them with an AND operator. On top of each group you see an input with a dynamic …

How can I query data via API using a from with Wappler?

Hi there, I have a data connection that I would like to use a form to build the query for the API call. Example, we can use an API to search through a database of articles, I’d like to build the form…

General Security and Specific Security

I am making an online Mental Health site. There are three sections two at different levels of protection. In both, I use COOKIES and SESSION STORAGE. In the therapy section: How do I check that the …

Contact form not sending form data

I’m learning how to send a form to e-mail. I used the video tutorials and got everything working, the submit will send an e-mail but it only sends data when I type in static text in the send mail acti…

Server side API Action questions

Hi, I am trying to get a server side action to send an API request to another server and pass the response back to my client side. I am using the “API action” step and trying to GET a response where …

Reloading a Server Connect on SPA Include

I am beginning to regret using SPA to build a dashboard. Here is the situation I need to find a solution for. I have a page with a list/search of clients. On that page I have a link to an add new cli…

Bootstrap menu blocks

I always have trouble with what should be the simplest, creating a navigration menu. The blocks are a good start but I typically like to have a larger logo instead of navbar and like to have backgrou…

Repeating group equivalent how to

Hey all so I’m bubble I could do a repeating group which is basically a list which would feed off the database and as many items is how long the list would be. Just wondering what the equivalent is i…

Quick tutorial needed CSV->MYSQL, WIlling to pay

I need a tutorial on the serverconnect setup needed to import this csv though a file upload to each line being placed into my database. Download CSV here http://isimrace.com/shared/eventresult_26072…

Insert Database - Foreign Field

Well the generator does that for you, but if you do it manually you really have to make sure that the input field ID’s have a name that is different than the database field name. That is why the ge…

Webhook receiving raw JSON

Well good news - seems we have already partial implementation for this @patrick will investigate further and send you a test file, so you will be able to handle JSON input indeed just as regular pos…

Dynamic Buttons instead of Dynamic Select

add a Repeat Children element and place the button inside it. Repeat Children element can ensure the buttons are populated dynamically. Repeat Children’s class will be “d-flex flex-wrap” and d-flex …

Lightbox LInking issue

The slideshow currently does not support lightbox. You can try using swiper instead.

MySql connection. Verify SSL Certificate

The error is that the SSL verification failed. Seems that it is buggy in some PHP versions. Turn off verification if it doesn’t work in your case.

Building a recruitment website - Help with location searching

Hi, I am still new to Wappler and I am trying to build a small recruitment website / job board. I would like users to be able to search by category / job title etc - I think I have this bit thanks t…

Video background full screen

It depends only on how is your parent element styled (the element you are adding video to). You can set your container style to 100vw and 100vh to make it fullscreen.

Decode Base64 on Frontend

As long as the script block is below the dmxAppConnect.js include it should work.

Error : cannot push non-fastforwardable reference

If your changes are not fast-forwardable from the remote’s branch, then that means that somebody else has updated the repository’s branch. You need to fetch from the remote, merge with the remote’s br…

File System Connector - Download file Action - Dynamic Custom File Name

Hello, You can enter a dynamic expression there, like: {{$_POST.somevalue}} there.

Spinner shown on all buttons

You can do this using a variable. Create your variable, for example var1. On button click - add two dynamic events: run the server action and variable set value. Set the record id as a value for the …

Age Verification

Has anyone setup an age verification or adaptable modal tutorial for sites that are required to ask for it?

Dmx-show or hide inside map marker info param

Trying to show info based on if the query returns a value in a google map with dynamic markers. Does not seems to work though. Please check my syntax and let me know if it is incorrect: marker-info="…

Help needed with integrating Stripe payments

I have it working! I’ll try and explain what the problem was but it might be tricky for others to understand without seeing all the code, which I can’t post for obvious reasons. I have a Server Actio…

Table formatting, page breaks etc

There are various methods for print to get table header and footer on each page, if that is what you want. See:

Using Validate (Username) To Determine Redirect

You can use onsuccess event to redirect the users who log in successfully and invalid event when there is a validation issue (validate step returning error).

Parallax Effect on multiple images like on the Wappler site

@Teodor is there a walk through for how to do the Parallax effect as like on the wappler site? I have seen a few people ask but I can’t seem to find the answer. I can see its something to do with ab…

Display Dynamic Message Using DMX-BS4-Alert

I would like to display the error message when an email exists in the database. I have it set up, but the error message is not displayed. It’s most likely due to something I’m not doing correctly. Ple…

How do I search on Nested Repeat Regions?

You can do all the filtering in the main query, use a custom query with subqueries in the where condition. Something like: SELECT * FROM business WHERE business LIKE @filter OR EXISTS ( SELECT 1…

Field inserting <p><br></p> into empty field when using Medium Editor

In one of my projects i used dmx-show="productlangeomschrijving.wordCount().inRange(5, 1000)"

Server action: Adding php readfile

We are adding a download action step that should work for your use-case. The limitation for the download step is that it doesn’t allow to pick files outside the website root, but it integrates very ni…

How To Remove Wappler Launcher From Dock

I hope this doesn’t seem petty and I know this is at the very bottom of the Wappler TODO list… but I’ve done all I can – I think.

How to email the id or username of the user when they log in

Yes, of course it won’t work with the wrong expressions i provided It must be: {{queryLoggedInUser[0].username}} sorry about the confusion!

How to Bind Images Path to Page

Insert an image Under Properties -> Image Source, choose the data source.

Php & spa

Well, yes - just as explained in the tutorial. The other option is to create it directly, using new file and select Content Page:

Loop on app connect?

Yeap possible (repeaters)

Conditions for dynamic attribute

Your expression seems wrong to me. Using this expression: dmx-hide="serverconnect1.data.query1[0].account_base > 0" you always call the first record returned from the query - see the query[0] Your…

Transition between data iterator

Hello! So I’ve applied the data iterator to show some database records. And I want to do the following things: First, I want to show only the last 5 records (ordered by date) -not every record i have…

Variables inside a script

Sorry, I forgot you were still using the variable… Try dmx-on:click="{{expensas.show();expensas.periodo.setValue(descripcion)}};PDF('{{descripcion}}');"

What is the meaning of Input (Dynamic Events under Data) Modifiers for Text Input

Not sure if it is explained in the docs, they are event modifiers. stop - is same as stopPropagation(), it prevents the event from bubbling up the dom prevent - is the preventDefault(), it prevents …

Replace if null

Indeed, the easiest and cleanest way to do this is to just assign classes which style your element. Check the docs explaining this please:

Reusable php element overridden

Normally this happens when you have a navbar that is fixed to the top. Add a margin (mt-5) to the content and all should be well. If this is not the case, please give us a link to the site so that we…

Can you add html to an IF expression?

Better off just showing the HTML if true, like <p dmx-show="trading_name"> <strong> t/a </strong> {{trading_name}}</p>

Looking for the equivalent of UNIQUE

It’s called ‘Distinct’ in Wappler …

Stickyng the table header

@revjrblack, thanks for helping! What You propose, I planned to do initially. However, the way to configure css position: sticky attracted me too much because of its simplicity and I was able to figur…

Table populated with Array - Need to auto scroll to bottom row / rearrange Array

I see opened left bracket which is not closed. Better remove it as it is not needed: <button class="btn btn-primary btn-lg w-100 h-100" dmx-html="strName" dmx-bind:value="mmValue" dmx-on:click="SubTo…

The new code diffing option anywhere in the latest update

@sitestreet The diff options are available for files which have been modified: Right click such a file and click: You will see the changes: The other issue you mention will be fixed in an up…

Insert and Redirect to Profile Page

If you need the trailing / then just use: browser1.goto('clientprofile/'+formAddUSer.data.clientkey+'/') Not sure what the UI has to do with this, the docs explain pretty well how to do this.

Long text from database

Sorry - I didn’t answer your first question. You can use the Medium Editor to add formatting and multiline text, eg:

Currency input

Place the script to the end of the body, the script is executed before the DOM is ready

Pass dynamic data to JS function

thanks for the help, found my issue. correct syntax: <p id="result"></p> <script> document.getElementById("result").innerHTML = merritcourse('{{courseTitle}}','{{meritCourseTitle}}'…

Server Action Database Insert - Unable Set Value for Primary Key in Table

Hi. I haven’t seen this before, or probably didn’t bother with it. I am trying to add a new insert database step in server action. In the insert options, when I select the table, I can see all the c…

List inside a unique row

I am also a bit confused but if you are saying your query returns a string like "1234,5678’ and you want to extract the numeric parts as separate values you can use split() to split the string into an…

Open Lightbox from external image

Marzio, You need an anchor image to call the lightbox. In the anchor tag you place the link as well as the “Open in lightbox” option.

Doing math with data results

I am setting up my shop (well trying to ) In my products table, I have the following: Product ID Product Name Product Price Product Description Product Image Credit Card % (foreign key) Processing …

Problem importing CSV file

Hello again!) I have questions about CSV import again. Two questions: I’m importing this file: As you can see in the first cell of the first field there is a value other than 0. The import i…

Showing content to only certain permission groups

This is a continuation of the thread here, but describing a separate issue, which is why I posted it in a new thread. Using @Hyperbytes video as a guide, I created a user/permission system. I need to…

Error 500 when importing csv

Can you please provide a screenshot of the server action import csv step, so we can check what have you configured exactly and what have you selected as a path?

Sometimes It Says 'Contains' Sometimes It Don't

I remember now! Conditions are determined by the data type! Teo told me this way back. It just took my 63-year-old brain awhile to surface the information.

GIT Commit and imported external git project path

OK found the issue. Seems that componer is just copying the whole git repository from the included project. Then you are getting git repository within git repository (your own) and that is not possib…

Bootstrap 4 form's column setting

I’m sure there is some CSS file included in the index.html page head tags which styles your content like this. Please check your CSS files and rules.

Having trouble with the date range picker

Try this, click on the variables and remove the validation on them.

View and manage remote target files

Hi Drue, Yes of course it is possible - click the expand file manager icon and you will see the files on the selected target

How to get file name from File Rename?

I want to update/save file name after it’s been renamed using File Rename action into database. When I select File Rename as input source it gives the whole file path. I only need the filename with ex…

How to conditionally show/hide form inputs?

I am using a form with many input fields (1; 2;3;4 & so on) I can make fields 2, 3 & 4 remain invisible and become visible when the previous one is no longer empty. But on entering row 2 I cannot ma…

Is it possible to run windows shell commands from within wappler php

I know that PHP allows you to execute windows shell commands. Can I do that with Wappler? I’m trying to run a windows command line driven program to scan a document (NAPS2.console). If I can exec…

List of 24 hour toggles. How does Wappler handle date manipulation?

Hey Jon, This might get you started…not with the formatting, but with some logic to get the date/time for a list of buttons: Copy this into a page: <!doctype html> <html><head> <meta charset="UTF-8…

Fontawesome 5 Pro Updates

You have to make sure you are using fontawesome 5 pro. Also you have to reinstall the official fontawesone 5.10.1 for web zip file in Wappler. To do that, just create a new page and try to add fonta…

Get last two charcaters of a number value

Then substract the last two: substr(-2, 2) This will always start 2 digits from the end

I don't find visual option for td align in DOM Properties

@transcoderm The align attribute of <td> is not supported in HTML5. You should use CSS instead. So just use the App Structure panel to align the text, it applies standard bootstrap 4 classes:

Round to nearest in table

Teodor’s solution should work You can also use the toFixed formatter (parts_booked / quantity).toFixed(1)

How to use present year as submap for images

For a project I am working on, I would like to upload files to a submap with year. Like /images/2019/imagename and next year /images/2020/imagename. Someone can tell me how to achieve this?

Problem with queries

In your very first screenshot where you set SUM, you will see a third column for Alias. Just enter a name in there such as totalsum or something.

User variable in custom SQL

Why would you use user variables in a query, when you do some complex logic then I would suggest creating a function or stored procedure for it on the sql server and call that.

SOAP call

Hello Jean, No, there is no way to use SOAP/XML in Wappler. You need a JSON based data source/API.

Closing DB connection

We don’t use persistent connections, a new connection is opened for each action that uses the database and the connections are closed when the action was finished on the server.

Create email link in table

Assuming that {{email}} is the name of your field holding your email address this should work for you. Does your email address display on the page as a link? This should be wrapped in anchor tags. <…

Routing problems

So… I’m having some problems with my files… I don’t understand very well how routing works, but the app is looking for a file in a wrong directory. Check out, the files needed are in the main folde…

Google Maps shows as " For development purposes only"

@AdrianoLuiz You can see the issues with your API in the browser console: They show exactly what is wrong there.

Use URL Filter In A Text Search Input Query

I worked it out, and it works great. What I have are two pages, and I used a URL id for a query for the second page form. I placed the query param (query.id) inside a search input field. The input fi…

Input & Output Form Visual Syles Viewer/Directory?

In Wappler is there One place where I can easily PREView all the Control Styles that are available for each Input type in a Form from given UI options in a Project Frameset? If a field type could be …

I still need to client side format 'DMXzone wappler' into 'DMXzone Wappler'

Sorry I remember I’ve posted about this long time ago but I couldn’t find that post anymore. So here we go again, I need to client side formatter as follows: ‘DMXzone wappler’ into ‘DMXzone Wappler…

Array to string Conversation

Create repeater with expression {{$_POST}}. Create in the repeater steps a Set Value with name part and value {{$name + "=" + $value}} Create after the repeater Set Value with value {{"[" + repeat1.…

Redirects after click (dynamic menu)

Hi, I use dynamic dependant drop-down list to realize the menu below. The table is structured as below: idCategory label idCategoryParent url idCategoryParent for the first level is 0. At clic…

Opacity

Hello Eric, Use the design panel to change an element background opacity. There is a nice background color picker which allows you to precisely set it. App Structure shows only the styling options …

Loyalty program with Wappler?

Hello Wappler people! I see i can not upload a PDF, so i will just paste the plan we have here internaly. before i do that, i would like to say: currenty i am playing arond with Bubble, but i came t…

How to update useraccount with username validation „if record exists“

Hi Marcel, This is how I go about it when I let users update their email address which is used for security login: I search the users table to get the email address of the logged in user: If the …

Transparent menu

Hi, i would like to make POW website menu transparent: https://www.penicheoceanwatch.com/ On the last update, there is a transparent option on “appearence”, but all the menu disapear.

JSON data selection (server side )

A bit late, but you can use the response action step. For the properties: Name doesn’t matter, Status set to 200, Text use the picker to select the data you want to output {{Data1}}.

Visually self aligning image for BS4

Please consider to add visual option for self align image classes on image properties: mx-auto d-block float-left float-right

API sha1 encryption Base64 value

This is how I found the solution I needed. Can a better solution or this feature be added in the future? maybe someone will use it in the future.

Progress Bar Styling Based on Percentage

Sure you can do this, just add a few conditional classes to the progressbar like this: where refresh.value points to the variable holding the progress value, or scheduler progress var

File upload size issue on IIS

You probably use ASP on IIS which has default an upload limit of 200k https://forums.iis.net/t/1228532.aspx

How to create a quiz that stores variables from page to page

As far as I know, you can’t use ++ to increment variables. This should work: dmx-on:click="session1.set('fquizhsa',session1.data.fquizhsa + 1,{});

Is it possible to upload base64 as image file?

I use croppie plugin to crop image and I want to store the cropped image as image file. However the cropped image is as base64. How do I get the file uploaded as image file instead? Or… Is there bet…

Issue with server action then-else condition

Well you are all going to love this, i have found a new fault correcting method in Wappler that nobody seems to have found yet. I shouted insults and questioned the parentage of Wappler, told it what…

GET array for use with IN clause of custom query action

@George and @patrick, Thanks, this was very helpful. For anybody needing to do this in the future, here is what will work inside a wappler custom query: I found you can use the mysql find_in_set …

Routing Question for Home Page

It’s already beer time here You can just add / as a path for your homepage and link to index.html(.pjp)

How to make Multi file input

selecting the file input element in App connect should reveal a tick box named “Multiple”

How to concatenate a string with Goolge maps it

well my URL was still malformed where I couldn’t get the dealer_id from the cooresponding page. This code is what finally worked. <dmx-google-maps id="maps1" maptype-control="true" latitude="38.1811…

How to validate image dimension (height x width) before upload?

Hello, You can do this in your server action and using a condition if the loaded image width > XXXpx && height > YYYpx. If the condition is met - do the insert and any other actions required, otherw…

Background video in header how to set height

You need to set the size of the container and the video will scale to the container size I tend to have a css definition set in my custom css file .full-height { min-height: 100vh; } The …

Clear just the file input field

Ok, thanks My form has 2 parts at the moment - one with all the text inputs(under edit details) and then the file field. Would it be programatically correct to split the single form into 2 forms - o…

The easiest and most efficient way to set class on server connect success

Using variables for this case is just fine. However you can try checking the server action status and add the d-none class there. So you want to check for status 200, which means OK (server connect e…

Routing: How to prevent user from directly access content page without url rewrite?

routing address: /resources actual file location: /include/resources.php How to prevent user from directly access http://domain.com/include/resources.php and only allow access via http://domain.com/…

Design view in a topbar menu

My apologies, I saw partials and drew the wrong conclusion. The way to include the ‘partials’ that you are talking about, is to use Server Side Include’s as per https://docs.wappler.io/t/server-side-…

App Structure Support inside Conditional Region

Actually this is not how it works in with bs4. When using bs4 you are “making” existing bs4 elements to be conditional regions and not just “stand alone” conditional regions. You can do that in the …

How to achieve and edit this css style visually using Design Panel?

I initially created this style using DW CSS Panel, now I copied the style into my Wappler website and want to customize it further using Design Panel. But there’s issue I need help to achieve it: The…

How do I connect one form to different server actions?

You need to use the split formatter in the Update step, with the IN condition: {{$_POST.arrayCheckbox_cell.split(",")}}

Adding a "Made in Wappler" badge to your site

You may have noticed the “Made in Wappler” badge at the bottom right of the Wappler website. Ever wondered how it is done? It’s just a simple bit of CSS, a logo and a link so here is how to do it if…

How can I sent pre-request script in API

Hello @George , I want to sent pre-request script with API . How can I use this collection with wappler API ? please guide me (https://www.getpostman.com/collections/e883cd2eb09bf55cb1ff )

Routing with dynamic parameters - Am i missing something obvious?

Finally found then issue, switched connection back to Then manually added ./ to the start of the link

Where is the print button on wappler

Create a file called style.css and put it inside a directory named css within your web root. Add the following to the style.css file: CSS: @media print { /* on modal open bootstrap adds class "m…

Serverside API and nested data

This should work but without the quotes. Alternatively you could try: {{$_POST.amount_money.amount.toNumber()}}

How to use Biometric

How do I integrate user’s device e.g. camera, fingerprint devices to log user in for timesheet. I have designed Login page {{date, timestamp, username, password}}, sign in option {{biometric (camera,…

Force refresh masonry js and css in SPA

I have a SPA with multiple masonry sections with cards. My first masonry always loads correctly, but subsequent pages the layout defaults to 100% width/1 column instead of for instance 3 on large devi…

Secure the images, pdfs etc online

You can do this using .htaccess: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com.*$ [NC] RewriteRule \.(gif|…

Pass Variable from App structure back to Server Action?

I have a Gallery List. There I got Imagename, ImageID. Below the Images I got a Button called “DELETE IMAGE”. Now that Delete Image calls a Server Delete Action. That works. But how to pass a variable…

How to do dynamic dropdown list from relational database tables, when inserting a one table records

I have tables such as table1, table2, table3. table1 has foreign keys of table2 and table3, so i want to create insert database action and form to insert table1 data, for that i need to list table2 an…

Nav links using the 'Active' property doesn't hold

You need to style the active class. Classes in CSS should be defined as: .active {}

Can someone please show you how to log in with FaceBook

Yes that is why the oath2 module is for so you don’t have to code it. And we have Facebook in it as option.

Dynamic Data Not Showing in SPA View

On your “view” page with details, where you set your details server action and set the value to the get parameter, use: dmx-param:your_get_parameter="params.people_id" Instead of dmx-param:your_get…

Dynamic Attributes Hide/Show Help

What I have setup is 4 cards (Container>Row>(then 4 columns)Column>Card) and 4 Titles setup (Container>Row>Column>Title>). Under App I have a Variable Setup for all 4 items that are setup with differ…

How to change background of cell if cell date value is older than Today

Worked it out by using time and date and compared it .

Focus is not a dynamic attribute for inputs?

Here is a simple example. You should be able to paste this into a new, empty page in Wappler and hopefully see what I mean. I’ve added a select which will set the first variable to a number. Clicking …

Redirect when a condition is met

Redirect is a server redirect, not a browser redirect so only happens internally within the server, it is for calling server actions from another server action.You need to do the redirect via the brow…

API Data Source - Help Needed

I am testing how API works. Read all the docs and some topics here. Then in a new page I prepared the API Data Source for the connection to a test environment of Amadeus (Travel GDS). The endpoint is…

How to conditionally show content if user is logged in

Please check the documentation section, it’s explained how to create a logout button on your page: Logout - Create a Working User Logout Button As for the condition value - select the identity bindin…

Conditional Logic with Validate Data

Insert the query that searches for duplicate inside the repeat. Just above the condition. Pass the value that are validating with, inside the repeat, and vlidate with it the query

Using Alternative charts with wappler query

Hi All, I hate to create a second topic based on something I touched on in a different post. Line Graph with DATETIME on x Axis But I really need some help with this for my project. As mentioned in …

Displaying BS4 Table Generator data from custom SQL query having count

Hi Matt, Try giving count an alias in the sql… After Count(*) in the select statement add AS row_count row_count can be whatever name makes sense for you. –Ken

How do I assign a database column / query value to a session?

Here’s a basic setup: You query the database and then repeat through each of the rows that are returned by the query. In that repeat you can do anything you want for each of those items. Now, wha…

Reverting a GIT version

How do I revert to a committed version? I have right clicked on the commit and selected the revert option but it didn’t trevert the site? Is there anything I have to do after i revert? Republish or so…

Help with Database Insert

Thank you Teodor! So it turns out that the problem was with the names of my columns. While they were the same as the text inputs on the form, the problem seems to be that they cannot be more than one…

Force reload of a SPA page

In the Server Action for insert rather then using your random number select the hidden input and select cryptographic from the formatter and select timestamp and select the same for the salt. Truly r…

Form validation not working after converting page to SPA

@niall_obrien, Could you check to see on your SPA index page that the validation code is in the header? You would be looking for this: <link rel="stylesheet" href="dmxAppConnect/dmxValidator/dmxV…

Password confirmation field not working

Enter the name of the input and try again

Hide a button until all data is loaded

Solved it. Here is the solution for others: 1 - Select Button 2 - Add dynamic Attribute - Show when recordset has items Where recordset is the query that is populating the hidden fields.

Chart Group by

Hi there, I want to present data in Graph by showing how many items exist from each category. For example, there are 5 coffee type, 10 alcohol type, 3 energy drink type. Data is saved in a database…

Control Placement of alerts/error messages

Each of your form inputs (along with any labels they use) should be wrapped in: <div class="form-group"> And that’s usually the case when you use Wappler to create the form.

How to add class when page scroll reach at specific id?

Hi, how can I add a class to an element when the scroll reaches an id?

"Database Custom Query" VS "Database Paged Query"

Can the “Database Custom Query” be used similar to “Database Paged Query” in order to list 70K+ records without overwhelming the server?

Help Needed: Paged Query Converted to Custom Query

Not sure what is going on then. I have modelled your issue (using addresses in this case) So this passes a filter to the server action I then set the filter variable Then add that variable to …

Condition to register

These steps look right to me. You just need to use {{query2[0].Nombre}} in the setvalue step. And yes, of course turn that debug mode off. It’s only used for debugging purposes!

MySQL w/ ASP.NET

I figured it out. I was deploying the Wappler project to a subdirectory of an existing ASP.NET web application. The existing web app was written in VB.NET, and Wappler exports dmxAppConnect, dmxConn…

Mysql on subdomain

Thanks @niall_obrien @Dave @brad for your feedback. Given your info i set up a fresh subdomain in my hosting plan and tested it an it connects just fine (go figure) I’m not quite sure why it worked b…

How to show Server Action Step Response Text in Notifications

If you are using a response code in your server action you should find its content in app connect within the data picker in a server connection values in a section called lasterror

How to submit a form multiple times with mixed static and dynamic text input controls

In server connect there are 2 multi-actions available. Multi insert Multi update To do multi insert, add this to your server action, then on the page use the Dynamic Table Generator and generate a …

Dynamic Modal will not Appear in Browser

Problem solved: It was what I guessed above. More generally the issue was that I didn’t understand how AMPPS works. For anyone else with this issue here is an amazing video:

Total of input fields within a repeat

I’m trying to capture the total of a multitude of input’s that are generated in a repeat children. I can easily get the INITIAL total of these inputs by using the data returned by server connect, how…

Can I turn an existing Table into a Paginated Table

I have several pages with select queries and tables displaying the information from a database. The client has decided that these tables of fixed information will be about 75 rows instead of 10. To di…

Clickatell API to send SMS

The names for headers and inputs are always without quotes. The values also don’t require quotes, unlike other areas of Wappler. On the form make sure the name attribute for the inputs reflects …

Bit of help needed with Table filter by unique

Hi guys I have a table which I want to filter so that the unique session ID only unique ones and not multiples. I have added the unique but when I preview it, it just shows lines (see image) As soon…

Send notification from one page to another

So I think you are saying you want to send a message from the change password page to the login page on change Again, assuming your success event in the change password page uses a browser.goto() to …

Recalling Table Index

Of course you know it - it’s available after the insert record step. Add a setvalue step after the insert record step, and then select the identity as a value. Enable “Output” and it’s already availa…

Firebase api

Hi, I’m new to Wappler and i’m struggling to get data from my firebase realtime database. The strange thing is, wappler can connect to firebase and shows the correct data in the API Action, but i’m n…

Sms api integration

can some one help me send sms via api from a form. i am stuck. screen shots will be very helpfull this is example code they provided for using api. POST /v1/messages HTTP/1.1 Host: api.messagemedia.…

Dynamic value in SCRIPT

Hello, there are a few other topics discussing the same question, please use the search function in the community:

Howto Stripe Payment integration

Helpful page as reference : https://www.codexworld.com/stripe-payment-gateway-integration-php/ Requirements / Installation: Register on Stripe. Download Stripe Classes https://github.com/stripe/s…

How to take photos and upload multiple images on phone?

If you add a custom message, you will see in the code like: message="your message here" You can make it dynamic, by adding dmx-bind: in front of it: dmx-bind:message="'your message here'" (note t…

Remote Files Manager

Turn off the experimental features and restart Wappler

Run server action based on row in table

I have multiple server actions which basically “syncs” an API of the software that we use, to our database. So all data from their API to our database. I want to run each sync on different time schedu…

Retrieve browser type and device type!

Please check the browser component, it returns the info you need.

Tabs with Nav add a tab

Hi Rodney, Duplicating both the nav list item and the tab pane should work fine. Make sure the nav link matches the tab pane id…example below:

Nested repeat regions with different view partials

I’m evaluating if Wappler is suitable for building a simple CMS, which generates a simple landing pages, containing a list of blocks - text, link, image, collapse etc. I read an amazing guide on Nest…

Security enforcer setup

I think you want your Identity Column under Permissions, pointing to userid instead of userauth.

Using keyboard arrow keys to tab through repeated

Is it possible to set-up a repeat table or region and use the keyboard arrow keys to traverse up or down the list? And would it be possible to keep going onto the next page? And then hit enter/retur…

How to do face recognition in wappler?

How to do face recognition in wappler mobile? I would like to use combination of user face and gps location of user in online attendance system for field engineers who works in remote sites. Can it…

Conditional font awesome icon

1: Select your icon in the DOM Panel 2: Add Dynamic Attribute Then you should be able to show it while executing I believe.

Login in design view with security provider

When previewing stuff in Wappler it is awesome, however one problem I have is security permissions, is there a way to have the user logged in so it does not get blocked by the security?

Is this possible?

I have a membership portal of which I need to create a date for each of the members to complete duties at the club. What I want to achieve is 6 members to be selected at any one time and then for it …

Show item if past a certain date

It’s not moment that you need to use here. Use the datetime component to compare dates:

Api request with GraphQL query

We don’t have a query builder for GraphQL. The query for GraphQL is normally a simple GET or POST, that is possible with the API connector. Request will look like: GET http://myapi/graphql?query={al…

Setting different MySQL login details on live server

Hi again Thanks everyone for your input. I’m finally up and running on a live server. The driver error is fixed. Bizarrely, if I set the MySQL details when the target is set to my localhost, it work…

How to - App Connect Selector?

Instead of having to set the same dynamic event to every element every time, can I just write script to set App Connect Dynamic Event using Selector ala jquery $(‘element-or-attribute’) ? Example, us…

Formatting multi line addresses with commas

Hello, wrap them in <p> or <span> and use dmx-show attribute like: <p dmx-show="your_binding">{{your_binding}},</p> or you can add commas via CSS using ::before or ::after pseudo classes.

Multi Thread FTP (Publish)

Well, what do you? Seems like this feature has been in Wappler all along? I don’t remember seeing it there before.

Is this possible with security manager

Here’s a tutorial how to do this:

Using passwords with SHA256

If you are using the already hashed password from your database (by filtering the query and returning it) to auto-log users in, then you should not add sha256 to the login step … the password is alrea…

How to show binding only if it's not empty

HI, put {{address2}} inside a span Try this <span dmx-show="address2">{{address2}}</span>

How can I connect to sqlite

Hi Serhat, Try entering the full path to the file.

Limit Paged Query

I have been successful in building a paged query to my table. The issue is that is shows about 20 rows per page. I wanted to limit this to 10 per page. Can some explain how to achieve this? and

Two Database Paged Query of the same name to query boolean field

The middle section is not necessary Your two parts (groups) should be: and That way the latter test on name will always occur but the issubcon clause will be ignored if null

Send nested JSON with server-side API

Hey Nevil, Just went through something similar, so perhaps this thread will help: I was inserting from a db query instead of an api, but this might give you some ideas. I ended up opening the ser…

Query working on localhost and not live server

PHP version update fixed it - 5.6 -> 7.1 not sure what the minimum requirements are for server connect and if this issue was just my custom query that messed it up. Thanks for support @patrick and @…

SPA: Link in model to route page

You can try adding an onclick event to your link to toggle the modal off? Does the modal actually close and leaves the background?

PHP Snippet in Server connect

Could someone be so kind as to point me to a tutorial on adding using a php snippet in the server connect. ie: <?php $time = date("YmdHis"); echo $time; ?> this timestamp is just an example, If I …

Wildcard (*) syntax in conditional where()

Hi. I think you need to use repeat condition for values which are not null. So try using null in value and != in operator.

Best way to do a video background

Background videos are already available as a component in Wappler:

Extract an ID using regex

Add a Text Input Add a Paragraph The structure should look similar to: Click on Paragraph -> Dynamic Attributes plus icon Choose Display -> Inner Text Select the lightning bolt …

Dynamically populate Title in a <tr> or <td> tag

@UKRiggers as any other attribute where you need to use dynamic data, you should add it through the Dynamic Attributes menu

Best practice to do this

You can do the following in your server action: Add a database query and filter it by the (user)name. Condition step - use the query as an expression THEN > setvalue, let’s give it a name userexists …

Merge Cell Data

You can do this in app connect when displaying the data, just use the data formatter => concatenate to on the fields (include concat a space between if needed)

Modals - Properties

Modals are really powerful tools. Are there easy ways to alter the properties, not of the text but the ‘screen’ that is the modal body. Can we alter colours and can we alter the opacity- transparenc…

Master Detail page only returns first record

Hi Matt, I think this line: <tr dmx-on:click="id.setValue(orders.data.query1[0].ID)"> should be: <tr dmx-on:click="id.setValue(ID)"> –Ken

Loop through API data

You can do this easily in server action. Set count var using set value step. Then, after api action, add a repeat action. Inside the repeat action set a condition action to check for the value you w…

What is wrong with this "replace"?

How are the options for the select, don’t you use the number for the value and the text for the labels? When using the number for the value you don’t need to use the replace.

Grouping Records Help Needed

Ok, I got it to work. The solution was that in the first repeat region, use the Unique key of $key. For the second repeat region, you would use the expression $value.

Variable, Data Detail, and Session Storage Manager

Using session or local storage is perfectly fine for this. Yes, all you need to do is to query the temp table and loop through its records, then run database insert step and insert the values in th…

One on One Training

Is anyone able to do a one on one session so i can get a overview of Wappler? I got some questions and it would be great if someone who is familiar with Wappler could answer them without having to go …

PostgreSQL Identity tip

Hi Wapplers, So with one of the latest updates, a bug was resolved where the “Identity” was not returned back when doing an Insert when using a PostgreSQL database. This has been resolved so all good…

Exception handling: ServerConnect Catch

Hi, How can we use the catch group under the server connect? What kind of functions can fit there as database insert and mailer are not working under catch. Thank you

Dynamic event : Set value to input with selected class

Is it possible to set value to input with particular selected class? For example, on button click, set value 1 to any input with class-1.

Server side connection to mysql via ssh

After further investigation - seems that connecting from PHP to MySQL server through SSH is not really a well developed solution. However - you can actually already do it by installing such tunnel on…

Load SC from javascript

You can simply use dmx.parse for it, so like: $.post('/dmxConnect/api/banks/addBank.php', { public_token: public_token, metadata: metadata }, function(result) { dmx.parse('scGetBanks.load()');…

Cannot install update on mac

get this message always: Wappler ENOTEMPTY: directory not… Failed to install the update.

Button Appearing Only When User Has Privileges

Hello, This is what I am trying to do in Wappler: On a front-end page showing database fields, how can I add code that when a user with database modifying privileges is logged in, additional buttons…

Custom Switch not passing a value when checked or unchecked

Hello Peter, You haven’t set a static value for your switch. The static value is what gets passed on form submit.

Make background-video

Mirko, You need to style your container, where you apply the background video to. h-75 puts a height of 75%. Your body and HTML tags are 0px high. 75% of 0 is 0.

Latest Wappler -BootStrap 4 table only returning headers

Figured it out…my database has 4,000 some records, so must been a time out issue. Once I added paginated query we were fine

Remove Old/Unused Database Connections

You will find them in the \dmxConnect\modules\Connections folder, just delete the file

Cannot Connect to Server for desktop app

I hacve just set up a desktop app and was trying to connect to mysql database via server connect. It states there is no server model. When I click on project options there is no place to set up Server…

Show A Badge With The Number of Tasks Left To Do

I have a menu that shows the number of buttons that are links to pages that are either completed or need to be completed, (see image). What I would like to do is display a badge showing the number …

Redirecting on login according to user level

Hello, I have a functional Login page, and my security provider tells me what type of user has logged in, I just need to redirect to a different page acording to that type, for example. type 1 -> pa…

Creating multiple buttons from database returned values

Help required if possible? As you will see from below, I have a page which I need to generate multiple buttons based on the returned rows from an MS SQL query. If the amount button data returned fro…

How to place a anchor button inside specific slide in slideshow

I’m trying to add a anchor button inside a specific slide and link to a page, but i could not make it… its only possible general button inside the same container where the slideshow is. But that make…

OneSignal: someone who has experience? (and API Connection)

Hi everybody, I m trying to use OneSignal for push notification. It is a new world for me. I would like to ask if someone has experience in One Signal Management through Wappler? In my case I woul…

F7 button icons

Can anyone help me create buttons in F7 that are icon based? The F7 button component has an option for ‘icon only’ but nowhere to select the icon. I know you can add the i tag in code view with the co…

API to calculate distance in kilometers between 2 GPS locations

I am collecting a users preferred location using Google and autocomplete. I want to loop through a set of records and calculate the distance between the location in this record and the location collec…

Validation Help

Change the input type to text rather than number. This seems to be a Wappler oddity.

Google Maps error

Ok I actually found what the error is. Ir used to be that you would just go in and set up an api key. Now google wants you to sign up for cloud services even on free account. So you have to set that u…

Styling title & description in Slideshow

Use the following CSS selectors: .dmx-slideshow-title { color: yellow; } .dmx-slideshow-description { color: red; }

Custom control-checkbox question

Hello, If you want to have a value sent in your email you need to add a value to your checkbox. Also, your goto action is wrongly setup. As explained in the tutorial, you need to wrap static urls i…

Swiper problems

You have set a property that counters the style rules that have been set, namely auto-height="true". Remove the culprit and all is well.

Read nidificate json response API Action

I have a API Action and it’s work fine, but I want read nidificate meta_dat value filtering for key: I insert meta_data[“key”]="_billing_customer_type".value but it doesn’t work

Paragraph to fade-in, stay 10 sec on screen and fade-out on change

Oh well that is different … you can use the notification functions for that. Thats exactly the use case for them.

Nav Link images

Is it possible to use images instead of text in a Nav Link ?

App connect Video picture in picture mode

Hi there. App connect video is great. Trying to figure out how to activate the (picture in picture) mode (is when the video continues to play on the right bottom) on scroll. The functionality is there…

Can I do a detail page using two DB table queries?

Wow! Thanks @Teodor, that sorted it. Something so simple, cheers.

Error emulating your Cordova Project for android!

I have this error notice. Why ? I have java 1.8.0 installed

Server Action | DB Update Conditions | Differentiate between empty field and no field

You can set a default value. Remove the condition. And in the value part, set it as $_POST.FirstName.default('').

How to sort / filter by Date Field

Hi Team, New question. How to sort/filter by Date Field. Can’t seem to figure this out. Thus far I have been able to sort and filter text only. Unable to do with any other type eg., int, date, etc. …

Showing - INT(4) - UNSIGNED ZEROFILL as "0001" and not "1"

Hey Reinhardt, There is a special formatter for such cases, available for numeric values. It’s available under numbers and it’s called Pad: So it adds .pad(4) after your value. Example: {{serverc…

How to add a print button and save to pdf?

I have a nice form created in Wappler to create quotes for jobs which works nicely thanks to all for your advice. It prints nicely too as a webpage but it requires knowing how to print a web page by…

Single Page App Class Toggle with isMatch function

But that is not possible That’s why there are conditions and you can add as many conditions as you wish there: dmx-class:d-none="condition1 || condition2 || condtion3 .... || condition999" Use the…

Is it possible multistep contact form / or any other mailer form with wappler?

Please check the tutorial explaining how to create multi step forms:

Select dropdown properties and DB update

Enter your static placeholder option here:

How to pass form elements values to JSON for Post Api?

I have a post API which expects the Json body as below . { “guest_name” : “”, “guest_info” : { “street_address” : " ", “zip_code” : " ", “phone” : " ", “email” : " " } } But i am unable to b…

Question: Toggle Class

Ah, you want to use the bootstrap 4 specific class for that?? But you are using a wrong class then! It should be table-danger, like: <tr class="table-danger">...</tr>

Accessing protected Server Connect scripts with API

Hi, I m trying to connect my new electron app to the web app I already done. All the Server Connects scripts are protected. The my question is: should I make in the Desktop App a form connected wi…

Having static and dymanic content in textarea "value"

You can try using dynamic attributes>input>value and then enter the text like: 'Hi' + customersnamefromdb + 'the rest of the static text wrapped in single quotes goes here'

Auto-submit form on field change

Hi, I have a long form with around 30 fields (many of which are text areas) and wanted to see how do you recommend to implement auto-save without the need for a submit button? 1/ Is it better to hav…

Breadcrumb

How to achieve BreadCrumb using Wappler ? If anyone has an example, please share with us.

Create dropdown showing months from Jan 2010 to last month

I have a dropdown which I want to populate with all the months from Jan 2010 until the month before the current one (eg. last month). What’s the best way of doing this? I’m not going to pull the optio…

Slideshow Questions

The default width and height is 100%, while this can be changed using style rules (CSS). I have not noticed the thumbs being made if I have not ticked the Thumbnail box. The optimal dimension is enti…

Repeat row: template expression

Finally, instead of using the data view filter, I have used the below syntax with the serverconnect that worked well. case closed: sc_1.data.query1.where("InterruptedFlag", var_interrupted.value, "=…

Example Queries - Part 2

Paged Query `SELECT id, name, address, phone FROM customers ORDER BY name LIMIT 10 OFFSET 990 Aggregates of specified size Find the values of a table column c1 for which there are a specified numb…

How to use Electron?

Hello everyone. I noticed that you have a new option on the Wappler bar called Platform. And at the top there are new icons for Android and IOS. I upgraded Wappler to version 2.1 and got the BASIC si…

Major Problem When I Update Column Names in MySQL database

Hello! Each time that I make a change to my database column names, everything that is related to queries for that table explodes. Tables stop loading, I get several javascript errors (not a primary e…

Custom/manual SQL query

Custom queries are already available in Wappler 2.1.0

Example Queries - Part 1

Example queries for wappler users (I will update for wappler users in my spare time. ) List databases, tables, columns SELECT t.table_schema AS 'Database' ,t.table_name AS 'Table' ,t.table_t…

API Action - How to enter an array value?

In the API Action step, how to specify the value(s) for urllist for the following JSON Encoded parameters? I entered it in the Input Data area. {"key": "your api key", "plugin_version": "MY123", "los…

Can I use two databases in my app?

You can have as many databases as you want - with all different connections. @brad even in one server action you can have multiple connections to different databases. That is why for each query you s…

URL Rewriting with Wappler Problem

It should not be on the serverside routing/url rewrite then! There you have already defined the / to point to your main page. The rest should be loaded on the page in the client side routing. Please…

Passing record id to a modal and updating record

Well after a very frustrating few days I’ve finally managed to get this working, selecting a record, opening a filtered update query in a modal and writing back to the database. Thank you to everyone…

Show/Hide DIV

Dynamic events doesn’t mean you are working with dynamic data. Dynamic events are the events used in App Connect for its components, I.e. the events controlling different components or properties. Th…

Video background test

Well Serhat, your section has no height - you can’t see a background of a section which height is 0px

Login with background image

My client has an image to use as the default login page. I want to take advantage of this image to insert into the login page of the system. This image is background of the page. This image has the de…

How to change database connection from a local storage to a web based one

I have developed my database driven side on my local computer with a copy of the original web based MYSQL Database. I use as target a local folder. The definition is in the Project as localhost. It wo…

Google maps add marker by button click

how can i add a marker to the map and set its position by a click event?

How To Show and Hide Buttons On Insert and Delete Actions

Thank Ben. This will be a wealth of help!

Electron and Single Page Apps - Routing

Will one be able to use the App Connect/Wappler Router to build Single Page apps and package as Electron Desktop Apps?

This helped me in fixing importing old projects, in v2.0.2

So with the new version of Wappler, an issue is fixed where you were not able to import projects. But after upgrading to the new version I was still not able. So I did the following to fix it for me: …

First Mac Desktop APP with Wappler... Trying Out :)

Any Documentation available…soon?

Dynamic Image

Hello, Wappler Docs are you best friend:

Question about Parallax fx

Well, if you want them to be positioned as in Wappler website (if we are talking about the 3 images), you will need to adjust their initial position in their parent div using absolute position.

How to embed scripts for advertisers

Thank you for the quick reply. It is the oddest thing. I agree I should be able to just paste the code in. Absolutely nothing happens - there is no change in the page, either on my desktop or after I …

Place A Dynamic Query List Into A Form

Thanks guys! Yes, I stayed at it and got it completed last night. Wappler is dreamwork!

How to create routing for the pages

Hi, I have a pages folder there i have few pages ex: example.php, post.php, and my index.php inside site root, I do have header with navbar as php include. How do i create routing for those pages and …

Rendering Differences In Form Shown In Safari, Chrome, and Firefox

I’m finishing up on a page that has a form for students to fill out. It works excellently with Safari, however, something happens with other browsers that I cannot determine the cause. The form field…

Dynamic Dropdown Filtering - include all option

Hi @wahlrab, First make sure the ‘all’ option value doesn’t have a value: <option>All</option> Then in the filtering options of the query builder, add a Group and then add it there. Put your select…

Show a notification on page load if a record has a certain value

Thanks for the steer, @sid. You highlighted something I’d overlooked and so I’ve actually managed to do it without any hand coding. I’d already created the server action which had a query on it to ge…

Swiper with Lightbox

It’s the same as normal images on your page. You just put them the same way in a swiper slide.

Typed Text

Here it is, Brad:

Transfer file from one directory to another

I have a table that lists the records from a database Some fields are related to files previously uploaded on the server I would like to add a button for each record to transfer (or duplicate) files…

Using table data when sending emails

I’ve started using the mailer for the first time and have hit a problem. I have used the Database Query to get data and I want to use some of that data in the email. The main one being the recipient o…

Inner Joins

I am having an issue show data. It seems that when I try to make an inner join in server connect, it does not show the correct data. The joins are set up correctly (As I have tested the in both MyphpA…

Need help/info with Mobile App Development

Yes, you can fully mix Framework7 and App Connect. We took special care that they work together. Just make sure you use the supplied app.js

Working on two computers

What is the best way to work on two computers? I have the office iMac and also a MacBook and currently use Google Drive to sync folders. If I work with a synced folder in Wappler, will there be any is…

How to remove Placeholder or hide it when using Background Images?

When I add a Section to a page I see the placeholder block. When I then add a background image to the Section the placeholder still appears. How can I remove the placeholder function or use a backgr…

Simulate a logged in user in build mode

Thank you. At the end I think I got it Inside Wappler I preview any page under security enforced, given that a logout button exist somewhere in the page. Click the logout button in preview mode and …

General question about subscription management

Wordpress will introduce a lot of unforeseen problems, as you’ve noted about security. Plus the relying on so many plugins, themes, and stuff to make sure the client’s end-product works is a risk. Wo…

How to Upload an MP3

If you want to upload files to your server you need to use the File Upload component. Not sure if that’s what you are trying to do, or you just wanted to include an html5 mp3 player on the page?

Resizing/Cropping Images by Aspect Ratio

I’m curious, is it possible to edit images via Image Processor by adjusting aspect ratio with the crop tool? If so, would that be by using percentages in the width and height fields? My challenge is …

Prevent SPA View from caching

Brad, you have applied inview animations through the UI. Please double check Patrick’s explanation, remove any animation options applied and manually add the classes he mentioned.

Checking to see if record already exists to decide whether to update or insert records

I need to check and see if a record already exists in a table in a conditional server action to decide whether to perform a database update or datatbase insert action. Can’t figure out the best synta…

Chart with static data from external file

Hi Team, Is there a way to use Chart and populate it with static data? I mean, instead of using a Database, the data in the chart will be stored in a file like .csv for example. Thank you!

Cloud CMS possible?

Is it possible to make a cloud based CMS with Wappler to use with multiple clients? I have always wanted a single install CMS for basic sites. Any way to do this and keep data and files secure per cli…

Simple CMS Tutorial anywhere?

Is there a simple tutorial anywhere on how to setup a simple CMS for a marketing site? I only have a few fields like hero image, hero text, body text (Medium Editor). Any help out there on how to setu…

CSS Style Panel Disables

Something I have done to make the style panel only ‘flash’ brighten/then dim on selection of components of one particular page - does not do this on other or new pages in same project with the same .c…

How to unload state management or to remove page query

Figuring out the action to remove page query or to unload state management without page refresh. Note that this is not related to routing, only state management. i.e from page/?module=1 to page/ and …

Best WYSIWYG fieldtype

You could take a look at the Medium Editor component. This offers basic WYSIWYG functionality.

Single Page App: ServerConnect to load only on section show

Hi, As I am creating my Single Page App with routing, I am looking to have the Server Connect to load only when its respective section has been routed to. How can I do that? Thanks

Single Page App: Routing without moving to a new content page

Yes - this is entirely possible and can be easily achieved indeed by using the “Route” App Connect Component. This component will function just as conditional regions when the route match. So if you …

Enable Unabled Button From Anchor Button

I am not sure I understand everything you are saying but if you want to disable a button until someone selects a checkbox: Click your button. Add new dynamic attribute. Input > Disabled Expression…

CRUD Datalist for logged user only

Yes.once you have set up your security login all you need is to make your database connection, and add the security provider (i have called dummy in this example) you have defined when configuring yo…

Is there any way to show notification box which display series of notification or pending tasks.?

Hi Folks Is there any way to show notification box which display series of notification or pending tasks in wappler ?

Is it possible to DMX - remove element from DOM

Yes that is what conditional region is for that generates a dmx-if tag And indeed removes its contents completely from the DOM and this delivers huge performance improvements as @nshkrsh experienced …

Web Database App Tutorial?

Is there a tutorial available to show how to create a Web Page with database connectivity? I’m interested in Wappler 2.0 but not sure how to get started. I’d like to create a Contacts page that would…

How to setup OAuth provider in Sever action

Hello @Teodor , How can I setup the Oauth provider in server action ?

Refresh session (server side sessions)

How can I refresh sessions (server side sessions ). ? I have created login page and loging process working with API . so I have to refresh the sessions . (windows 10 - ASP.NET - IIS )

How can I manually duplicate server action?

How can I duplicate server actions manually because I want to use it in same project different folder … can you guide me @Teodor ?

How to create a Wizard/Step 1-2-3 View?

Hi Freddy, You can do this with a variable and a “next” button in each part of the form. Each next button sets a different value in the variable(1, 2, 3) and different variable values show different…

Wappler Online Course?

I was thinking about a Wappler Online Course? I dont want to invent the wheel from scratch, but maybe it would make sense with a small Quiz do onboard users before they start with a project. It would …

Open older Wappler projects

Unable to open previous projects output in browser showing only one project output for other projects also please help me.

Multiple Mail outs

I know there is way to send out multiple emails, however the issue I am finding is if you close the window when you click send out emails then obviously it stops. Is there anyway around this or a way…

Converting Old DW + DMXzone Projects To Wappler

I have a large site built 4 years ago. I would like to bring it into the Wappler world. Are there any issues that I need to know, or to watch out for before I begin this task?

Device dependant triggers

That is how it works out of the box Brad. All mobile browsers use the first touch as hover (when hover is defined)

About API security

Hello , I have a project that works only with the API. Now I’m doing user login operations. With API, user login works perfectly. but how do I get the page security in the best way after login? I can…

Upload files to another server using sFTP

Is it possible to upload a generated csv file to another server using sFTP? These are the server side steps: Run a database query Export the query to CSV The path of the csv should be another serv…

Return begin date of current week

You can do it with PHP quite easily: <?php echo date("Y-m-d", strtotime('monday this week')), "\n"; ?> The above, assuming Monday is the start of your week, should display: 2019-05-20

Best way to print a record

sorry for they delay in coming back to you. Have had a crazy few days. Method is simple: Create your query and add a print button in where ever your results are being displayed (mine is in a repeat …

Form to Email Success actions

In App structure add ‘Browser’ On the form - Dynamic Events add on success (Browser - Go To) then add the “http://thesite.com/thankyou” So once your form is successful it will goto the page, if ther…

Update payment method

We already have the new Wappler Account Management online. So you can adjust your payment methods here: https://account.wappler.io/

Create Alert To Show One Week Before Scheduled Date

Got it! <span class="text-success text-bold" dmx-show="varAlert.datetime.daysUntil(date) > 15">{{varAlert.datetime.daysUntil(date)}}</span> <span class="text-danger text-bold" dmx-show="varAlert.dat…

External table select within an input form

There are a few articles in the documentation which should help with this, eg: This article appeared at the top of the list when I searched for ‘select’.

Clone Button

I already explained how this can be done in a smart way with repeater Maybe @fatherofinvention - can make a visual step by step guide, as this is really useful for multi record, user expanded form…

Dropdown and blog option is not showing in my wappler tool

Why dropdown and blog section/option not showing in my wappler tool. Please let us know the solution to overcome it.

Wappler on Ubuntu 19.04

Hi Sheldon, I’ve rebuild the Ubuntu installer with the new dependency. Just download it again from https://wappler.io/download_beta The filename is the same. Let me know if it works now.

Step by step documentation for mobile app

Hi, Is there any documentation for step by step mobile application development with wappler, i found only basic step that even not very clear enough…

Why automatically created .html file when I created .php file in wappler?

Hi Folks Why automatically created .html file when I created .php file in wappler 2.0.0 Beta 3? What is difference and why? Thanks Nyi Nyi Lin

'Use Active' Setting?

Hello Brad, There are a lot of articles explaining the differences between FTP active and passive modes, such as:

Geolocation Tracking - Logging

So, I did search for other posts and if I missed it. Apologies. Want to track a route. For example, for logging miles. What is the best way to do this? Do a refresh every 30 seconds to insert long/la…

Remove files from drop zone on form reset

This has been added in the latest version Wappler 2.0 Beta 3. When on success you call form reset, it removes files from the dropzone.

Fade Views In and Out

Ok, I discovered how to do it. You have to use the Enter Animation not the Inview Animation and you need to apply it on the view pages. At least that is how I got it working. I would have love to us…

Animate Single Page Apps (SPA) Page Change

Animations won’t work well on the current Route implementation. Use the animate.css classes directly on the content page’s main node. Leave animations will not work since the content is directly repla…

SPA Tutorial Needed. Data Detail Views

We really need a tutorial on how this showcase was done using data detail in a SPA. I’m really stuck on this. Anyone done a data detail in a SPA?

Working with Date/DateTime in Database and Wappler

OS info Operating System : Windows 10.0.17763 Wappler Version : 1.9.9 Problem description In my database, I have multiple datetime fields in various tables. My issue is similar to that described …

Remove All Session Values

I want to remove all session variables on a button click. the way i can see right now is to session1.remove('variableName'). but this means that i have to set this 25 times, for each of my 25 session…

Drop Down on user side -- not dynamic

I am building a series of question that patients will have to answer. There are some the question is straight text in a textbox. But in others I want either yes or no or yes no maybe or four of five …

Display Different Images Based On Device Size

Is there a way to display different images in a spot on the page based on device size? I have 5 different images (one for each device size) that I would like to swap out based on device. I assumed s…

Best way to secure source code

I use wappler to extend a web application that’s hosted on my clients server. They have a Windows Server with IIS and MS SQL Server. My Wappler created pages are currently hosted on this same machin…

Image url is this possible

So you don’t have the filenames in the database and don’t know the exact number of images. They are all locatec in a folder on the server and the filename is the barcode plus some suffix. Then use th…

Problem with data load inside modal

Also - why using set session and then use this session value to filter the second query? Why not using the value returned by the table repeat region directly as a get variable for the second query?

Conditional Region Question

Thank you Teodor, you brought me in the right direction: This works: <div id="condAllgDok" is="dmx-if" dmx-bind:condition="params.id != 'abrechnung' && params.id != 'wirtschaftsplan'"></div> and <…

Simple table layout

I look for a simple table x-rows y-columns layout for aligning small static data. I tried the table thing but then I need to clean up all the classes, theaders etc . Or is there another simple way to…

Render-blocking Issue

Have a look at https://r.je/eliminate-render-blocking-css-pagespeed An Nginx box with Apache serving HTTP/2 will go a long way. Apache so that .htaccess can be used.

Row generator inside a dynamic collapse

Hello All , I am trying to achieve a functionality inside a form. The end goal is to have a user fill out multiple phones numbers, email , addresses etc. Right now i have added 3 dynamic collapses. E…

Database submission to search engines

Try changing the App Root to Page instead of Body Then under the DOM add he title text to Dynaic Attributes

Nav Bar Links

Hmmm, the data-toggle collapses in the code look to me like they shouldn’t be there. Without being able to test it it seems you are trying to toggle sub menus with your links not actually link to a p…

Exporting Source Html with libraries

To add to Brian’s (@Hyperbytes) reply, there is a little catch when supplying the source files to a third party. Have a look at the following folder containing the source files. Here you will see …

Using Dynamic Attributes - Showing Elements Based On Condition

I think i see the issue, you want the extended fields to be revealed when the Terms and Conditions checkbox is checked - Yes? You hide the extended info with the dynamic show attribute: dmx-show=“bs4…

Toggle button text with collapse

How do I toggle the test of a button based on the shown state of a collapse. I have tried setValue when shown but that did not work. What I am trying to accomplish is a Read more…, Read Less… Butto…

Issues with datebase returning multiples of the same record

Another day and another project. Issues I am having is the database is returning multiples of the same product. I have selected ‘DISTINCT’ but for some reason this is just not working. I’ve tried m…

How to define different width of a Container for different Breakpoints?

Hi I try to define different Width for a Container depending on the Device. For Desktopmode I did set the Width to 75%. When I’m in Mobiledevice Mode I change the Width of the Container to 100%. B…

Anyone implemeted an x-editable type solution in forms

Hi All Has anyone in the community implemented a form editing solution similar to x-editable? x-editable It would be really useful in the multi user environment to edit at field level rather than f…

One repeat, two arrays

Hi Wapplers, I’m a bit stuck, I have a table, populated by a DB. The purpose is that the end user selects here some rows(via a single checkbox on each row). Presses a button and adds a value that wil…

Numeric field in a table

This should be pretty easy in Wappler. 1: Put both icons on your page in your table where you want them. 2: In the DOM Panel or in the code wrap each icon with a span tag 3: In your DOM Panel s…

Question on fuzzy search

So I have a database with a lot of products in it and I am using a fuzzy search. Issue I am having is that it stalls after 2 letters due to the amount of records to search through. Is there any way …

How to Order Youtube API results

You can just use the sort formatter to sort the resultset. api1.data.items.sort('snippet.publishedAt')

Contact Form Tutorial

Hey Neil, Please check the docs site: There is a nice search feature available there.

Issue with getting ID from query with a condition

Hi Peter, The following expression is not right: {{$parent.query1.idcustomers}} It should be: {{$parent.query1[0].idcustomers}}

Session array

Hi Ben, Add your items into an array, using the array component. Then using the array component dynamic events > on updated > add the array value to the session.

Routes Help Please

It’s all good buddy, I’ve got it working now, just incorporating the shopping cart. Most of it done I’m just struggling a little on how to calculate the total of the cart from the repeater so it take…

Stuck on: "Your page is located outside a Wappler project definition."

@Teodor I removed the project and re-opened/imported the project that was initially created by Wappler and that fixed the issue for now for me.

Help with server action record count problem

Finally solved it. I returned value of query1.length as a variable (hasrecords) In the success event of the server action used i then set value of a dummy variable (varSwitch) but assigned it a brow…

How to easily remove all query params except the one I need?

Hello, There is no a dynamic event which removes all query params except one. Just add as many remove query parameter actions as you need.

Data not yet available when running function

I have a styled countdown that is dependant on jquery. I load my end dates into input fields which I will eventually hide. The function grabs the values here and starts up 3 instances of the countdow…

SPA routes with master detail view (dynamic URL)

I found a solution. If you change the suggested query.getURL to params.getURL in the INPUT Parameters of the detail page (content page), it is working. Is this a bug? If no, the docs should be updated…

Removing Year from {{NOW}} with date formatter

Need to filter a table with DOB’s in them for example: 1971-03-30 However I want to add the following into the query: dob between. {{NOW.formatDate(“MM-dd”)}}. AND {{NOW.formatDate(“MM-dd”).dat…

Would like to create an upcoming birthday list

I would like to create an upcoming birthdays list. This would need to sort through a database with DOB in the eg; 1971-03-30 and I would like it to filter by 14 days from todays date. How would I get…

Login form problem no redirect

The posted values come from the input ‘name’ attribute. These must be the same.

Link Scripts Before jQuery

Hi. I have a custom 3rd party JS library which has its own jQuery implementation. This interferes with the regular jQuery and break the Bootstrap & App Connect components/controls/elements. As a wor…

How to format text with nl2br

You can: Put your text in a <pre> tag Do this using CSS with the white-space: pre; property. Example: .mytext { white-space: pre; }

PHP Script Refresh

PHP question: I have a PHP script that pulls data from an external source and needs to be updated or run frequently. Is there an independent way (other than refreshing the entire page) to force the sc…

Function to show all hidden elements in Wappler interface

Turning off App Connect Mode while in Design View should show most of those.

Repeat Children

I have a list that is generated by a repeat-children. It renders a country name from a database. Each country has a comma that follows and separates the next name. All of which works perfectly. Now, …

Calendar Display in Wappler

From the Wappler POV, to create a calendar on my page that displayed editable items each day (like a trip schedule) in a monthly format, what would be the best direction? I have not looked at the chun…

Pattern Validation Question

Maybe ^(\d{4}|None)$

Dropzone multiple images

As others explained it’s not possible to store multiple filenames from one upload input to multiple fields in one row. That’s a bad database design and you need to improve it - you need a new row per…

How can this be done?

You can directly enter the expression: {{query1[0].id}} - just replaces query1 with your query name and id with your id column

Dropzone style

You can set the thumbnail previews size in the UI and the rest you can customize using CSS. Use your browser Dev tools to inspect the styles of text and its placement, then override them in your cust…

Add a hyperlink to an image

Anchor image is the way to go. Attach the link to it and just select your image source as on normal image Anchor image element is just a regular image wrapped with an <a> tag.

API connection to ForwardAir - Server 200 Error - No data to see or work with, please help

Seeing the link I think it is a SOAP API. Wappler only supports JSON/REST API.

Date picker not working in Chrome

Make sure your input field is a text field and not a date field. I haven’t had any issues with chrome myself.

Change fields default value

Well, Marzio just use the “default” formatter in the insert record step. So select the value you want to insert, open the data formatter, select “default” and enter the default value that needs to be …

Image hover effect

Hi, How can i make a hover effect on an image? I would like the image to go a bit darker or other transparent color with a plus (+) on the middle on hover. Like this:

Input Masking

Well, apparently opening a beer was the key. It hit me that ‘Validate -> Pattern’ is what I needed. Works wonderfully. Love Wappler. Pattern: [0-9]{3}-[0-9]{3}-[0-9]{4}

Populate Upload File

How to can I populate dynamicaly Upload File when the page shows ? The file name is on the database and I have a serverconnect query

Limit Records by Number

Did you use the table generator? If so: select your table body click on the lightning bolt after ‘expression’ click on the magic wand formatter in the formatter add ‘Collections -> Top’ add a 3 whe…

Initial Setup for Local

Hello John, Please check the documentation related to project setup and management:

Printing receipt without prompt

Good morning, I’m new at wappler and still evaluating if is the tool I need for an specific project. Is it possible to print a receipt from a website created with wappler without the system prompt f…

On hide how to run 2 more conditions

Use the standard JavaScript operators for the conditions, in your case: When both conditions must be met: <section dmx-hide=“viewPendingDel.state.executing && viewPendingDel.data.query1.hasItems()”> …

How can I create this statement with dynamic data binding?

Hi @gunnery Looking at your email expression, are you sure the title should not be: {{select.data.query1[0].title}} ?

Delete image after removal from medium editor

I love how easy it it to upload, resize etc an image within medium editor/ server connect However when removing an image from the editor window, the uploaded image still remains on the server Is the…

Editable Grids/Tables

Has anyone had an opportunity to create an editable grid in Wappler? Something like this, with row insert, inline edits and position sort. https://codepen.io/johnraiz/pen/jvYRey Would be great to s…

Issues with mobile phone photo uploads with Drop Zone

Have you checked your server settings to see what the maximum upload size is set to? If may be set too low i.e. 1.5 mb

Problem with Input Validation Rule "Equal To"

Setup: 2 input boxes: txtNewPass, txtNewPassAgain. on the txtNewPassAgain have added a Validation Rule matching txtNewPassAgain with txtNewPass. like this: Problem: type any password in tx…

Totals from a table

Thanks, Got it to work. I found this movie on the forum which showed me how to try this. I didn’t know about collections. I found them in Wappler. Now I do. https://www.youtube.com/watch?time_co…

Language with dateFormat

Is there a possibility to get another language with dateFormat? I have this in my Code: {{ErstelltAm.formatDate(“d. MMMM y”)}} and would like to have it in german language. I looked at the forum and…

Output to browser as action steps complete

No, there is no point in creating separate server actions. Maybe you can try adding a setvalue step before each of the steps in the server action, then use its value on the page to show different mes…

Upload Logo

But then you don;t need the medium editor. It should be used to insert data into the database, in some inser or update record forms, and has nothing to do with inserting elements on the page in Design…

Need Wappler Expert Help

Actually you don’t need any bloated jquery solutions and we recommend avoiding jquery as much as you can. You have included the smooth scroll component on your page, and by default it targets all the…

Log Logins and Logouts

Hi JR, Yes, that’s the way to do this - add an Insert step after the log in and log out steps in your server actions.

Insert page with several columns

There is an option “use form rows” in the generator. Then you can move the columns around Building Multi-Column Forms

How to use Group By in chart

I have a requirement to display a chart that group records daily so i will have the sum value of column daily. in mySQL i use something like this SELECT DATE(datetime) as DATE, SUM(`count`) total…

Adding Extra Panels to Accordion?

You need o make sure that each accordion panel (card) has the same Parent ID

What is the equivalent?

Well, we do not execute the PHP code in design view Yes there is another method, using the date and time component, i just don’t see a reason not to use the php code you already have there. In the…

Working with Updatable Checkboxes & Radio Buttons

Yes But if the checkbox is a single one you don’t need this.

Subtract one day from date

Have you tried date time formatters? There is a formatter available to add day. Just use that and put number of days to add as -1.

Upload Multiple Images w/Dropzone (Save Text, Resize, Crop)

After careful examination, this page is now behaving as it was intended. Thank you both for your help and input!

Moblie apps packaging

Hi , As I read that wappler have “Mobile apps packaging… and direct Apple App Store or Google Play Store submission” any body assist me how it can be done???

Make two different insert Statements?

Add a hidden field to the forms called ‘action’ (or something like that) and set to ‘sell’ or ‘buy’ depening on which form it is in Then use a server Connect =>Core=>Condition to select the query bas…

Bootstrap files location

Hello there! I would like to setup a default folder for Wappler to import bootstrap files and folders instead of dropping them on my project root, like a _src or _assets folder. Is this possible? S…

Image pre loading with lazy loader

I have a swiper component which loads 50 images from a data view which in itself is a filtered version of about 3000 records The images are loader via a lazy loader The images load on demand as the…

Fill form fields from dbase

Tricky question and I don’t even know if it is possible. A dbase table contains field names: “numberofpersons” having values like “4 persons, € 114,00 per night”. Another field named “totalpersons” g…

Counter text animation on scrol

Hi everyone, sorry I have not been around, still busy with this massive massive job I am working day and night on. I did slip in a small job on the side that I have fully done in Wappler, that i do h…

Calculate number of nights between arrival date and departure date

There is a days until formatter option, which returns the difference between two dates. Combine it with other calculations like the one you showed: And you have your calculations done as you need th…

Using an HTML editor with Wappler

I did a small test with Summernote and it seems to works fine. I think you have problems with setting the value using an App Connect binding. The dmx-bind:value is set after the editor is initialized…

Working with the database query IN filter

This is one of the peculiarities of the Query Builder. You would expect to be able to add the criteria as you would in a normal SQL query, but you need to turn the list into an array: {{"1,2,3".split…

IN operator working with multivalues

You need to convert the list into an array before using with ‘IN’. There is a a thread here about this.

Preferred Method To Implement Foreign Keys

Personal preference: I tend to lean towards session variables for that sort of thing as they are hidden from the user. URL Parameters are displayed to the user in most cases.

Cookies and the new array component

This may be a bug or it may be that I’m not clear how to use the new feature yet. There are two issues I’m having trouble with. If an option to delete a cookie is included on a page, this will result…

Wappler installation size

I just realized that Wappler installation is over 4Gb after the last upgrade which sounds strange. Is that right or is something happening upon upgrades where something is not deinstalling. Thanks, …

Help needed on date picker

Hey Brad, I have worked it out, I needed to add the Moment in on App Structure. Did not realise it did not automatically add it. Duh

Can't get toggler to toggle

That is wrong expression. It must be: ... toggler.setValue(toggler.value == 0 ? 1: 0)" ...

Textarea auto expand

I have a text area field which I would like to display in a column. I can’t seem to get the scroll option to turn off so I can see the entire text. Is that possible? I would like to column to expan…

Sticky navbar does not stick

You can add a container wrapping your navbar content … <nav class="navbar navbar-expand-lg navbar-light sticky-top"> <div class="container"> <a class="navbar-brand" href="#">Navbar</a> …

Loading large dataset and showing Number and/or percentage

Thanks for your help. I’ve checked all the tables again and reapplied the indexes. This lead to a dramatic gain in speed. The problem seems to be solved.

Getting repeat region only repeating the first record

You just picked the wrong binding. Make sure when binding the data inside the repeat to select the bindings available under repeat element, not under server connect element in the data picker dialog

How to switch the program interface to another language?

How to enable another language? The interface is in English. I want to switch the program interface to another language. But in the settings there is no such parameter.

Is possible to use UN/EDIFACT as data source?

Hi, if they provide an API which returns valid JSON response, then yes, you can use it with the API tools in Wappler.

Layout not same on web as in wappler

just started a page from scratch - in the design view it shows up nicely in wappler, but once uploaded to site the layout is not the same. All files have been uploaded properly. Any suggestions on wha…

Sending e-mail based on form select field value

I’m working with a contact form and I’m trying to have it set the “cc” based on a dropdown category in the form. This way I get a copy (I’m in the to: field) and the appropriate person gets the e-mai…

Saving select box elements to a database

ok, I’ve conquered buttons and checkboxes working in forms and saving/retrieving values from a database. Now, I’m trying to get my select boxes to do the same. The select box, name and value element…

Dynamically Bind Validation Value & Message

Solved it. Very dumb issue on my part. I bound dynamic validations for all elements in the repeated form row. But, only one element is visible and in-use per row. So I should have DISABLED & HIDDEN …

Medium Editor placeholder text

Hi Ben, You can just style this in your custom CSS file: .medium-editor-placeholder::after, .medium-editor-placeholder-relative::after { font-style: normal !important; color: #bbb !important; } J…

Collapse animate

I have a question. it’s about how can I animate collapse so that dervon Linst comes and goes right again. that should be such a navbar

Check boxes vs radio buttons or data insert and update

Use dynamic attributes -> checked -> select your dynamic binding (coming from the database) and add your condition there, like: someexpression == 1 the checkbox will be checked if the dynamic expr…

A Form That Updates Data and/or Profile Image With Edit Steps

But that is really easy and in Wappler it is the same as it has always been in Server connect - use the condition field in the update record step, for the value you want to update if the condition is …

X-www-form-urlencoded with Server API Action

How do I set x-www-form-urlencoded as the data-type when using the API action server side? I do know how to do this client side, but is this also possible server side? The API we want to post to only…

Trying to get to the title attribute of a select box in appconnect

Not sure how to do this with Wappler. Was going to suggest using variables setValue and comma seperated strings ‘Apples’,‘Nice Red Apples’ for the option values and then {{ selectedText.value[1] }} B…

Working at the same time on one project

Is it possible for 2 different people to work on the same project at the same time? What are the limitations in that regard? The way my set up is currently is as follows: I have the project files o…

How do i create master detail page

How do i create master detail page. Any specific tutorial to follow?

Smooth scroll offset adjusted to the viewport

How to adjust the offset from the smooth scroll to the view port ? I have a fixed navbar on the page. On a wide screen bootstrap puts the navbar links in line (60px) but on a mobile screen he puts th…

Connecting to MySQL through SSH with Key

Need to connect to mySQL using a private key, but it keeps saying denied. I know I can connect just fine through cmd access or WinSCP or Filezilla, etc. Am I missing something?

Secure Cookie: How to add HTTPS to PHPSESSID

The following issues comes up when you run a PCI compliant scan on your server when you build with wappler. Problem 1: Web Application Cookies Lack Secure Flag The following cookie does do not have…

Enter & Leave Animation When Element is Shown/Hidden

Hi. I have a few elements on my page which get shown/hidden dynamically (dmx-hide/show) based of user input. I have set Enter & Leave animations on the elements for a nice smooth transition effect. …

Greater Than Operator in field expressions

Please check the following tutorial:

Custom Multi Radio Form Group - checked

The “for” attributes are pointing to the same ID. They should also be unique:

Using Xampp - How to set Project Settings for Targets

I am frustrated in the initial stage it self- there is no proper person who have ever tried this basic thing. I pity myself in troubling all days and long to search if there is any good human being h…

Printing form with background fills in rows

I just printed a form which has a few rows using a dark background and white print. On printing, all the background fills go away. Is there a way to override that bootstrap default? Thanks, Rick

Turning text box into currency

Having a headache trying to format a text box to be $ currency. I can only get to the currenct converter after turning a text box into a number using the expression fields but that doesn’t work. Ple…

App Structure Folders for Page Non-Structural Items

Well just add “section”s then those are semantic html elements with no other rendering so you can use them as grouping. Also if you give them IDs those will display nicely as names.

How to report bugs together with the Wappler debug log

Updated for Wappler Version 5.0 and higher We have a built-in bug reporting in Wappler that auto post a topic in this forum together with the debug log. Starting from version 1.1.0 the logging isn’t …

Group By does not work with Query which is filtered by a $_SESSION

Wappler Version : 1.9.2 Operating System : MacOS 10.14.3 Expected behavior What do you think should happen? Group a query Actual behavior What actually happens? It groups the query but doesn’…

Browser - Go Back / Forward

Hi, Is there any way to use the Browser component to go back/forward in history? Or, should I just use JS?

Indexing into Data Structures

Hi everyone! So this is a concept I am quite comfortable with in traditional programming, but am struggling with it in Wappler. I am sure it comes down to just not knowing the proper syntax so I’m ca…

The new Lazy Load is great but

Hi Paul, The lazy load component requires an <img> tag to be applied to, as it uses a special data-src attribute, instead of the standard src It’s not possible to add lazy load to the slideshow. Ma…

Server Connect Average Value IF

Hey everybody. I am making an API call and I need take an average of one of the fields only if its value is greater than or equal to 0. Programmatically I know precisely how this is done, but I am ha…

Datepicker will not function in modal?

I have an insert form in a modal. It has a datestart and dateendfield. <input type="text" class="form-control" id="inp_datumeinde" name="datumeinde" is="dmx-date-picker"> But datepicker does not sho…

OPTIONS instead of POST

Yes of course - that is it all for Check the API Action - in Server Connect. It has similar parameters as the client side - bu then the API requests are executed server side, so you don’t have any C…

Sitemaps

Cannot seem to find out how to create a sitemap for my website in Wappler and submit to Google search engine?

Building A Calendar

Has anyone used the full calendar library into Wappler so that you could utilize the calendar view of the data inserted via forms, and inserted data to a mysql database, etc. created using Wappler? I…

How can I clean some form fields?

Hello @Teodor , I need to info . I have created update form . it is working very well no problem … But I need to little help from you … NAME : MIDDLE NAME SURNAME I want to clean name field when …

POST Content-Length Error

Does anyone know how to rectify this error message? Obviously I am uploading more MB than the php.ini allows. [14-Feb-2019 19:59:04 America/Denver] PHP Warning: POST Content-Length of 76444744 bytes…

Repeat Vs Repeat Children

Hey Brian, It’s quite easy to guess which of the two options is doing what: repeat is repeaing the element it’s applied to repeat children is repeating the child element in a parent>child structure…

DMX show how to add 2 conditions

Hello @gunnery I see you posted this same question on several topics. One question posted in one topic is just fine We see all the questions here, but we are based in Europe, so don’t always expect …

Auto orient on load

7.0 and 7.1 did not resolve. 7.2 did.

Paginator - numbers not clickable

I had to create a page using Data View with Table Generator today. Unless I used the feature incorrectly, which is very possible, you have to add some dynamic attributes when you’re setting up Data Vi…

Custom Dynamic Classes & Styles

Yes, for now you can do this through the styles panel: https://docs.wappler.io/t/using-the-css-styles-panel/2925 by creating your own custom css file. Soon the visual Design panel is getting a huge b…

Paginating Large JSON Response

Hi guys, the static parts in a goToUrl action should be wrapped in sinlge quotes, while the dynamic are just as they are in the data picker. Example: 'http://google.om?q='+symbol

Can a form have two action files?

The checkbox has a posted value which you can use in the server action. Using the current Action Step, choose Core Actions and Add Condition with the $_POSTed value as the condition. After that, creat…

Upload Multiple Files (Images)

Hello JR, Why storing both? Just store the original image in the database as: “image.jpg” and save your thumbnails as “thumb_image.jpg”. Later on the page where you need the thumb you just call the …

Filter and export result as PDF

Hello everyone. I have to develop the following solution: An html table with columns of days (Monday … Sunday) and lines with class schedules. This data is loaded from the Mysql database. I have t…

How to ignore empty fields in sort

How about have a filter on the page greater than or equal to 1? Then have a separate view for records that do not fit that criteria? ie View ‘Awaiting Priority’ for example?

API paging

Hello, I’ve created a page which pulls 28 videos from Youtube from a specific account. I’ve also added a form and text box which lets me filter the results in real time like that used in your Galler…

How to repeat a form

One more question. Why are the form input names dynamic? <input dmx-bind:name="PHTGeraetId" type="hidden" class="form-control" dmx-bind:value="HTGeraetId"> The names there should be static, so they…

Operations/Date-Time/ Time since option

Hi, Is there a way to calculate a time since a specific date? I found the opposite in the operations/Date&Time on App connect side. Thanks for any feedback in advance! Gabor

Treating a erroneous login REPLY in a 2nd language. When/How?

You can apply a condition to pretty much anything in Wappler. you can either hide or show elements based on a condition and there is also a dmx-if so you would have each language statement in a DIV…

Password Encryption / Decryption

@Teodor and @nshkrsh okay it works like a Charm… I just forgot that I typed everytime the same password for new registered users, so that was the reason why the hash is always the same So amazing ho…

Supress validation of hidden inputs

Make the fields disabled. Disabled fields are never submitted with the form and also not validated I think.

Frameworks 7 and adMob

Does anyone know how to place AdMob ads in a Wappler Mobile project?

How can I use Form variables in SPA pages

Hello @Teodor , I have created test SPA and I dont know how can I use get method inside form but resullt : http://localhost:8082/search.aspx?q=luisa I want to “http://localhost:8082/search/…

Form validation text type

regex are the best!

Query from WordPress

I need to get data from a WordPress database and to get the name of the image I have to cross two tables. The query should be like this but does not accept a text and therefore interprets it is un…

Swiper display issue where blank card is displayed briefly

Good hint thanks @nshkrsh Ironically the latest swiper update sees to have resolved this issue anyway

Symbols Not Rendering Correctly - ASP .NET

Please check the following topic and how the user resolved this issue caused by badly configured IIS settings: Problem with UTF-8 and German Umlauts on IIS

No Item when securing data

Probably you forgot to click the “link” icon in the server action where you created the security provider initially. This button makes it available sitewide.

Dynamically load pages into a DIV

Client side routing and full SPA functionality has been now fully implemented in Wappler 1.9.1 See: and:

Enabling and disabling required field dynamically

Then use: dmx-bind:required="isColumnNullable == false" dmx-bind:data-msg-required="isColumnNullable == false ? 'message here' : ''" as the ‘false’ returned by the json is not a string and your cond…

Validator messages in alert or modal

How do I display validation rules message from a validator in an alert or modal

Date picker query

Hi all, I have been asked to create a tour company site for an established business. I am looking to see whether Wappler will allow me to book tours online (not hotel nights as per the Wappler demonst…

Masonry with dynamic images

There are two issues on your page: Your images miss the responsive class applied to them: By default <a> tags are inline elements. This confuses the masonry grid as it expects block elements. Yo…

Preloader for certain elements

Hi @gunnery You can use the spinner component inside the modal body and apply the dynamic attributes - show: So it will be displayed in the modal body while the server action is executing: Here…

How can I open pages inside to index page

Hello @Teodor Thank you for new routing extension . I have question about new routing ext. I want to create single page application . Can you explain or guide us ; 1 How can I call other pages into…

Developing with local dev & live production db connections

OS info Operating System : Windows 6.1.7601 Wappler Version : 1.9.0 Problem description The locations of my webapp and MySQL database are different between my local development environment and p…

Checkbox For Downloading Files

Anyone have any ideas of how to use a checkbox to select files to download? I have a client that wants to allow users to select from their gallery of photos and then download them. Thanks for any sug…

Using the average in dynamic attributes

This is probably something really simple. I have an average of numbers which currently shows 4.333333333333 how can I trim this down to 4.3 ???

Work with friendly url

Routing has been integrated in Wappler 1.9.0 and now you can easily, visually setup your friendly URLs:

Text Validate Dynamic Action

Why not just use dynamic attributes to hide/disable the button if the field is empty or invalid?

Enable Design or Split view for an include php file

When you create a PHP include file in Wappler, the following is added on the top of the file: <!-- Wappler include--> So make sure you have it on the top of your file and then save and reopen it, th…

Swiper in a modal

You can select it with the picker by clicking on the icon next to the input. Here is what should be added: swiper1.update()

Test for empty query param

Try: <a role=“button” class=“btn btn-outline-primary btn-sm” href=“members/” dmx-class:active="!query.c">All</a>

2 problems with blog insert page

Hi @UKRiggers, Add load image step in the repeat stepa and also add save image step after it. Make sure to turn on Overwrite option, to overwrite the originally uploaded. Both must be before the ins…

Bug Report from Jp_Dahlgren #2019-1-14_14-7-37

OS info Operating System : Windows 6.1.7601 Wappler Version : 1.9.0 Problem description I’ve deployed by Wappler webapp from local dev to an Azure WebApp using MySQL In-App. The forms work fine,…

Database insert by clicking image

Team, Is there a way in Wappler to insert a particular database value by clicking a particular image? Example: Image of Category 1 + Image of Category 2 If user clicks Image of Category 1, a se…

Troubleshooting javascript errors from Wappler panel

Please change: dmx-bind:width="100%" dmx-bind:height="auto" to width="100%" height="auto" on your page. For static values you should use normal html attributes, not ones prefixed with dmx-bind:

Sum and Group By in server action

Please add an alias for the SUM column and use it in the table generator then

Table not shown fully

Looking at your screenshot again, you have wrongly set the filters. It must be setup like this: So two separate groups, for each GET filter (status and part status). This way you can put separate c…

Woocommerce api connect

WOOCOMMERCE SOLUTION I connected to woocommerce ! It works fine !

Image upload - how to create 2 uploads with different sizes

Take a look at a tutorial video below… Credit: Ben Pleysier

Are bootstrap4 glyphicons accessible?

This may help: Search page (or scroll down) for ’ Adding New Icon '.

How to sum a repeater field?

How to sum a repeater field. I know that i can do it using database query. But, I want to show the total price on the same page.

Documentation of App Structure Components

To move me up the learning curve, is there comprehensive documentation of the function/use of all the App Structure Components that are available? Presently I am a little overwhelmed.

Dynamic chart: showing values in percentage

Ok now i get your idea You can return percent values from your server actions. First add your database query, turn the output option off: Then after the query create a setvalue step, call it tota…

Bootstrap 4 table generator column type

Hi Nevil, bind: the dynamic data will be placed in the table cell like: {{data}} inner: the dynamic data will placed in the table cell like <td dmx-text="data"> custom: the table cell will keep al…

Modifying dynamic data generated using App Connect, with jQuery

You need to wrap your jQuery code within a named function and call it later using the static events option - onupdated event. So it goes like: function myFunction() { code here } And then you call m…

Pass a dynamic variable to a javascript function

How Do I Pass a dynamic variable to a javascript function? I want to be able to click a button run a database query get a result and pass it to a javascript function to do something

Focus() an input box on click of a button -- IN Repeat region

i have tried tierleslly to focus() a input box using a a button, it works perfectly without repeat region, however once i have multipe input boxes in repeat region, i can not set focus. have used dmx…

Google maps - adding marker

(Sorry any one who read the original reply, my post now edited as it was wrong) Those settings are only to centre the map on that position, it does not place a marker there You add a marker using t…

Dmx-show not working initially

wekk you want to hide the region when 3 conditions are valid: data is not loaded yet you have items data is being loaded according to Patrick - hasItems() returns undefined/true/false - not loaded,…

Free google sheet Api that can be of use to some

Looks like a db replacement for some.

Multiple conditions for user permissions

You can use ‘IN’ as the operator and then enter a comma-separated list of values. (At least I think this is how it works - using the ‘IN’ operator is a little inconsistent in Wappler.)

Swiper slide with active class repeat id used for detail region

Most component and html attributes can be made dynamic. For example you have loop="true", you make it dynamic by adding dmx-bind: in front of it. So dmx-bind:loop="query.loop == '1'" will set loop to …

Keep a container centered on the page

is there an easy way to keep a container centered on the page in a column as the pages are scrolled in the browser? I have a list detail relationship between two tables and want the detail table, whi…

Insert binding in array

I have this script $data = ' { "codCliente":"000000", "datiSpedizione":[{"idLdv": "{{session1.data.ldv}}","ultimoStato": "N"}], "descrizioneStatus": "E", "postazione": "00000", "tipologiaCliente": "S…

Blank target browser

Well yes, for links it’s always better to use <a> tags. Gotourl is supposed to be used with dynamic events for different actions.

Secondary Text (help) has no area to change text

You can just double cluck on the text in design view to activate the inline text editor

Placing dynamic data as titles on web page outside of a table

Go to where the dynamic data needs to go (make sure that there is a space after the selection) and choose Insert Binding. Alternatively, select the element and choose Dynamic Attributes -> Display …

Generator not retrieving data

After trial and error, finally discovered OPEN IN EDITOR. Which displays the published page.

Making a form field visible when a dropdown select is of a certain value

I’ll show you the code when using two select elements. This dmx-show part is created by going to Dynamic Attributes.

Table cells not clearing

I created tables using the Bootstrap 4 table generator and I am having issues updating table fields when the data changes. for example, if I delete a record and on the form success action reload the …

How to add a column in the table to order the number of rows

I believe if you add a column and give it the dynamic value of $index+1 that will achieve the desired result ($index starts numbering at 0)

Action time

I have this action but I see the notifies for 1 second before goto ! Is it normal ? this is my notifies settings

Dropdown menu in navigation bar doesn't work

I can’t find any details on how to make these work. I put one in and it allows me to enter the items but it doesn’t show the dropdown when I look at it in a browser. Also, are there any good animati…

Add lots' o text without PARAGRAPHification

Wappler 1.7.5 / Pro version Hi, How does one go about adding a bunch of text that contains carriage returns onto a page without the Wappler editor replacing the CRs with a paragraph tag? I’ve tried…

Error in API data base

Remove the repeater, there is no collection in the response. You use the expression api1.data.nome.

PDF export

How to make pdf with Wappler ?

Photography website

Hello, after been playing with basic wappler, i want to try to build my website to sell photos. I would like to use dynamic masonry with lazy load with auto watermark. Is it possible? I saw these …

Can't find Security Enforcer for page in one project

Found out that the page was html. Ok when changed to .php

Added a custom switch control to a form but it is only displaying a checkbox

Hello, The file required to be uploaded is the bootstrap 4 CSS file, if you are using the local version. Or it might be browser cache issue, so try clearing the cache and reload the page.

Frameworks as shown in Dynamic Website In Less Than 2 Minutes? Wappler

Adding App Connect Framework to your page should always be the first thing you do. It adds most of Wappler’s functionality.

Trying to use file upload to insert filename into database field

Hi Rick, This should be done in the update record step. Use the condition field, to tell the update step to insert a value only when a file is selected in the file field:

Wappler Learning Resources

So you want to learn everything about Wappler? Explore its great powers? Sure, we have many resources for you and more are becoming available on a daily base! Get a Wappler overview:

How to Add Google Webfonts to Wappler

Just like you would to any website. This documentation may help you. https://developers.google.com/fonts/docs/getting_started

Unable to connect to remote mysql database

This seems to be an issue with my Ubuntu installation. It works fine using wappler on my mac with exactly the same target and database connection settings. I’ll try a reinstall as I’m starting to see …

On Click Button to URL

Cool, I’ll give it go… Nevertheless, your anchor suggestion works fine too. dmx-bind:href=“update_visitor.php?id={{visitor_id}}” So, you showed me there are two options are available. Thanks!

Pass a value to another page

@Abdulraheem_Al_Zadja, Here’s the tutorial i was referring to earlier: Passing Values Between your Pages It shows how to pass a text input value to another page, using a Session Variable. If you nee…

How to submit multiple rows of a table with checkboxes

I want to submit multiple rows from a table to a server-side action. This should be done by checking the checkboxes of the rows that needs to be submitted, and then the user should press a “submit” bu…

Getting returning brackets after php submit

App Connect is missing from your page, that’s the issue. Add it on your page from the frameworks menu.

Send Email & Insert Data

This is similar to when a user registers for membership. The action steps look like In your case, the reCATCHA and Validate steps are not required.

How to troubleshoot sorting

In the properties panel you will see Inner Text dynamic attribute for each cell. Click the dynamic data icon then click the formatter icon and select default filter

Medium Editor Issue - Layout Corrupted

It seems two CSS files are missing from the page: <link rel="stylesheet" type="text/css" href="../dmxAppConnect/dmxMediumEditor/dmxMediumEditor.css" /> <link rel="stylesheet" type="text/css" href="..…

Using UTF-8 and German Umlauts on IIS

I tried to create a table with a add button and the german text “Hinzufügen”. Her the the Code: <!doctype html> <html><head> <meta charset="UTF-8"> <title>List</title> <script src="../dmxAppConn…

Swiper Coverflow Effect

@patrick Is there a place where I can further set parameters for coverflow in swiper component? In the past before it was in Wappler I could do in my js file like this: coverflowEffect: { r…

Date Picker : How to set Min Year/Max Year

This has been fixed in Wappler 1.7.4 Please check the following tutorial: Min/Max Years Relative to Current Year

Prevent double form submit

It’s also possible to show a spinner in the button, while the server action is executing: Show Disabled Button with Spinner on Form Submit

Searching within a specific folder

The file/directory pattern use glob patterns and are relative to the project root folder. So using *.js would search only js files. use css/* to search in the css folder and use css/** to search in th…

Swiper slide dynamic background image

The code should be: dmx-style:background-image="'url(&quot;' + image + '&quot;)'"

Converting dynamic image filenames in table to appear as images in table

Have a look here Dynamic Attributes If you run into further problems, always check https://community.wappler.io/c/docs first. A good way to learn.

Changing / renaming number to text

I don’t know if will work in this case, but you can use nested ternary operators, eg: status == 20 ? "Scheduled" : (status == 35 ? "nextStatus" : "nextTest") Probably easier to type than enter via t…

How to group by Datafields?

I’m trying to show a User Signup Dashboard, but I get December multiple times. What should I change? I mean now I query user STATUS + USER_REGDATE So isnt that wrong? I mean what if I have no signup…

How to get Json stored in Local Storage and show its full schema in wappler visual design app

Hi All, I have a json string stored inside a local session. i want to be able to view the entire JSON schema for bindings in wappler design studio. The json was stored in local session using another…

Horizontal rules

Hello, That is just an <hr> with custom styles applied. You can add <hr> tags in the DOM panel and style it then via the styles panel: https://docs.wappler.io/t/inserting-common-html-tags/2910

How to extract the numbers from a decimal with the formatter?

No, if it is a form input, the value returned is always string. So just add the character to split it on:

Temporary Login Code

Hello Wapplers I would like to build a membership area but with a secure login process that do not want from a user to create a password, ever. In both scenarios: while registering and creating a …

Calculate total

solved with this code in input text grand total text3.setValue(text1.value.toNumber() + (text2.value.toNumber())) thank you

Dynamic Events in Repeat Region

How to execute dynamic events in repeat region ? For example: I have two input box, input1 and input2 in repeat region When I update value in text1, text2 change in text1 content I apply UpDated D…

Binding form fields to server action

Normally it is best to create the server action first. This will create the $_POST values that will be used when you generate the form using App Connect. However, to answer your question, make sure t…

How to use server-side redirect?

OS info Operating System : Windows 10.0.17134 Wappler Version : 1.7.3 With the new version of wappler I have set a redirect to http://www.facebook.com just to test the redirect function. But noth…

Listing and filtering Json

hello, I am trying to make a page listing all the products and sort them on the fly by a filter, (json). This filter contains a category_id, it is not a “select” but a simple listing of all products …

Password reset page

Here’s Part 1: Password Reset Functionality: Part 1 It explains how to setup the request new password page and the server action which generates a hash, and sends the dynamic link, containing this ha…

24 "easy" steps to connect to a database?

I didn’t like the multiple, multiple steps of the DMXZone connection wizards & I wish, instead of importing the old DMXZone Data connection plugins to Wappler this method got a re-think. 24 Steps is …

Lazy Load in Repeater

Hello Tom, In order for the src to be reloaded on page change you need to use a Repeat Children region and use the identity column as a key: If this field is empty the dynamic src won’t be reloade…

Form update flow

No, that’s not the old DW server behaviors that needed to reload the page so you can see your changes. With Wappler you can reload parts of the page and not the whole page. As it is explained in our…

Outputting data to site using Ajax/JSON

Hi Leon, Actually outputting JSON and feeding dynamic sites with it, is Wapplers primary strength. This is all done with the build-in server side framework called Server Connect, Every action you d…

Modal scrolling

Hello, when Bootstrap 4 modals become too long for the viewport/device, they scroll independent of the page itself. So no scrollbar is required.

How to make time picker

I would like to make start time and end time pickers accordingly like date range, so the end time will be more than start time… so need to do the validation as well. so please help me…

Get multiple categories and show as for example "badge"?

@s.alpaslan ok still trying to get it working. With your solution I need to change complete Server Connect logic, which is complex already. As I’m filtering them and getting back two different queries…

Displaying an image Behind the header Title - any tuto?

Hi helpers :), mmm… I cant find the way to place a background image (code lines) behind my Title : “Your Website” on the Heaer section of the page ? any tutos about this ? …most of what I found onl…

CSS Shapes Tutorial

For anyone interested here is a brilliantly done tutorial on using CSS Shapes. https://tympanus.net/codrops/2018/11/29/an-introduction-to-css-shapes/

File Path not rendered in Wappler?

I try to find a solution for that relative absolute path problem but I still dont get it how to solve it. SO far what I did now is to give a $root path to the project, otherwise its impossible to wor…

Database insert: set value to two posted fields added together

All Global input variables are strings initially. So if you want to do math - you have to convert them to numeric first so in your case it will result in something like {{$_POST.field1.toNumber() +…

Sessions sending me mad

Set the values as Cookies Brian. It will get the job done without exposing the data (in the URL) until you can resolve your Session issues.

Color Transparency

Hi. Have you tried this in Design tab: First scroll bar is for colour. Second is for opacity.

The BIG one. Help needed, please!

Hi guys. Good evening. So, I am stuck on logic for a database source query. PROBLEM 1: I have 2 tables, 1 table holds the “data of the user”, the second table holds his “trust score”. In order for t…

CSV Import skip the first two lines

Hi, I hope you can help me. I have a CSV import working correctly. But I would love if it can skip the first two lines in the CSV file. Best regards Kai

Can I build a dead simple Android App in 2 days?

As I explained, the trial offers everything that the license you selected features. Which version did you select when you signed up for a trial? NOTE: if you are using the “Free Community Version” t…

Date Picker Value Does Not Match Textbox Value

The datepicker needs to also be re-set when you reset the form. Attach a setvalue action for the datepicker on the same event you are using to reset your form on modal hide, so set its value to today…

Height of the flex container

If your page is properly structured, setting cards height to 100% should fix this:

How to handle relative / absolute path with include

I don’t bother with any development environment on my local machine at all, I only use remote. When I need a new site called something like clientsmewwebsite.com I just go and create a new account in…

Date comparison issue

Ok, i see this: EventDate: "2019-01-10" TodayDate: "2019-01-10T10:06:28Z" These dates are in different formats. 2019-01-10 is not greater nor equal to 2019-01-10T10:06:28Z. It is before 2019-01-10T…

How to manipulate output on Server Action based on if / else?

As I understand a Server Action will be provided as JSON output. Now how can I manipulate that Output based on a conditional statement? For example I have a users and they maybe got their PAID status…

Vertical menu in wappler?

@UKRiggers i final got it. On some browsers and phones the font of the logo changed to default This is the right font: Not this: Just converted the font to curves and voila!!!

How to use Unique Key in repeat children?

@DecoresinSrl Ok i have a solution for you. Create a variable in App Structure (leave its name to var1) In the dynamic events of the button you open the modal from, add one more dynamic event - var…

How you handle LOCAL vs LIVE Server?

When you switch the target you need to edit the connection step. We will be improving this in the future updates, where you will be able to define different connection settings for different targets. …

Dynamic Attributes

Hope you guys can help: Select specific “radio” element , then Whole form-group is displayed in a different section of the page / screen: input, checkboxes, text areas . I am not using a database. …

Visual Tools (non-coding) to add simple image rollover effects?

This could just be my own shortcomings because I’m coming at this from a classic Dreamweaver mindset, but are there any simple tools in Wapper for adding hover and click effects to image buttons? Yes…

How to update multiple records

Yes, there is a multi update action available in server connect: Use it in your server action and then use the Form Generator on the page, to generate multi update form: Do not forget to enable …

Scrolling headline text

I would like to add a scrolling text headline to the top of our page limited to one line scrolling like a marquis on a theater. I tried in view animation but can’t create the effect I like, is there a…

Dynamic Header and Navbar

Hi, You can place your server connect instances in the SSI and reuse them on all the pages.

Component equal to datalis

is there a component in wappler equal to datalist? I need it for autocompletion of a text input

Enable Design panel

Enable it from the experimental features menu

How to populate Repeat Children

How to populate imput text in repeat children region with modal box ? I have a modal for select product and I want to populate repeat region with data content in modal Example: I want populate a…

Exporting data using the Folder List action step

I would like to export the list of filenames from a folder. I can create an action with Folder List, followed by Export CSV file - and can create an export file with 11 columns: filename, size, path e…

How to use modal for delete confirmtion

Assuming that you have already created the Server Connect Action Steps, have a look at https://www.youtube.com/watch?v=7dVyEJdsMBA&t=0s&list=PLUjqTJN3byC9kK8YZkmGwjo9nrEipl2yb&index=22 for the client …

Working Google Drive API

Have any of you used the Wappler API extension to query, list, download and upload files on a Google Drive account? Thanks for any suggestions.

Having trouble to upload image with form insert action

You are trying to insert a record when your database field name requires a value. You are probably not sending a value to it.

How to lookup id on table B and output value from tabel B

Hello, I have already tried to find something in the docs. If you have a link, I would be thankful. Instead of showing the ID (1, 2 …) in column, I would like to look it up on another table and outp…

MomentJS Change Language or locale with CDN

If you got momentJS and your Format is English and starts with Sunday like that: Add this CDN for German or any other language from that list: <script type="text/javascript" src="https://cdnjs…

Geocoding gives me back OBJECT, I guess I mixup smth. with array

I’m trying to forward Geocode an adress which is typed into a Input field, and then wanna get back LAT + LON. So far I’ve setup in App Connect: And using this FETCH Schema to JSON result looks …

Sort headers in bootstrap 4 table responsive

solved… and now the sorting works perfect.

Server action not saving, local MySQL, xampp

Of course you should highlight the file. When do you see the error 400? Is it on page load? Maybe you configured the login action wrongly. It must be executed on form submit (i.e. using server conne…

Security login with local xampp server

Hello, I am doing my first steps with Wappler and setup - according to the tutorials/docs - a security with login page. Right now I have defined the following path with project/target: project => C…

HTML5 3d Flip Gallery

Hey! Is this possible in wappler? I had this great DMX DW Extension…my clients loved it. Happy New Year!!

Connect to xampp mysql database, project path & backup

of course …i still had local there instead of project folder. looks like it is working now. but i would have banged my head for eternity finding the solution. thank you

ASP.NET: How to filter a query with URL parameter?

OS info Operating System : Windows 10.0.17134 Wappler Version : 1.7.1 URL filter does not capture passed value … Steps to reproduce Set up href in previous page that has the form of{{OWNER}…

Different number of Database Paged Query results

Hi @DecoresinSrl, Change the limit in the query options:

Database payment Subscription Logic

I’m having a Database with kinda subscription. People pay via Stripe. Now I have two tables: t_payment and t_user. Now for eg. if a User makes a payment for 1 year, then that payment should go into th…

Form with left / right columns flowing as one column in mobile

Hello everyone, Currently, this is what I have on my form: form id=“form1” div class=“form-row” div class=“col” (column left) form input fields div class=“col” (column right) form input fields …

Update form not working How to troubleshoot

Please check this and see what’s the error message returned: Debugging Problems

Query Order Condition

you can set a limit clause use a page query and set limit to 1 then it should be possible

Is there a way to sort or Filter Masonry/Rows?

Hi Freddy, You sort and filter your database query. It affects the front end no matter what layout you are using.

Obfuscate SQL results

Yes that would definitely do it. Just use two queries - for free and for paid users.

Filter multiple Columns via OR?

@Teodor thanx that was it. AND / OR only appears when you have at least TWO. I mean. Makes that sense or not? Haha of course it does. Thanx it works like a champ!!!

Any idea how to get the Stripe Payment Infos and store it to DB?

I’m now doing the stripe integration in my project. As I can’t wait for any extensions or SERVER SIDE API, I’ll just code it at my own. So i guess the process is pretty much simple: Payment button…

Role Concept not clear

Is there a way to put a User Role check on the Action side? I’ve read the articles with some “middle” page which checks the user roles. But Isn’t it possible to put the checks via some variable or …

How to serve a file for mobile

I have an index.html page that has an autoplay YouTube video background. Since iOS won’t allow that to display on a phone/ipad I want to be able to serve an m.index.html version for mobile that has a …

Strange behavior of Navbar

Bildschirmaufnahme toggle nav.mov (3.8 MB) I have questions concerning Navbars: what is the reason of the behavior shown in the movie? how can I change the color of the Dropdowns how can I make a …

How to make multiple cards same total size

@Hyperbytes The columns already have equal heights, so you need to made cards fill their height. Add a class of “h-100” to each card and it will work fine: Also, if you find it easier, you could j…

Call multiple Server Actions?

You can do that with the onsuccess events on the page. On success of x action- run server action y.

Overlay text and button on slide show

I would like to overlay my slide show with some text and a “find out more” button. How do I do that?

How would you DEBUG that message & interpret it?

@Freddy_Blockchain I think I had this error, when using the Image upload, and the uploaded file was larger than 2MB. Nothing gets uploaded above that value, hence the incorrect path. I solved this i…

Equal height cards in a swiper

The solution is actually really easy: Add this in your CSS .swiper-slide { height: auto; } Then add the class of h-100 to the card: <div class="card h-100"> Great thing about flex is yo…

After Many Failures Error Continues

But that’s controlled in the action file as in dmxzone extensions - use the condition field in the update dialog.

Change color and text size in Responsive sides when size change

You can do that using simple css media queries: // Extra small devices (portrait phones, less than 576px) @media (max-width: 575px) { .btn { font-size: 0.75em; // or any pixel value …

How to check % of User Profile completion

Check the code i provided above and replace the db_field values with your real field names.

Load Images Properties : Auto Orient

Auto orient option is useful especially when you are uploading photos taken with some phones in portrait mode. If the option is not turned on, the images will appear rotated when uploaded. So, turni…

Change password fields

Not sure if this doc might help a little for the one part. As far as only updating the record if the user has actually input something it is that should be quite simple by by adding a condition t…

How to make the update form work

Should not be too difficult to make it work without the form generator. Make sure your form tag is set to method="post" and the action is set to dmxConnect/api/youractionname.php Make sure in your …

Approach and center icons

Similar to what Ben suggested, but with using a nav with nav items instead, as from what i see on your screenshot is that you are using the nav element:

Database design users, supervisors and teams

tbid int(11) NOT NULL AUTO_INCREMENT, pckgUID varchar(255) DEFAULT NULL, teamUID varchar(255) DEFAULT NULL, usrUID varchar(255) DEFAULT NULL, tbDate date DEFAULT NULL, tbStatus varchar(2) DEFAULT…

Remove Check from Checkbox

Unfortunately, the checkboxes are not in a form. But, they are in a checkbox group. I just tried setting value of checkbox group to null and it worked! Thanks for the help.

Database Logging

just drop a simple database insert step into the appropriate server action(s) to create a log of the event. I use that method for audit trails.

General database design / code question

When I design a database i prefer to stay away from certain table names and certain column names so in general i would avoid using a column name of id or value etc. on the same subject I avoid using …

How to align a login box to always be in the centre of a page

Trying to create a login page, inserted a container, row(inside), column(inside), display block(inside), form (inside). Now trying to align the form to always be in the centre of the page. I selected …

How to turn the standard Wappler Nav into a Left and Right Mega Menu

So lets start off with the standard Wappler stuff. Create a new page Add - Framework > App Connect > App Connect local Add - Framework > Bootstrap 4 > Bootstrap 4 cdn Add - Container Add - Row insid…

Security Provider Cookie Options

The cookie gets created ONLY when the user clicks the “remember me” check box. Otherwise the login is kept just for the session.

How to Add a Button Column to Table Generator

Hi Nishkarsh, I was just about to paste the link you found. Regarding the Modal confirmations, I found another video on Youtube for an image gallery. This includes details on a confirmation modal. …

Clearing Insert Forms & the dataUrl Preview

Hi JR, Select the image tag, add new dynamic attribute > display > show and for the expression select the file field value. This will hide the image preview when the form resets.

Dynamic value for progress bar

Did you check this link… this is good tutorial for progressbar and you will find how to add percentage

Double Clicking and Saving

What am I saving when I do that? I double click an item, a title for instance and I see the save/cancel buttons pop up. What is being saved?

Problem in mobile view

Remove the height property in #contactus { width: 100VW !important; height: 100VH !important; background-position: center; background-image: url(../images/contact-us-bg.jpg) ; background-re…

Getting double entries in my exported CSV file, and I can't determine why

I have a really simple query that I have exported to a csv file. For some reason I am getting double entries in the end file and have not been able to determine why. Here are the CSV export properti…

Displaying name of logged in user in an include file

If you want to reuse the user details server action, just put it in your include file

Standalone logout.php

Trying to do a standalone logout.php with “Auto Load in” App Connect for my logout Serveraction. But not working. The success Action isnt forwarding anything. And why I dont need to define any Databa…

Proper way to use Include

Hi Freddy, in the includes you just include things which you want to be reused on every page, the include is on.

Query with "not equal" join

It is exactly as Hyperbytes says, you can do it using the LEFT JOIN. SELECT tbl_foto.* FROM tbl_foto LEFT JOIN tbl_relazioni_foto_loughi ON tbl_foto.idfoto = tbl_relazioni_foto_loughi.idfoto WHERE id…

Search By Number

I am trying to set up a table search using a number field but whilst it does search fine the initial results on page load does not show all the database returns.

Listing Files in a Folder

Can we still list files in a folder with Wappler as we were able in DW extension under BS3?

How to populate text input?

Change the field type to text: If you want to use a datepicker there just convert it to a date picker field!

Long Query display without pagination

Hello Everyone, Is anyone can guide me to use the uploaded dynamic data (query) on the page without using the paging. Explanation: For example, I am building an ecommerce store - I do not want to us…

Possibilities of the head section

Found an interesting document about all the head section possibilities for whoever might be interested. https://gethead.info/

Update Form Autoloading Populated Data

I tried everything you guys recommended… no change. Then I finally saw the cause to the pre-population of the form! It was cause by me mistakenly selecting the ‘list server connect’ rather than the ‘…

Insert The Results From Repeat Into An Input Field Value

I would like to the results of a repeat to gather all the email addresses of a staff and put them into a variable. Afterward, I would like to use that list of email address globally that I can just dr…

Mouse Hover Animations on Nav Links

how do we achieve a mouse hover animation effect in wappler. what we are looking to build is the bottom nav bar move hover effect on https://goodbroker.in like this: (left is when mouse is hoveri…

If image link broken...show

Here is a screenshot of it.

Animation event listeners

I am trying to find the event listeners that work with Animations. Is there a way to have on success of an animation finishing to then fire a second animation or set a variable to true. Or even bette…

Check if Response of Server Connect Query is Empty

For anybody in the future who’s interested in this topic - here’s a link to the how-to guide explaining this in our docs: Show a Message when Query Returns No Results

Database: Multiple checked records in a separate table

Thanks for the suggestion @George, Solved it finally Using $value in the insert stage was the answer (as below):

Youtube API woes

Hello Again, Apologies if I am missing something obvious but I am still having a problem seeing youtube data on a page using the API. Just to clarify, I have successfully followed the unsplash tutor…

Server Connect Form Reset

Remove the noload option from your server action. Then - on the edit button you have set onclick > set var value and load server action. That is wrong, you should only use set var value action there …

Lazy Loader thinking

Hi Paul, A lazy load component is already planned and is coming really soon to Wappler

Hide ID Field in Form Generator

Hello @nshkrsh in the form generator you need to set this to type: hidden.

Validation and upload

Thank you Teodor. There was a problem with relationship in mysql. Just last question: where did you find the string you post before?

How can I find number of days in month

Okay but this gives you for the current month: 31 date(‘t’); And maybe you can build a formatter around this.? This gives you the longest „date“ from the current month: date(‘Y-m-t’);

Using the API Data Source with Youtube

Oh Google requires the key as query parameter ( in the url) you should just define it as query parameter and not as header! Now google is restricting you as it doesn’t sees the key. So just move it …

Update a project from the deprecated Databindings to App Connect

Since I am upgrading a website from the deprecated Databindings to AppConnect just posting some quick notes in case someone finds them useful. So follow these steps 1.Fist of all before doing anythi…

How would I be able to do this with wappler?

What I want to create is a staff login and out system to identify the times they work. But I need to be able to view the results by week and total the times up. We close for 1 day midweek, so displa…

Interchanging Use Between DW and Wappler

Hello JR, You should have no issues importing DW sites in Wappler and work on them. However, the query builder and database updater are more advanced in Wappler - they offer options which are not su…

Unable to Set Query Field as Server Connect Filter

Hi, please make sure that in server connect “track” get variable is in lowercase.

📆 Scheduling how to?

Hi Freddy, Yes it needs to be done via cronjob.

Conditional Howto, if x or x then return value or do this

Okay good yes JS Style… What you suggest how to escape my elements properly, when I want to add Fontawesome icons instead of just YES or NO ? Like that: Early years I used " Backslash to escap…

Conditional Region Problem

Thanks, but that’s not the problem… inside the dmx-bind:condition element, wappler does not need the {{}}

How to append a link to a truncated paragraph

What I mean is to add it after the whole truncated text / after the whole tag.

Incrementing cookie value

Well you need to use the ‘to number’ formatter first on the current cookie value, as it is a string. That’s how strings work with the + operator.

Call a Query on selecting an item from a Dynamic Select List

You don’t need to apply any event on the select. Please remove any if added. You do not need the variable on the page as well. Please check the link i sent you - it shows how to filter a query with a…

Issue with setting value in Server connect to field value

Try the following, making sure that the Output for the query is not selected.

Anchor Links on another page

I do think I’m getting it i used ’ services.php#janitorial in hyper link and its working - just got to pretty it up thanks everyone

API sending sms

Hi folks, so what I need to do is query a database for mobile numbers who birthdays are in a certain month (that’s the easy part, no problem there) Here is the issue though, I need to send each numbe…

Printing in Landscape?

It was indeed a BS4 issue. Adding the following CSS style to the page corrected the issue. @page { size: auto; }

Adding Colour to a data table cell

I am creating a risk log in a dynamic table and would like to add a colour to a cell as set from a record field, is this possible in Wappler?

Best practice with ordering, Serverside and App Connect

Whats your experience how you order stuff on left panel withing Server Actions? I mean there are some logic priorities like Connect before Query, or even Auth. I know it depends mostly on projects but…

Nested Repeat General How-To

It’s been a while since I’ve done one of these. I think it was back in the HTML5 data-binding days, lol. I need to do some nested repeat type regions, where I have something like multiple categories,…

How to show hide element in page

If i understand your conditions correctly - you can try this condition: <span dmx-show="datumeind != '0000-00-00' || datumeind > datumaanvang ">{{datumeind.formatDate("d MMM yyyy")}}</span>

Portal to reset AD Domain users password

Hi guys any idea if it is possible to build a single page web app to reset domain users password. Eg. power user open localhost/rdpu enter his login credentials and logs in and select user account…

Best practices in organizing Server Connect actions

I have learned to use a very detailed folder structure for organizing my server actions. Makes it very easy to find what I am looking ofr as compared to a long list of actions. However, I’m not agains…

File upload progress bar

The progress bar component is available in v1.6.1

Toggle class of navigation include on page using browser componant

I have a sidebar php include on a page and want to toggle the active class based on the url using the browser componant. Have tried various like : dmx-class:active=“browser1.location.pathname.endsWit…

Date Picker type

to use the date picker you must use data type char, not date

Easily comment a code block

If you liked that, you will love this

Redirect on success does not redirect

I will did through old code and see if i can find it. I am sorry but i just can’t recall how i got around it off the top of my head. Just out of interest, how are you forming the link, i assume ‘emp…

App Connect Bootstrap 4 Collapse

It will get the collapsed class if you use the action toggle options instead of dynamic events:

Good site to train api

I’m using this site to train API https://reqres.in/ List users easy /api/users?per_page=12 single user /api/users/2 as you pass 2 after the bar?

Problem Connecting to local MAMP Database

I fixed… the solution was very-very simple… the problem it wasn’t with the “weblocal”. Is necessary to remove the SSL certificate from local projects (self-signed from MAMP). Now the db connection w…

OpenRailwayMap API

Anyone can understand how to connect to this API? Looked around but could not locate this info They have a wiki too https://wiki.openstreetmap.org/wiki/OpenRailwayMap Also they mention this pag…

How to decrypt in BS4 Table Generator Results

Hi Chris, I did something similar for a Client recently and Teodor directed me to the solution (using DMXzone Server Data Formatter Crypto Add-on). I’m sure the solution will be similar in Wappler: …

SOAP and REST webservices how consume them in wappler

SOAP services are XML based, so you can’t handle those. REST API’s you can indeed, see: https://community.wappler.io/c/docs/api-and-json

How can I create number

Hi, Create a repeat step, add 80000 as an expression. Inside it add setvalue step with a value of: 10000+$index

Database update Increase field value by one

I have a blog table where i want the “Hits” field to be increased by one every time a post is viewed. Like UPDATE Posts set hits = hits + 1 where id = :$_GET_id What is the best approach to achieve t…

API Endpoint dynamic parameters

Hi Roberto, Check the documentation, it is explained there how to define query parameters. In this case you need two: from_currency and to_currency then assign dynamic values to them.

Errors with "Mixed Content"

Wappler keeps giving this error since updated to 1.5.3. And I don’t know how to solve it

API Data Source needs App ID

The App ID is a unique page/application ID that you need to set under the page App root properties:

Repeat row question

Thanks so much Patrick, that taught me something very valuable I so no have to be inside a repeat to sort an array, I thought i HAD to, like no other option. This opens up a whole new world of possi…

Marker Key in Maps

Hello, you need to enter the marker ID there.

Framework7 Force Geolocate reload on page into view

Framwork 7 question again, but this is very generic and can be used on any page obviously. I have a page that loads into the main view - the page has geolocate tag to run that function. Problem is it…

Correct way for sending POST method via Rest Json Rest API

If I want to use https://docs.algorithmia.com/#call-an-algorithm. They declare their HTTP Input as following: application/json body specifies JSON input data (UTF-8 encoded) application/text b…

Two level submenu in BS4

You can check some code samples in codepen: https://codepen.io/surjithctly/pen/PJqKzQ still i strongly suggest not to use multi level submenus It’s 2018 and there are more elegant ways of presenting…

How to accept only images and allow empty field also

sure 1- add condition 2- add validate data inside the condition

Set hidden value based on conditions

Please try this: dmx-bind:value="((cycletimeinput.value > prdprofile.data.testparms[0].revolutionrequirementmin.toNumber() && cycletimeinput.value < prdprofile.data.testparms[0].revolutionrequirement…

Geolocation with Wappler and an API

I have been fiddling around with the Wappler implementation of their GeoLocation component and here are some additional things to possibly consider. To use the Wappler version of the component you wi…

How to set a default value

Just use the default format when binding the cookie value to the form input value. It should look like: dmx-bind:value="cookies1.something.default(3)" This way, when the cookie value is missing, the…

How do you create a String generator

<dmx-value id="myNumber" value="<?php echo(rand(1000,10000)) ?>"></dmx-value> copy / paste then use in your actions

Fuzzysearch giving no results on Framework7 app

I have a query which returns all my categories and then data-view in order to use fuzzysearch with a search input field. The page my search field is on is a subpage which loads via router componant i…

Form text input filtered on a datalist, AJAX style

<form id="form1"> <input type="text" name="filter2" list="selector"> <datalist id="selector" is="dmx-repeat" dmx-bind:repeat="serverconnect1.data.query1"> <option dmx-bind:optionvalue="ye…

Load local files into slideshow

Hi, I read the images that exist in a folder and append them into the <dmx-slideshow id="slideshow1"> I need somehow to reload the slideshow so it displays these images. I am using the $( document )…

How to view your Live Data in Wappler Design View on a secure page

Confirmed 1.5.3 version has this all working beautifully again, thanks @patrick

App Connect binding data on Framework 7 sub pages

We have some extra code in the app.js for Framework 7 to work with App Connect, you probably replaced all the previous js with the 3.5 version. Add following code where it says ... other parameters …

SQL Server Graph Database Features

Was wondering is there a way to use or add our own queries to use SQL Server 2016-2017’s graph database features? For example from that page the insert command for the graph would look like: INSE…

Folder structure file names

Check the url for the server connect links. They usually fail to associate any of these types of changes.

Adding new fonts

its nothing special in wappler. its standard CSS after you import your font put this in a css file or in the <style> tag on the page. * { font-family: "YourFontName"; }

Deleting record and associated image file

I have a list with sponsors. Each sponsor has a logo img_file which is saved in folder uploadlogo. Now I want to delete the sponsor (no problem), but I also want to delete the logo from the uploadlogo…

Looking for advice on showing "Status Display" for a customer

Looking for some advice and/or suggestions. Something to make you go “Hmmm. ” I basically have a status page for a customer that shows data for several different locations of his company. They will n…

Need to group results from database

Hi folks, I need to filter a database for a make eg, ford - this can be done easily and I know how to do this part. But what I want to do is show the results in 'Select" at the moment I can do that,…

Google Maps Pin from form input fields on page

I have reported a few issues around this in the past but they still seem to remain. The attributes titles are confusing as they refer to map centre, not a .marker. You have ta add a separate marker …

Hide cell value if

Yes it is 1.Select the column 2. Inside the AppConnect UI choose 3.Dynamic Attributes 4.Display 5.show 6. inside the ‘when field’ click the lighting bolt and then pick your value==1 Hope was c…

How to fill datepicker

How to make a datepicker already filled out with {{NOW}} and how to add everytime 5 days to a secondary datepicker which will be filled out? I tried with static value and start date field but no luck…

Favicon - in Wappler

I have not found a Wappler method to add Favicons to our document. How far does Wappler have to go. When I look at what I do in order to get all of the required favicon formats, this is what I finish…

Best practice for Datefield?

Hi Freddy, In your database it is always best to store the date in an ISO format, i.e. what the default mysql date field format is: “yyyy-mm-dd”. Then on the front end you can apply whatever format y…

Working with checkboxes and arrays

Hi there, I have the following task that I want to accomplish. I have three groups of checkboxes When a checkbox of group one in clicked I want the user to be able to click on one of the other two …

Invalid target configuration error when connecting to database

Hi George Yes I did have a extension folder in the “Remote Directory” set to “public_html/New” so that I could upload and test with the new site files in a different directory, this is because the ol…

Wapplers best hidden feature so far!

I just found the best Wappler feature on earth, well at least in my honest opinion. So we all know how wonderful it is that Wappler can display dynamic data right within the design view, well thats r…

Date Picker - dealing with ranges with server connect actions

Hi @Hyperbytes That’s a good question In server connect you need to setup two variables under POST - with suffixes “_start” and “_end”. If your date range field name is date1, the start date will …

Problem with Navbar Collapse coming up behind page elements

Taking a look at your page - yes you are using inline styles. Just select the tag in your include, then add this to the styles panel:

File Upload using Cordova App

Anyone have experience using file input field with Cordova app. Form insert/Update is fine but I get this error when trying to upload file: 2018-10-01 22:23:56.392344+0200 Kwikbuck[5534:514841] [Bor…

Same image repeating 54 times

Your binding is wrong. It points to the first image. Make sure to select the value under the repeat when binding!

How to rendering html code from a text data bindings

Hello Michele, Select the element you want to show formatted data into (let’s say it is a div, or paragraph) - under dynamic attributes, add new > display > inner HTML and bind the value.

Work on new Wappler website build to replace current Dreamweaver site

I want to create a folder on a remote site so I can upload my new wappler site. So the client can review it before we replace his old dreamweaver site. I have used www…/newsite/ in the past and onc…

Saving images to local storage

Still busy with my mobile app Just to confirm, App connect can store data to local storage, but not the images it loads dynamically from my API server? Is there a Wappler way of storing these or sh…

Session variables and site security

You need to add a repeat step after the query. Select the query as a value for the repeat. Put the set session steps in the repeat steps. Now you will be able to bind the data.

Mobile App Redirect when logged/not logged in

Cool, sorted. Was restrict. Appreciate the quick help

SCSS in the Styles panel

If source maps are detected in the generated css file it will use them to map the rules to the correct file. You can then click on the filename in the styles panel and it would open the file and jump …

Can App Connect use hash in url instead of a URL parameter

Is it possible to execute App connect functions based on a simple hash in url like: http://localhost:8008/index.html#apple instead of having to have http://localhost:8008/index.html?page=123 Say I…

Validator Gone Wild?

The problem, I believe was the Bootstrap 3. Once I changed the page to Bootstrap 4, it seems to have locked the fields. Now they don’t move.

Weeknumber in date formatting?

Hi Im a real noob with Wappler so maybe this is easy… Is there a way to format a date to weeknumber with the data formater ? i cant seem to find it ? i find everything except the weeknumber Thanks…

How to make countdown with record count

I am rebuilding a website with a sign-up form. There only 20 beds in a cabin available. In the signup form I want to show how many beds are available, counting down from 20 and stop showing the option…

Google maps dynamic markers

You should just select “template” then, instead of “expression” and the code is: {{field1}} <br> {{field2}} This way you can use any html tag there.

Adding background images

Assuming that you have an overriding style sheet called styles.css or similar, click the container for the background image and click the Styles tab. If there are no style rules shown for the contain…

Connecting to a MSSQL Server 2016

I found the problem. It was a misconfigured DNS. This video helps a lot, for those who have a similar problem:

Can we develop a site from scratch without being connected to the internet?

Yes, i do it all the time, develop locally then upload when finished. This means i can make changes to the development system without effecting the live version then just upload it when finished. Only…

Inline Form Fields

Guys, there is a form-row component available in the form menu. You can insert it and add columns with inputs inside it.

Skip the file upload

I made a page to insert a file into database and upload/resize the image. I finally got it working but if I do not upload an image it fails. How do I tell it to skip if there is no file uploaded (I’m…

Introduce An Older Sites w/ New Pages Crafted with Wappler

Your admin pages can be built using Wappler and Bootstrap 4. There are no issues if your frontend is built using Bootstrap 3.

Google Calendar API

Hi, How can we use google calendar api inside wappler project. creating events, updating, deleting also rendering the calendar inside the application. If there is recommended way to use please let me …

Thumbnail display for Slideshow

How Can I display the thumbnail at the bottom of the slideshow. it is only showing the dote link for transition. I want user to know the image they are clicking for preview.

Mobile App - Server Connect Security Provider

1 step further: Added “Core Data persistent store type = In Memory” to info.plist config. My login executes with success since a notification on success displays that I set up. But a query based on t…

Formatting Currency

At the very end, put .round(2) and that will limit the decimals. You can also use toFixed(2), but that will convert it into a string. However if you are just printing this out on the page, it doesn’…

I have a logic challenge

I have a form that populates an email message using the $_POST.variable. What I want to do is the following: Select a time for a meeting from a dropdown. The meeting timeframe is choice of 8:00 AM,…

Bear With Me As I Reveal My Ignorance

As someone that has used only PHP and small bit of javascript for a few years, I would like to know if there is a resource where we can learn this unique syntax that Wappler uses. The more I work with…

JSON Remote API

Well guys, What about REMOTE dynamic json generated files by php. When is this feature going to be developed? I have a lot of requests for data submitted via api not database.

How can I use returned javascript result to app connect variable

I’m creating agent console (for callcenter). Agents call anywhere and can talk via web browser (Voip) But I want to open modal and show caller info (all caller number stored in database) … I want to …

Displaying Dynamic Images - Best Practices/Design

Worked it out, created a div, added a repeated region and styled the div to fit nicely

Mobile: Java SE JDK version to use

Check this page for pointers: I remember when setting up mine, I had to change to version 1.8 of jdk since that was the one supported on mac for android studio and development environment

Pages Query with repeat to do some calculations

Doesn’t look like it is possible, but I’m just asking. Maybe there is alternative. When one has a pages query and you add repeat action to do some sum, count, etc calculations and you ad the repeat el…

How to set multiple margins in the property panel?

I like the way the bootstrap 4 framework works so I did a small experiment in the codeview and saw how it works. This are the results: class=“col-12 col-sm-10 col-md-6 col-lg-6 col-xl-6 text-justify…

How do multi database updates work

Hi everyone, so a simple question, how do multi database updates work in the background. Example, I have a query that gives 10 results for example, each repeated row has 3 fields in it. I have a mul…

If it can be done in PHP, it can probably be done in Wappler

I am not going to do one of my huge posts for this because I am pretty sure anybody that knows PHP will be able to adapt the concept to what their needs are. Sometimes I have the need to use somethin…

Left side navigation menu

Hi guys any idea on how to get that left navigation menu bar on wappler just like the example below.

Data type for user passwords

Yes, storing passwords in plain text is madness, so many hackers around. Sha256 encryption is set at the server connect end and is really easy to use. Take a look at. https://wapplerunwrapped.online/…

Calculations in dymanic data binding

I see the issue - appears you added the code by hand and this causes the formatter js file not to be included on the page. Please format the data through the UI so that the required js file can be in…

Notifications not working

Yes, you can add manually the CDN to v4 or v5.

Server Connect Actions output data explained

I’m becoming familiar with Wappler and for the main needs are already well under way But I have a doubt. I did not understand the use of these two command. I do not understand when and why they must …

Protecting of Server Connect folders

ah you just need to disable directory listing on your web server. Usually this is disabled I wonder how you enabled it at all as it is a very bad thing to have on a live web site. See:

Delete button with alert

I have a table with all records and for each record a button link to the page for delete record To insert an alert with confirmation request, where should I intervene and how? On the button or on the…

How do I allow/restrict access to a page with multiple Permission names using Database Option

How do I allow/restrict access to a page with multiple Permission names using Database Option(security Provider) For example I want roles Admin and Editor to access Dashboard but not User. Russ

Two Queries to Send Email

Can I have more than one db query in 1 action step that will do separate things? Here’s what I have: !. Query the accounting assistant’s info to whom the email report will be sent 2. Query the data …

Li ul ol or different list

I want to list my all categories and products …or I can’t see it inside the wappler app structure panel when I created it manually. Is there someone to help with the nested list example made with bo…

Data Formatter new functions

Hey Adriano, Just use dateAdd and set a negative number

Problem with simple 1 user login form

ok, got it to work the credentials were missing in the security provider properties. Thanks for help!

Google maps and geolocate

Building a mobile app and just want to know if one can use the geolocate function when packaging app for ios and android? I get it working for browser on firefox and google but not safari. Pointers we…

How to check if there is a file upload needed or not with form submit

Never mind, I found the answer: Make a condition to check if the file field is NOT POSTED: if {{!$_POST.deal_logo}} then … else …

Updating form with Form Generator

Yes, but on your page currently both are using the same server action which you are using to update the data.

Binding data to the page

I do not have the ‘Select App in the App Structure and click the add new component button:’ as explained in the documentation. Any ideas? Succesfully created connection and query,just no options to…

How to extend wappler with php functions

(I’m on the verge of giving up … The documentation really really needs to be more thorough.) Can you please explain to me how I can use a php function as a condition for displaying data. I would li…

Send Email At Submit Insert Action

I would like to send an email to alert secretaries that a new form as has been submitted. Can I attach an action to the Submit button that both inserts data to an exiting form and then sends the inser…

Adding Webfont Files as MIME types to the Web Server

I added some font awesome icons to my page. And I am getting an error that says that fontawesome-webfont.woff2, woff, and ttf are not found 404. When I added BS4 -> minty - It added the font awesome…

Bootstrap Panels Auto Close others on open of 1

Is it possible to set all otther panels to auto close when opening a specific one? My panels are inside repeat so it is not a case of just targeting 1 or 2 panels.

This is how you could swap out images based on browser viewport width

I just spent over an hour fighting with this, so if anybody else needs to be able to find the browser viewport width and then swap out various sized images to reduce load times on various devices this…

Date format on Safari

Safari does not have support for the date input type. https://caniuse.com/#search=date You might be able to use JQuery’s Date Picker: http://api.jqueryui.com/datepicker/

Calculating numbers based on quantity

Well such a condition requires a little more complex calculations like: If you use this as an input value, use this: dmx-bind:value="input1.value * ((input1.value.toNumber() <= 30) ? 50 : ((input1.v…

How can I find duplicate data with serverconnect

I want to list duplicate data via serverconnect then I want to delete them … How can I create this query via serverconnect query builder ? SELECT id, data_datalar.`data`, COUNT(data_datalar.`dat…

Mixing Static Values Form_Cookies.Data

I tried to use static value=“Foreign” and dmx-bind:value=“form_cookies.data…” in the same input type=“radio”; after submitting the form, the value for that field was blank in the database. Afterward …

Ordering fluid and fixed containers

You need to have a flex container to use the order, so your example should become <div class="d-flex flex-column"> <div class="container order-2"> <div class="row"> <div class="col">Place…

Google Map Issues

The issue has been fixed. The Google API key configuration needed the Geotaging enabled as well.

Some expert help needed. -

If there a way to create an automatic email to say x6 people and then mark the date the email was sent. Then I need it to continue through the database and keep selecting x6 email addresses and sendi…

Method of Retaining Form Data

What would be the best method to retain, or be able to recall the data in a form after an accidental refresh or restart, or on purpose for that mater? Would that be a scenario for the State Manager e…

Setup "Remember Me" Cookie

But remember me checkbox does not keep the username and password in the form on the page … That’s entirely controlled by the browser. Remember me checkbox keep your cookie so that when you go back t…

Default file locations

I don’t want the projects files to be saved in C: drive (boot drive). I have another disk drive set up for data. I have moved the data from the default and saved the project in the default location. R…

Proper way to inform the user of error on server action

lets assume that there is a server action with multiple insert in if condition . and on one of there inserts there was a database error. what is the correct way to set an error text and pass it to th…

How to access variables from JavaScript

We don’t provide an interface to access the data directly, but if you want to do it then the app data is accessible under dmx.app.data. I would advice to not change the data directly there, but it is …

NOT IN MySQL Query In Server Action

Hi Guys, Trying to do a NOT IN query. Any advice on how to do this.

Dmx-serverconect and $_POST

It’s possible with just dmx-serverconnect to be able to use $_POST variables on queries. I know it works OK with $_GET, but I do prefer the use of $_POST. I see that dmx-serverconnect-form does it, …

Can we use data binding in input field with type number validations

You can try prefixing the data-rule-min and data-rule-max attributes with dmx-bind: and using an expressions as value.

Pointer needed on how to add a single anchor image that opens multiple images in lightbox

Just do the same and hide the thumbnails you don’t want to show using the display property:

Using A Repeat Inside An Input?

In your server action, just create a query - which gets the emails, add a repeat step after the query (which repeats the query) and in the repeat step put the send mail step. Then bind the recipient …

How to use a single modal to display separate slideshows on same page?

I have four separate slideshows from different sections on the same page, which i wish to display in a single modal. have done something similar in another project two years ago, but cannot get it to…

Focusing a form element on page load

HTML5 has an autofocus attribute (https://www.w3schools.com/tags/att_input_autofocus.asp). In Wappler you can add it using the DOM panel.

Page loader + modal

Is there a way to change the z-index of the page-loader? I must probably check in the css… I have a modal that uploads an image and then closes when done and updated, but the page loader is below the…

How to override CSS defaults in Wappler

Thank you. I finally find the solution with your help. This is how i styled the list-group in my CSS .list-group { display:block; } .list-group-item{ display:list-item; list-style-position: insi…

How to use query output in severconnect

Make the database query with SUM - give it an alias for the conveniance Add a repeat below it - because even if it is a single record it returns an array of records. Bind it to the name of the…

Is it possible in any way to upload to database a displayed image on a page using app connect?

You can save your direct link in the database but you can just auto download and reupload files! This is strictly secured by the browsers as it can lead to serous security issues. The file upload co…

Format Number Question

The Abs() function will do this, eg {{var1.value.abs()}}

Master -> Detail Relationship

If created several pages that are working perfectly using the Master-Detail Relationship tutorial video. Here’s what stumped me: When clicking the row to initiate the display of the Detail data, it a…

4 column 10 row list with repeat

I have 40 checbox . I want to list them 4 coloumn and 10 rows … How can I do this ? Like this ; … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | … | …

Execute an update action on page load

I know I am missing something since this is something very simple but when mind freezes… I created an update action which gets two $_GET varialbles to indicate what to update. What I need is to execu…

Bootstrap form generator

I’m following along in the GitHub how to section and learning how to insert data into my database. I can get the whole way through the generator and create the form but the serverconnectform and form …

How to show already uploaded image

Hello, That’s not how you should be showing dynamic images. Please check our documentation: https://github.com/Wappler/docs/wiki/Dynamic-Attributes#binding-dynamic-image-source

Server Connect Action structure

Teodor discused catch on the DMX zone site. Have you read this? https://www.dmxzone.com/support/23295/topic/61524/

Encryption data (Server Data Formatter Encrypt)

Hi guys… hoping that everyone had a good 15th of August (here in Italy is holiday) I would like to ask you if some of you is confortable with Server Data Encrypt. I have to start to encrypt a databas…

How to refresh data view

how can i refresh the DataView? i tried reloading the data caching in the serverconnet that feed the data view but that did nothing

How to Add a Client-Side category based on MySQL results

From a MySQL database results, on the client-side I want to be able to add 1 additional category on the results table based on the database results. Example: MySQL data “happy”, “glad”, “euphoric” be…

Query Condition Filter only where get var has value

In the Dreamweaver version of Query builder in the where tab one could select an additional field below the field selection that meant it will show all the records but filter only when the condition s…

Data Not Showing Wappler-format on the Web Browser

The data formatting appears correctly in Wappler but the page on the browser does not show the formatting. Any ideas as to why?

Allinclude is not defined when saving

Hello all, Does anyone know what is wrong, I received this when i tried to safe locally “allincludes is not defined”

How to display image in update form

What is the correct way to show an image in my update form and only re-upload if the user change the current one? the image is saved and a name in the database and uploaded in folder

How to clear the file field?

in my form i have a file type field lets say the user choose a file then he change his mind and don’t want to post any file. how can we remove the selected file so it will not be uploaded?

How to reference PHP Variables

I can see some $_SERVER globals in the action steps area but wondered how I could reference said variable. For example, we have a third party solution handling single sign-on which saves a variable a…

Uploads with wappler what am I doing wrong?

I just can’t get this to save in my database or upload a file… Sorry for the length… but I wanted you to see my process and correct my errors where necessary.

How to Add a Period to Data with "Data Format"

I need to add a period to the alphanumeric data but cannot find how to do it under “data format.” This is an example of what I need to do: F3112 -> F31.12 F208 -> F20.8 The period must occur after…

Encrypted SHA256 Hash with SALT - Decrypting

I have a site where almost everything uses SHA256 Hash encryption and the hashes are stored in a database table, I want to allow the user to see their password in its decrypted state. Under Server Con…

Class Toggle on Form Success

Is there a way to toggle a class on a form submit success? Currently I have a class toggle set on the form element itself, dmx-class:was-validated=“state.executing” and it works great 90% of the time…

Link or anchors on elements

Hello everyone. How to apply link or anchors to elements. For example: I have a logo and want to link to another site by clicking on it. Or click a button and open a modal. The modal I already applie…

Deactivate Submit Button

Good day! I am curious to learn how to deactivate the submit button until a form input field has user data entered. Once the data is typed into the field the submit button then appears. Thanks for y…

How To : Pagination creation with bootsrtap4

Hi, I have been trying for days to create pagination with dynamic data. Is there a tutorial I can use. I am seeing tutorials but none for WAPPLER. Any assistance will be greatly appreciated

How to update DataView from JS

i have a custom jquery function to set the value of a search field. however when i set the value with code the DataView do not update. i have to click on the field manually

Dynamic Dependent Drop-downs & Forms

I’m curious as to what’s happening when I have three Dynamic Dependent Drop-Downs, that work perfectly. The problem happens with I wrap them inside a form. When they are placed inside the form, only …

Order of commands

Can anybody tell me if there is an order to command strings. Example: I have a site with a server connect database query that auto loads with the page I have a second server connect database action…

Variables| What are the diffrences?

What is the difference between a “Define Query Param” Variable and a regular variable you can add anywhere. I am trying to make assign a variable to an array. I can create an array variable the “Def…

Loading and displaying a JSON file

Hi, can anyone point me in the direction on how to display a JSON file in Wappler. I basically want to list the contents of the file in a HTML page (I’am builds ing for mobile). Are there any tutori…

Progress bar updates correctly for jpg, gif, png, but not pdf

Maybe the files are too small so the upload goes too fast?

Make Conditional Region Bug (I Think)

I assume the Make Conditional Region on a repeat element allows me to say only repeat this element when this condition is true, in my case i have a repeat from a database query, and i want it to only …

PDF thumbnail and viewer

Probably a silly question but, i have a file upload field that allows .jpg,.png,.gif,.pdf When i upload any of the image file types it shows a small thumbnail that i have set and when you click on it…

Export CSV File from more than a single query

I need to generate a csv file for my application, however the data needs some values formatted before it is written to the file. Here is an example field1,field2,field3.“2018-07-27 11:07:58”,field4 …

Client Side validation on File input field

This is probably just me being silly but… I set up a file upload field that stores the file name and a text field value in my database, i have added client side validation to the input of <input nam…

Is there a better way to do this data formatting

I am working on an application that needs to plug into an accounting system. I accountancy for a business in my country, each company has a different tax or vat year end, so in my case this company ha…

How can I find Last day of Month on Wappler

Hello , I want to create list days of month (for event list)… How can I find last day of month and repeat them please guide me

Create a table through Medium editor

Hi there, is it possible to create a table through the Medium editor? I am working on a project where client wants to be able to create tables inside his copy. Is it possible to add this functionality…

How do I populate a selection element in from with Json Data

My json data has products and each of those products have categories. I have populated this data in a repeat children element. I want to use a select group form element to dynamically filter the pro…

Google Maps dynamic center point

Is it possible to center your google map on a dynamic value? I only see the static option where you either add an address or lat and long. Adding these static values makes it difficult to have the dyn…

Help/Suggestions with data filtering with multiple columns

Guys, need some help or guidance. I have the example of filtering data with text input working https://wappler.io/docs/#Filtering-Database-Query-with-a-Text-Input and have used this several times, bu…

Preloader spinner howto for server connect actions

Does one have to have a preloader tag for every server action you want to run on page? and then set the preloader to show when action is executing? So 10 actions = 10 preloaders?

Contains Is Now In?

Just curious, while I was building a filtered input, I noticed that the choices in Conditions has eliminated Contains. So is In = Contains? – Sounds plausible to me. However, I cannot get the filte…

Serialize and unserialize

I need to insert array results to 1 field like this 1,3,5 etc… How can I do this . ?

Update Records not Working

I’ve built and re-built an update records page at least five times, closely following the DMX tutorial. But I just cannot get the update form to work by populating when I click on one of the repeat re…

Create a passwords dont match functionality

Below you can see how you can create a ‘passwords don’t match’ functionality This is the form <form id="formSubscribe" method="post" role="form"> <div class="form-group"> …

Resizing Multiple Images on Upload

I am following this tutorial: And all is well. My question is that I have to resize all the images to create thumbnails and save large and thumbnail versions of the images. I know how to do that as…

How can I add Tab panel header

Can anyone guide me … How can I add tab panel and tab panel header … I can see only tab panel content … I cant add header for tab panel…

Image backgrounds

I might be missing something and it can easily be done in the code but it would be nice to be able to add image backgrounds to various elements directly in the properties panel - containers, jumbrotro…

Data Formatter for compound interest

Trying to create a math formula for compound interest but need to use to the power of as an operation, is this possible in the current data formatter / data bindings? I can see Math.pow(t,n) in the dm…

Link emails in email field in a repeat table

How do I make an email address link in a repeat table? Been struggling with this for a couple of days… See screen grab - I want the emails to be email links.:

MySQL connect not connecting

I’m trying out Wappler and I am unable to connect to my test database using MySQL odbc I’m using the same information that works in my odbc desktop connection what are my troubleshooting steps?

Google maps 'click on a pin' event

Hi, Have created a Google map with dynamic addresses and it works nice. Just cant figure out how to activate the ‘click’ event for each of the pins. Tried the ‘dynamic’ events from AppConnect UI but …

How to set the value of paragraph dynamically

I have a form with two text fields and a paragraph how can i update the paragraph text when the value of the text fields change? in dynamic event of the text fields there is no paragraph element to …

Shopping cart help

Hi folks, what would be the best way to create a shopping cart with wappler. Need to be adding items to possibly a session (if anyone thinks there is a better way please say) so the products can be s…

JSON and using this data in a table with an app and website

Hi. I wish to bring in data to a table that’s in JSON format. Can you please help me in getting this data in to a table? Once I have this data I want to the have actions on each row in the table IE ca…

Dynamic Form in Modal

I am trying to learn how to add dynamic buttons to my catalog page that 1.) opens a larger view of the image when clicked on and 2.) the "Order’ button opens the page’s modal that includes an order fo…

How to open edit form in modal

Yes with both ways and i can see that the data detail element is faster in loading the the information into the form fields

How to check for empty or not set in $_GET variable from server actions

Yes you can use any of the JavaScript Comparison Operators in app connect expressions.

Conditional attribute inside a repeat

Hi I am trying to figure out how to add an area-expanded="true" only for the first result. Using the $index==0 just cant figure oiut how to code this properly Below is my example <li role="presenta…

Centre Google Map on dynamic data coordinates

I have a business details page on which i have placed a google map based on lat/lng which is stored in the database record for the business. This means the map has only 1 marker How can i centre th…

Multiple upload images to dynamic folder and insert to database

I have been struggling to get this done in Wappler. I finally managed to upload single files and insert them to dbase. But am stuck and depressed on getting multiple images and insert done. Anyone ha…

Trouble creating database connection

I just cannot create the database connection. I read others’ questions and feedback and still cannot figure it out. This are my steps: Connection Properties -> Name: connection1 -> Connection Option…

Bind input checkbox values on a page with App Connect

Hi, how to bind input checkbox (multiple values) on a page with App Connect ?

Use dynamic background image on a div

Hi I want to use a dynamic value for a background image. i am trying to use something like this with no success dmx-style:background-image="/images/activities_main/{{geActivityData.data.query1[0].act…

Mixing Older Bootstrap 3 Pages With New Wappler Bootstrap 4 Pages

I’m concerned about some issues that I ran into when combining older pages with the newer version of Wappler. I tried to update a couple of pages from early 2017 that used the Bootstrap 3 framework by…

How To Handle HTML5 Audio Source?

While converting older app connect bootstrap3 pages, I came across a page that uses html5 audio source code. Do I use the Dynamic Attribute link to set up the src="" for .mp3, .m4a, etc? See image:

Table Generator Question

After using the Bootstrap 4 Table Generator – which worked perfectly – I can’t seem to figure out how to merge two table columns to one. See below (please note that I removed the angle brackets): td …

SQLite working along Wappler database scripts?

How can SQLite be incorporated into the database scripts included in Wappler?

SQL debugging using built-in terminal

I vaguely noticed the built-in terminal was mentioned in the last update, but have only just looked at it. I think it’s a great feature. I usually use a text editor to display SQL queries as they’re …

Mobile menu expanded by default

This is more a bootstrap question, but since Wappler layouts are based on Bootstrap, posting my question here so it might help others having that question except me. Is it possible to have the menu e…

Setup Confirmation and Send Email's Form Contents

I’ve created several email forms on two different test websites and have had mixed success. In all cases, I cannot get a’ confirmation’ or a ‘Success’ to display upon submitting the form. Can anyone d…

How to get the current user id?

How do I get the current user id? For example in a conditional query where I want to show posts in a list if column creator_id = current_user_id

Hash Password LogIn

How can I apply hashes to passwords in login page ?

How To Use LIMIT With Queries

Please excuse me while I reveal my ignorance… Is there a way to use LIMIT when using a query with Wappler?

Site-wide Application

Is there a way to apply a change made to a common element on one page to all the other pages in the site (e.g., navbar, footer or contact info addition or link change)?

File image management, i.e. image processor, etc

I am having difficulty with editing the image after uploading and inserting file data to the database. After trying many times unsuccessfully, I finally went back to DW and Bootstrap 3 and the proces…

SEO and meta tags (frontend)

Hello… how can I put a value from database in the meta tags title/description with App Connect? I’ve tried but it seems that is possibile to load data only from the body. Someone could give me more …

Form Formatting

I have a number of form formatting questions: how do I create multiple select inline checkboxes - each selected to fill in its own dB record how do I create a radio group with only one possible sel…

Open in browser

Hi good afternoon, I’m just trying to get started with Wappler. Unfortunately, the documentation is still very thin. I can not make the preview in the browser. What has to be entered in order to make…

CSS 'Table' Builder?

Here’s a simple question (I hope): Is there a CSS ‘table’ builder in Wappler? I want to create several CSS-designed rows and columns (tables) on a page to hold static data. I certainly don’t want to …

Geo Location: When and How?

In my ever lasting quest to become a Wappler expert I have yet another feature that I can’t seem to figure out what it does or how to properly use it. Anyone used the Geo Location feature or know wha…

Sort buttons for Form Generator

Often I want to rearrange the order of appearance for my form. It would be nice to be able to do that in the Form Generator

Building Multiple Choice Dynamic Checkboxes

I’m trying to build dynamic checkboxes with multiple choices that will insert each checked box in the database. The code will display all the checkboxes from the database perfectly. Also, it will in…

Multiple actions for element dynamic attribute

i would like to see this added please for example hide the element when one of multiple conditions happens

Styles appear locked?

I want to change the background color of my page but when I go to look at the styles it appears locked and I cannot change it. How can I change the background color, or even add a background image if…

Disabling Auto Bootup of Wappler

Just Curious… If I turn off autostart in the System preferences, will this cause issues with using the app? Why did you feel it was necessary to have this set as the default?

Updating DWCS6 Older Extensions with Current Extensions

I have a number of websites built with DWCS6 using older DMX extensions. You say that I can now interchangeably import DW sites directly into Wappler v1.0.2 if they use the newer extensions. How would…

Additional Info When Creating New Project

Suggest that the ‘Create New Project’ icon on the ‘Your Projects’ screen pops up a help note stating a newly selected folder must be empty of any previous Wappler components or problems will occur.

For those having Database Connectivity Issues

This may only be the case for a very small number of people using CDN networks, I use CloudFlare on some sites and on others i use StackPath. I found quite a problem connecting to my databases when us…

Current Date and Time

In the DMX Extensions we have the ability to set and display the date and time. I don’t see a way to do that in wappler?

Re-install Question

If I completely un-install Wappler on a Mac to install from fresh will it also delete all my projects and I’ll have to set them up again? I wonder if some of my issues are due to installing close to …

App Connect Bootstrap 4 Form Generator

Version 1.0.1: After opening the dialog box it requires a Datasource. My Datasource was created in the Server Actions Action Steps. When I click on the lightning bolt to select a data source a dialog…

How can I do includes like the header or footer?

Now that it’s fully released, I’m working on a new project with Wappler but have already hit a problem. I use files for things like header, footer, menu, etc. and then include those in the pages. How…

How to add a simple link to a simple button?

I have a button that I simply want to add a link to … does not appear to be a way to add a link to a button. Not even a way to wrap the button in an anchor tag in the DOM Tree. Only insert after. I w…