Mail
Thursday, March 11, 2010 Forum   Search
Register

Login

English
Deutsch
Forum
 
ForumForumhelferlein_Supp...helferlein_Supp...helferlein_Form...helferlein_Form...Default Value: CheckboxDefault Value: Checkbox
Previous Previous
 
Next Next
New Post
 6/4/2009 11:22 PM
 
Default Value: Checkbox  (United States)
 Modified By Brett Conlan  on 6/4/2009 10:24:00 PM

Hi Michael.

In the DNN Form and List module (the old User Defined Table project) for which I do some testing/documentation, we have a Default Value setting for most column data types. One I especially like to use is Default Value TRUE for checkbox item type (data type True/False in Form and List). Would you consider adding the Default Value setting for Checkbox in a future rev. of helferlein_Form?

New Post
 6/6/2009 1:22 PM
 
Re: Default Value: Checkbox  (United States)

Oops. I missed the fact that the setting 'Value(s)' field will both (1) allow you to designate a range of possible values for the field, and (2) set the Default Value - at least in the Type: Send Copy column/item.

That column/item Type: Radio Button has the extra setting 'Selected Value(s)' led me to believe that setting was missing in Type: Send Copy. All set with this understanding, Michael; thank you.

New Post
 6/6/2009 2:07 PM
 
Re: Default Value: Checkbox  (United States)

Michael,

Is there a way I could HIDE the Type: Send Copy, Value(s): TRUE - so the form user receives an email without choice? I want to be sure the user does NOT uncheck the Send Copy checkbox.

This is a situtation where the form is more like a service request, and the user should have a copy of the request. The request may be used as confirmation in a future communication.

New Post
 6/8/2009 8:40 AM
 

Brett,

you can do this using a template for the item, eg

[PENCIL]<div style="visibility: hidden;">[FORMITEM]</div>

Do not hide the pencil! (Otherwise you won't have a chance to edit the form item, except directly in the database...). Please be aware that the default rendering (if nothing else is defined in the Settings) is a table row. If you did not change these, you should use something like:

<tr><td colspan="3">[PENCIL]<div style="visibility: hidden;">[FORMITEM]</div></td></tr>

Best wishes
Michael

 


Michael Tobisch
New Post
 6/8/2009 10:21 PM
 
Re: Default Value: Checkbox  (United States)

Michael,

This solution works perfectly; thank you.

While we're still developing our first helferlein_Form and it's not ready to showcase, the module is performing well, and your support is excellent. It's time for me to make a donation for the further development of h_Form.

Previous Previous
 
Next Next
ForumForumhelferlein_Supp...helferlein_Supp...helferlein_Form...helferlein_Form...Default Value: CheckboxDefault Value: Checkbox

Print  
Donations

Wenn Sie die hier verfügbare Software für nützlich halten und einsetzen möchten, bitten wir Sie, sich beim Programmierer mit einer Spende zu bedanken. Spenden werden verwendet, um die Software weiterzuentwickeln und in das DNN Review-Programm einzureichen.

If you find any of the free software on this web site useful we encourage you to make a donation to the programmer. Donations will be used to to further develop the software and to join the DNN Review Program.

Copyright © 2007 by Michael Tobisch   Terms Of Use  Privacy Statement