Search found 486 matches

by Didou12
10 Jun 2023, 12:46
Forum: Bug Report version 3.4.4
Topic: Php warning - Ajax field in form
Replies: 6
Views: 293

Php warning - Ajax field in form

Hi, I work with an ajax field in the form, and I had this error (maybe it's my fault with my php code, don't know, I just had this error 3 times at the same moment) : 2023-06-10 04:17 USER Warning Trying to access array offset on value of type null modules/dashboard/actions/ajax_request.php(109) : e...
by Didou12
10 Jun 2023, 11:26
Forum: Discussion
Topic: [SOLVED] Php cached variable for ajax field in form
Replies: 2
Views: 62

[SOLVED] Php cached variable for ajax field in form

Hi, I have a question, I use a big ajax field for a lot of verification, but for one I would like to stock the data in a php variable (I need to do a sql request to get the value) because it is like a constant for the current form. I can use another ajax field, but I don't want because after that th...
by Didou12
10 Jun 2023, 09:22
Forum: Discussion
Topic: Calling different subforms depending on the value of a field
Replies: 1
Views: 100

Re: Calling different subforms depending on the value of a field

Hello You may be able to create two subform fields, hide them (in the form), modify the JS to get input change from text fields and show the subform field. If the text field changes, hide the subform field, but maybe there is a issue if records already are added (I don't know how subform works : the...
by Didou12
10 Jun 2023, 08:25
Forum: Discussion
Topic: Making changes to display global
Replies: 7
Views: 222

Re: Making changes to display global

Hi :)

Can you provide some screenshots, and what video/link ?
I'll try to help you out.
by Didou12
09 Jun 2023, 21:11
Forum: Discussion
Topic: Strip Tags from Tab Name in Public Form
Replies: 9
Views: 214

Re: Strip Tags from Tab Name in Public Form

Ok maybe you can try the opposite.

Remove <center> from the code and try this :

Code: Select all

$("h3.form-title").css("text-align", "center");

Now, center is applied directly by JS on the tag "h3" which contains the text.
by Didou12
09 Jun 2023, 10:11
Forum: Discussion
Topic: Strip Tags from Tab Name in Public Form
Replies: 9
Views: 214

Re: Strip Tags from Tab Name in Public Form

Sorry, my previous reply is about the "tab" in the form, not the tag or the tab in browser :lol: :roll: Maybe try : $(document).ready(function() { var pageTitle = $("title").html(); pageTitle = pageTitle.replace(/<center>/g, "").replace(/<\/center>/g, ""); $(&...
by Didou12
09 Jun 2023, 04:18
Forum: Discussion
Topic: Strip Tags from Tab Name in Public Form
Replies: 9
Views: 214

Re: Strip Tags from Tab Name in Public Form

Sure

In the JS box for the form try :

Code: Select all

$("#form_tabs").hide();
by Didou12
09 Jun 2023, 00:39
Forum: Discussion
Topic: Strip Tags from Tab Name in Public Form
Replies: 9
Views: 214

Re: Strip Tags from Tab Name in Public Form

You can use JS to hide it.