• 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: Changing hidden field value dynamically

Changing hidden field value dynamically 12 years 5 days ago #17443

Hi,

I want to change a hidden field variable depending on user field options.
Radio Group: Name: printed
radio1: no
radio2: yes

if its yes then a hidden field appears(which is a drop down menu)
Drop Down Select: Name: fromstore
option1: select from
option2: city1
option3: city2
option4: city3

My hidden field is:
name: hcardnumber


Now what I am looking for is if the user selects printed == no then to go and open a text file named all.txt get the code on the first line and pass it to hcardnumber value and delete that number from the text file.

If the user selects printed == yes then to check which city he has selected and go to the specific txt file (city1.txt city2.txt or city3.txt) get the code on the first line and add it to the hidden variable hcardnumber (of course delete the code in the specific file) and then add all user fields to the database.

Any help?
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!