SIERRA
Members-
Posts
84 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
SIERRA's Achievements
Full Member (4/6)
8
Reputation
-
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi @da² Thank you very much for your inputs. I used a session variable and updated it as you suggested. It works as expected. If we find an alternative solution to resolve this, it would be greatly appreciated. Thank you -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi, Thank you for your suggestion. We have tried your code, and it is working well for the repeater fields. However, one issue we are facing is that if a repeater item has an error, it should be opened by default at page loading. Unfortunately, it is not opening, and we need to manually open and view the error. Please find the screenshot attached and our coding .Could you please possibilities to fix this? Thank you. Code in ready.php file $wire->addHookAfter("Inputfield(name=test1_repeater)::processInput", function (HookEvent $event) { /** @var InputfieldRepeater $inputfieldRepeater */ $inputfieldRepeater = $event->object; /** @var InputfieldWrapper $wrapper */ foreach ($inputfieldRepeater->getWrappers() as $repeaterItemId => $wrapper) { /** @var Inputfield $itemField */ $itemField = $wrapper->getByName("test_name_repeater$repeaterItemId"); if($itemField && $itemField->value == ''){ $itemField->error('Custom Message'); } } }); -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi, Can anyone please help? Thank you. -
SIERRA started following How to show the custom error message below the Inputfileds?
-
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi, How to add custom validation to the field 'Test name' (inside the repeater) and display its error message similar to 'Title' field. Please find the screenshot and suggest. Thank you. -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi We tried using this hook method "$this->addHookAfter('Inputfield::processInput', $this, 'validateCustomField');", Using this we can able to show the error messages in the repeater field. However, we need to show the error message below the respective inputfield in the Repeater. Is there any hook methods to achieve this? Thanks for the support and we will avoid duplicate questions. -
How to show the custom error message below the Inputfileds?
SIERRA posted a topic in General Support
-
How to use values from another page in admin panel
SIERRA replied to SIERRA's topic in General Support
Hi @ngrmm Thank you so much. Your information and reference link helped to me. it is worked perfectly.- 2 replies
-
- 2
-
- reference
- inputfield
-
(and 3 more)
Tagged with:
-
Hi, Please find the screenshots attached. We have a repeater field on the test1 page. On the test2 page, we would like to select values of titles created in the test1 page. Please suggest. Thank you.
- 2 replies
-
- reference
- inputfield
-
(and 3 more)
Tagged with:
-
Hi, Any updates please?
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
I found the problem. When I load the website using localhost, it works fine. However, when I load it using the IP address, it does not work. I want to run the website using the IP address. Is there a solution for this?
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
Hi @DV-JF I have installed and configured Wamp server for the development source. It downloads something when I try to open the URL. Thank you. No
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
We are using XAMPP local web server https://www.apachefriends.org/
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
Hi, Thanks for your help. Even after commenting out lines 194 and 195, it still didn't work. Please find a screenshot of what issue I facing now in the incognito window. Could you please suggest any other options that I need to check? Thank you.
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
Hi We need to validate the input fields of the repeater item in Process Wire Admin Page. Currently we can be able to show our custom error messages on page beginning and repeater item field beginning (Please find the attachment). How can we display our custom error messages below the input fields of the repeater item (Similar to Process Wire Error message). Please suggest?
-
- custom error messages
- error
-
(and 3 more)
Tagged with: