The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Checkboxes+text field side-by-side? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Checkboxes+text field side-by-side? (/showthread.php?tid=149)



Checkboxes+text field side-by-side? - Bryn - May 13th, 2009

Dear friends,
I'm working on a fairly complex form that includes a long list of 36 (!!) checkboxes, each one with a text field on its side:

[Image: tabella.jpg]

As my client would like to edit each checkbox+relative field at the same time, and he would like to keep them syde-by-side as in the online form, does anybody know how can I configure/modify the field option or the main form, so to keep those checkbox+text field couples aligned on the same line?

Please note that for the moment each line in the original form is coded as follows:
Code:
<tr><td class="answer"><label><input type="checkbox" name="esami_medici[]" value="markers_hbv" />Markers HBV</label></td><td class="answer">&nbsp;&nbsp;Costo: <input type="text" name="costo_markers_hbv" size="8" maxlength="15" value="" /> &euro;</td></tr>

Any help would be greatly appreciated!

Diego


RE: Checkboxes+text field side-by-side? - Ben - May 14th, 2009

Hi Diego,

I've been thinking a LOT about this: I needed exactly the same thing recently (well, the option to have a custom group of fields on a single line), but right now the code just doesn't support it.

I've mapped out a Custom Fields module, but to be honest it's pretty huge and I won't be able to work on it for some time.

Right now it's simply not possible to do this... (I HATE saying that!).

Sorry, Diego.

- Ben


RE: Checkboxes+text field side-by-side? - Bryn - May 27th, 2009

(May 14th, 2009, 6:45 PM)Ben Wrote: Right now it's simply not possible to do this...
In that case, my client is wondering if there is a way to show - on the form entry edit page / client side - only the entries that have been originally filled with data, so to reduce the number of fields shown on the same page. Do you think that this may be a viable solution?

Thanks for your help


RE: Checkboxes+text field side-by-side? - Ben - May 30th, 2009

Hey Diego,

Sure, something like this should be possible. Have you looked into View filters at all?
http://docs.formtools.org/userdoc/?page=view_filters

This lets you restrict the actual submissions that get listed in a View. You could add one or more rules to a View that prevent submissions showing that don't have empty values in certain fields. Is that something like you had in mind?

- Ben