• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How to set value for hidden field?

How to set value for hidden field? 5 years 1 month ago #39937

I have multi-page form and a few hidden fields.

My hope is to be set the value of one of the hidden fields based on the selections in several previous questions.

The form is for a publication reprint request form. On page 1 of the form, I have two questions:

1) IntendedUse : a checkbox field with 8 options. The first 4 are related to Education purposes.
2) IntendToModify: a radio field with two options: Yes and No

My hidden field is called AutoApproved

I want to populate AutoApproved with the value "This request was automatically approved" if:

IntendedUse is one of the first four options AND IntendToModify = No

And populate it with "This request requires manual review" if the condition above isn't true.

Is it possible to do this and have the default saved into the AutoApproved field?

If so, can anyone provide a detailed solution that I can implement?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!