• 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: Form second submission and Hidden Field

Form second submission and Hidden Field 12 years 7 months ago #14829

  • caseyd
  • caseyd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
RSForm v1.0.6

It seems that when a form has been submitted, but was incomplete, it is re-displayed with indications on fields that had the erros.

Problem is, if there were hidden fields in the form, the values are not carried over in the form when it is displayed the second time..... it works properly if the field is a text type field, but same field doesn't work if set to hidden....

any ideas?
The administrator has disabled public write access.

SOLVED: Form second submission and Hidden Field 12 years 7 months ago #14831

  • caseyd
  • caseyd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I moved this code to line 143 (before the 'switch' statement in /components/forme.html.php

if(isset($_SESSION[$row->name])){
$row->default_value = stripslashes($_SESSION[$row->name]);
}

it was only located in the 'text' type field case statement
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!