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
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
Read-Only for Email field in "Submission Accounts" module - 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: Read-Only for Email field in "Submission Accounts" module (/showthread.php?tid=1646)



Read-Only for Email field in "Submission Accounts" module - aningbo - Sep 20th, 2011

is it possible to make the email field or one of the fields, read-only like that of ID when using the "submission accounts" module?


RE: Read-Only for Email field in "Submission Accounts" module - aningbo - Sep 20th, 2011

Also, i have checkboxes with "Yes/No" options in the actual form.

how do i retain this checkboxes in the "Submission Accounts" module? All the fields have been auto converted to "text" field by default.




RE: Read-Only for Email field in "Submission Accounts" module - Ben - Sep 20th, 2011

Hi Aningbo,

Quote:is it possible to make the email field or one of the fields, read-only like that of ID when using the "submission accounts" module?

Sure, no problem. This is actually controlled by the View. Just edit the View that you're using for the Submission Accounts (often, you might find you want to create a separate View so any changes you make will only affect that module). In that View, go to the Edit View -> Fields tab and uncheck the "editable" column for the email field.

Then, when the user logs in, they'll only see the email field and not be able to edit it.

Quote:Also, i have checkboxes with "Yes/No" options in the actual form. how do i retain this checkboxes in the "Submission Accounts" module? All the fields have been auto converted to "text" field by default.

That's weird! How was the form added? Through the Add Form process? That should have identified all your form fields and assigned the appropriate types.

But no matter, you can always edit the types now.
1. On the Edit Form -> Fields tab, change the field types for each field to map the original fields in your form and click "Update" at the bottom of the page.
2. For the radio button, checkbox & dropdown fields, click the appropriate edit icon. That will open a dialog where you edit all the aspects of the form field.
3. In the dialog, click on the second tab, and for the "Option List / Contents" row, click "Create Option List >>". That will take you to a page where you define the list of contents in the radio buttons group ("Yes" / "No").

Once all that's done, the Submission Accounts form will contain all the right fields.

Hope this helps!

- Ben


RE: Read-Only for Email field in "Submission Accounts" module - aningbo - Sep 20th, 2011

Thank you for the very quick response. I got the editable fields working Smile Smile

as for the second part, i couldnt get it to work. I don't see the option to Create Option List >> and i'm getting this error in the frontend of the user, "This field isn't assigned to an Option List." I'm attaching the screenshot, just in case if i miss out something or i'm in the wrong area!

I really appreciate your time and help. Thanx again Smile


RE: Read-Only for Email field in "Submission Accounts" module - Ben - Sep 20th, 2011

Oops, sorry! I forgot that there isn't a link there when there are no Option Lists defined.

In that case, just click on "Option Lists" in the left nav. There, create a new one called "yes/no" that contains two rows: "yes" and "no" (just enter "yes" and "no" for both the value & display values).

Then return to the Edit Form -> Fields tab, edit the field and go to the second tab. Then, you'll see the Option List you just created and will be able to assign it to your field.

All the best -

Ben


RE: Read-Only for Email field in "Submission Accounts" module - aningbo - Sep 20th, 2011

WOw!! That simple Smile Smile

Thank you so much. You are awesome dude \m/