Jump to content

Fieldforwarder, Strings & Checkboxes


jcbktb

Recommended Posts

Hi all,

 

I'm hoping someone familiar with the fieldforwarder script can let me know if this script handles strings.  I've created a multi-page form where all the values entered are shown on the final screen before submitting to MySql.  On one of the forms there is a checkbox section and I have not been able to get the answers to appear on the final page.  I've been using the fieldforwarder script for all the other fields and it has worked fine.

 

I created the following:

 

<?php

$strAmenities="";

if(isset($hidSubmit)){

$count=count($cbamenities);

for($i=0;$i<$count;$i++){$strAmenities="$strAmenities$cbamenities[$i],";}

}

?>

 

Will this not work with the fieldforwarder script? 

 

I was trying to stay with one name for the checkbox, but I think I'll have to go and use multiple names to make it work, unless someone has any ideas.

 

Thanks in advance.

 

Joe

Link to comment
https://forums.phpfreaks.com/topic/130441-fieldforwarder-strings-checkboxes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.