getCurrentRecord always brings data of the first row
Table: Customview, user can only list. Designer: At the beginning of a row I added a button. In the Server event I use $record = $button->getCurrentRecord(); $id=$record["id"]; to get a table field...
View ArticlePrefill Form via URL Parameters
Sometimes it is convenient to prefill forms via URL so that the user has less data entry and you do not have to make multiple versions of the same form. Example Use Case: 1. A user is on a page listing...
View ArticleCaching API Results
Is there a way to cache API results, perhaps to the database? Some APIs don't change much or are updated on set schedules (daily, for example). Constantly pinging the API for duplicate requests adds...
View ArticleSort Data with a Date Picker
I have a really simple list form select F1,F2,F3 etc From Table Where date = Curdate() The data is not displayed in the data. I simple want to have a date picker on the page somewhere to allow the user...
View Articlegetting JSON error when using Field Events
I am getting the following error on a field Events handler: pageevents_viewbodyupgradecal.js?41_1588949293:140 Uncaught TypeError: Converting circular structure to JSON --> starting at object with...
View ArticleAES 256 encryption
I am trying to get a vb.net program using the openssl implementation to be able to read what phprunner encrypts. The issue I'm seeing when setting phprunner to encryption code-based 256bit aes the max...
View ArticleImporting Error
Hi All, I'm trying to import some data into my app via a tab delimited file and I have a column that contains LastName, FirstName. I can't get the import to work because that column contains a comma,...
View ArticleExternal API in a custom buttom
Hi I'm using PHPrunner 10.4 for a customers loyalty project that uses APIs to communicate with another app. The problem is that I have a case where once a custom button on a products list page is...
View ArticleREST API
Hi, guys. Does somebody have an example of how to create a PHPRUNNER project_A with REST API and another PHPRUNNER project_B that you pull data from project_A from project_B using REST API in both...
View ArticleInvalid Login
I am having issues with creating a database user login. Everything was working fine until I created a new project. If I create a new project and in Security create a Database Login, if I try and use...
View ArticleSave button missing when using in-line edit from a master view
I have created a master/child page everything displays properly the issue comes when I try to do an inline edit on the record. The list that is displayed is off of a custom view and it only updates 1...
View ArticleOther 2 factor Login services
While phprunner has 1 2fa option it would be of great use to have the ability to use others Like Google or Authy. Using twillo can be expensive for sites that operate on a little to no budgets. I build...
View ArticleUsing Security API outside Main Directory
How do you access the Security API (or otherwise check who is logged in) outside the PHPRunner directory structure? For example, if the PHPRunner generated script is in the /dashboard subdirectory, how...
View ArticleAuto Refresh Edit Page when Popup edit of child record closed
Does anyone know how to make an edit page auto reload after a child edit page is saved / closed? The child record auto updates a field in the master edit page and so I would like to reload the record...
View ArticleBCC in RunnerMail
Hi, Can somebody confirm if the bcc works in the runnermail function? Emails are being sent just fine but bcc no. I am using the settings below(as in documentation). $ret=runner_mail(array('to' =>...
View Article[SOLVED] Before Display on edit popup page getting fatal error
I am running a simple query. I have verified that the query works If I echo the result but using echo causes a sever error and the popup page doesn't open. This is my Before Display code: $rs =...
View ArticleIssues with getNextSelectedRecord()?
Has anyone had issues with getNextSelectedRecord()? I'm following the example in the documentation, "Email selected records", "How to send an email to a predefined address". The XVar object simply will...
View Article[SOLVED] Sending an email when a value is changed
I'm looking for the solution for my project and haven't found anything right in the forums yet. Maybe someone has an idea. In my project a table has (among other values) a value with an ID ( file...
View ArticlegetMasterRecord() Question
I'm working on a field (OrderPayments_Payer) event with the code below in the server and client after sections that is on a details page of my Order Form main document. I'm looking up the client first...
View ArticleChange custom button icon at runtime
Hi I want to create a dummy button just to show an icon and change icon based on a field called status. status could have values of 1,2 or 3 then I want icon1, icon2 or icon3 displayed depending obn...
View Article