Advanced Search

Search by Keyword
Search by User Name
   

Search Options

Find Posts from
Sort Results by
Jump to Result Number
Search in Categories

Search Results

Searched for: show hide
11 Jun 2024 09:20

andreic

Hello,

The simplest solution for this scenario would be to add a hidden field to your form that has the default value set to "Pending", then use the "Submissions Directory" menu item to allow only super administrator level users to edit the submissions and change the value of this hidden field.

Another option would be to add a dropdown field to your form with the three statuses and use a custom script in "Scripts called on form display" that will check the user group the current user...
Category: RSForm! Pro
13 May 2024 10:31

RPPEO

Actually 2 ideas, the first...

Fieldsets/Sections: This would be the main container that holds rows and columns. This would allow form designers to style a section within a form to allow it to stand out from the rest without needing to manually edit the form. Advantage 2 is that conditional fields could be used to show/hide a section based on conditions.

Form designer: The layout and logic used by Yootheme Page Builder could be used to layout RSForms. A side panel where you layout the sections...
Category: RSForm! Pro
06 Feb 2024 14:56

willy.wolters

I made a workaround but I was wondering if there is a more elegant solution.

I have set an extra checkbox on the form with only one item and additional attributes: style="display: none" and readonly=”readonly”. So this field is not visible. (you can't use a hidden field in conditional fields ?!?).

In PHP scripts - Pre-processing next statement:
if ($val[-PLidnr-] > 0) { $val[-P-] = 'N'; } else { $val[-P-] = 'Y'; }

In conditional fields an extra test on field 'P' to show/hide other fields.
Category: RSForm! Pro
03 Feb 2024 11:19

willy.wolters

I have a script that autopopulate the fields of a form. But depending on the data, some fields are not wanted.

Wat I want to achieve is:

if ($val[-fieldX-] == 'yes') { //=== hide fieldY ====//; }

Is this possible and how to do this?
Category: RSForm! Pro
26 Dec 2023 16:33

elliotwebdesign

thanks. is not working though.
try also to reduce it to:

<script>
function updateFieldVisibility() {
// Get the reference to Field 4
var field4 = document.getElementById('field4');

// Check if Field 3 is above 0.5 and less than 0.75
if (field3Result > 0.5 && field3Result < 0.75) {
// Show Field 4
field4.style.display = 'block';
} else {
// Hide Field 4
field4.style.display = 'none';
}
}
</script>

since the field 1 and 2 division can be simple done with an rs form calculation....
Category: RSForm! Pro
26 Dec 2023 11:51

iceferret

Without testing I can't gurantee it will work seamlessly but try this function
function updateFieldVisibility() {
            // Get the values of Field 1 and Field 2
            var field1Value = parseFloat(document.getElementById('field1').value);
            var field2Value = parseFloat(document.getElementById('field2').value);
 
            // Calculate the result of Field 1 / Field 2
            var field3Result = field1Value / field2Value;
 
            // Get the reference to...

call...
Category: RSForm! Pro
31 Jul 2023 12:18

iceferret

You can do it with javascript and a hidden field 'expiryDate' to contain the date that the form should expire. Her's some code to show a notification and a message under the disabled submit button
First create the hidden field and add a date in the past for testing like 2023-06-30

Next add the following javascript to the css/javascript section
<script>
document.addEventListener('DOMContentLoaded', function() {
  var expiryDateField = document.querySelector('input[name="form[expiryDate]"]');...
...
Category: RSForm! Pro
25 Jul 2023 20:15

a2zcs

Pretty simple form. I've got a drop down with 6 options and need to have 2 or 3 different fields display based on the option chosen. The fields are showing constantly as if no condition has been set to hide them.
RSForm Pro 3.1.11
Joomla 4.3.3

Any thoughts?
Category: RSForm! Pro
21 Jun 2023 15:53

bob3

Thanks iceferret -

I'll give it a try and let you know how I do!
Category: RSForm! Pro
21 Jun 2023 07:13

iceferret

I have something similar which changes styles and enables or disables various options in a dropdown field which is called using window.onload so is similar to what you are asking for. Try this which is called the same way so should evaluate the initial state of the fields and update hidesend when the input fields change. You'll need to change 'field1' and 'field2' to the actual names of your fields in the getElementById calls.
// Function to evaluate the fields and toggle visibility of...
Category: RSForm! Pro
14 Jun 2023 12:42

bob3

I have a form with two donation payment fields. One is prepopulated with 80.00.

There is a hidden "Totals" field that adds these two fields.

Then there is a Free Text field titled "HideSend". This field obscures the send button.

What I want to happen on display is if the "Totals" field is 79.99 or less the "HedeSend" field appears.

End result is that both fields need to add up to at least 80.00

I need a JavaScript that will evaluate on field change. Any ideas?
Category: RSForm! Pro
11 May 2023 17:17

joe.sonne

I have a payment form that has an administration fee that is required in addition to whatever else is purchased. I made this a required field and have it check-marked by default. Is there a way to simply make it mandatory without requiring it to be checked? It needs to be shown on the form but right now a person could uncheck it. How should I go about it?

The field is a 'Multiple Products' field. Someone suggested to me to hide the field and simply add another text field that just says a fee will be applied. Is this possible?
Category: RSForm! Pro
02 May 2023 23:19

rakeshy

To make it more easy for you, here is my latest updates on the codes with the RSform Layout Bootstrap 5.1.3 version

Create this subscribe.php file and add it to your template folder inside html>com_rseventspro>rseventspro directories
<?php
/**
* @package RSEvents!Pro
* @copyright (C) 2020 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/
defined( '_JEXEC' ) or die( 'Restricted access' ); 
JText::script('COM_RSEVENTSPRO_TICKETS');...

Create this custom.css file and...
Category: RSEvents!Pro
19 Apr 2023 07:58

iceferret

I think you need to change the display property for the field you want to hide from 'display' to 'none' or if the selected index in the age1 field is 3. Opposite way round to show it if 3 is selected,
something like
if (document.getElementById('age1').selectedIndex = 3) {

document.getElementById('conditionalFieldName').style.display = "none"; //to hide
document.getElementById('conditionalFieldName').style.display = "block"; // to show
}
Category: RSForm! Pro
15 Apr 2023 15:46

fisette

Hi.
I have used the RS Form Pro to customize the registration form.
But now I need to know how to show/hide the field from the RSForm on the user edit profile page at the front-end and back-end.
prnt.sc/2tWEvm2wMhzg
And how to re-order or show/hide the field on this form? prnt.sc/2tWEvm2wMhzg
Thanks
Category: RSForm! Pro
Displaying 16 - 30 out of 404 results.