Search found 174 matches
- 16 Feb 2022, 21:06
- Forum: Discussion
- Topic: Capture Stripe Webhook Data to Entity
- Replies: 2
- Views: 391
Re: Capture Stripe Webhook Data to Entity
Webhook's usually sent in form of JSON and you can catch the object by PHP, for example: $wdata = file_get_contents('php://input'); $wdata = json_decode($wdata); Next, you just have to sort out which data to insert into relevant entity table. Maybe you can ask Stripe for php code example to use, the...
- 16 Feb 2022, 20:26
- Forum: Discussion
- Topic: Mysql Function Case filter by date
- Replies: 5
- Views: 284
Re: Mysql Function Case filter by date
I think Sergey's hint is pretty clear, for the date part, you can write this way:
I'm not commenting the CASE or IF condition, I don't understand the context.
Code: Select all
FROM_UNIXTIME([900],'%Y-%m-%d') BETWEEN '2022-02-01' AND '2022-02-28'
- 16 Feb 2022, 07:29
- Forum: Bug Report version 3.0
- Topic: Unique validation not working on subentity form edit
- Replies: 4
- Views: 1600
Re: Unique validation not working on subentity form edit
Yes, it works as expected now.
Thank you, Sergey.
Thank you, Sergey.
- 15 Feb 2022, 12:42
- Forum: Bug Report version 3.0
- Topic: Unique validation not working on subentity form edit
- Replies: 4
- Views: 1600
Re: Unique validation not working on subentity form edit
I use v3.0.1
The same result on demo.
The same result on demo.
- 14 Feb 2022, 19:23
- Forum: Bug Report version 3.0
- Topic: Unique validation not working on subentity form edit
- Replies: 4
- Views: 1600
Unique validation not working on subentity form edit
Steps to reproduce (lets use the pre-made entity Projects and Tasks): 1. In Entities List, make the Tasks' Name unique. 2. Create nested entity form on entity Projects for the Tasks. Set the fields display "In a new window". 3. Go to the form, add at least one project record and one task ...
- 15 Dec 2021, 11:20
- Forum: Discussion
- Topic: selector for focus event
- Replies: 4
- Views: 386
Re: selector for focus event
Or this is what comes into my mind
Code: Select all
$('#fields_1237_chosen').click(function(){
if(!$('#fields_1237').val()){
//Say you want to pick "Contractor C" first time the user clicked it
$('#fields_1237 ').val(21).trigger('chosen:updated');
}
})
- 15 Dec 2021, 10:58
- Forum: Discussion
- Topic: selector for focus event
- Replies: 4
- Views: 386
Re: selector for focus event
Yes, that's what I meant with the pseudo select element. The select #fields_1237 is hidden, the wrapper #fields_1237_chosen from chosen plugin that display the choices doesnt receive focus. So the most possible scenario is to directly change the value as the form opens, not when it receives focus. /...
- 14 Dec 2021, 18:15
- Forum: Discussion
- Topic: selector for focus event
- Replies: 4
- Views: 386
Re: selector for focus event
Try with id selector, not class //element's id is fields_1237 (with "s") $('#fields_1237').focus(function(e){ //do some stuff }); If you refer to normal select element, I think that should be enough to trigger focus event. But for pseudo select element like those in multi select, it's not ...
- 10 Dec 2021, 07:18
- Forum: Discussion
- Topic: API Insert Error
- Replies: 1
- Views: 235
Re: API Insert Error
Where do you build your array, PHP, JS, or any third party? To me, it's more like JSON format (semicolon, curly braces), but not valid though. //PHP array format (short) ["items"=>[ ["parent_item_id"=>"651","field_3434"=>"myemail@gmail.com"] ] ] //JS...
- 09 Dec 2021, 14:39
- Forum: Bug Report version 3.0
- Topic: Database Error: 1146
- Replies: 7
- Views: 503
Re: Database Error: 1146
You can see the docs here https://docs.rukovoditel.net/index.php?p=63.
There are some new tables in v3.
Just access the related php file from your current instalation to run the query or you can copy the query and use phpmyadmin to create the tables.
There are some new tables in v3.
Just access the related php file from your current instalation to run the query or you can copy the query and use phpmyadmin to create the tables.