Support » Plugin: SpeakOut! Email Petitions » Custom Field integrated customization, signature list comment field, CSV comment

  • Integrated solution

    RE: Custom Field (not custom message)

    1. I edited the “emailpetition.php” to allow for a lengthy comment

    <input name=”dk-speakout-custom-field” id=”dk-speakout-custom-field-‘ . $petition->id . ‘” maxlength=”3000″ type=”text” />

    I want the custom field to be able to scroll, or expand, to allow user to see lengthy comment as it is entered with no (; : bullets or number character issues either). How do I do this?

    2. RE: signature list

    I would then like to adjust the comment length on the signature list; or be able to add a “more…” to indicate there’s allot more text to the comments and the viewer can expand the field

    RE: CSV Comment Field length

    3. How do I enter how much copy can be transferred from the Custom Field to the CSV?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kasco15

    (@kasco15)

    I’m checking in, I have many people waiting on me getting this done. The priority is that when I copy and paste more that the amount you see in signature 4, it won’t submit the signature. It says the signature was submitted, but doesn’t actually process.

    Plugin Author 123host

    (@123host)

    1. I edited the “emailpetition.php” to allow for a lengthy comment

    <input name=”dk-speakout-custom-field” id=”dk-speakout-custom-field-‘ . $petition->id . ‘” maxlength=”3000″ type=”text” />

    I want the custom field to be able to scroll, or expand, to allow user to see lengthy comment as it is entered with no (; : bullets or number character issues either). How do I do this?

    I am not sure what you mean by wanting it to be able to scroll. You mean when it is displayed in the signature list or in the dashboard or where? Give me more details on what you would like to see and where.

    Sorry, but I am not willing to apply a text filter to that field. If I did that it would be a matter of days before someone complained that it wasn’t showing all characters. 😛

    There is no reason you couldn’t add some javascript to do that for you. Yes, it might be lost with upgrades, but if you write it properly, it will be easy to reinstall.

    2. RE: signature list

    I would then like to adjust the comment length on the signature list; or be able to add a “more…” to indicate there’s allot more text to the comments and the viewer can expand the field

    I thought it did that already. Are you talking about if someone edits the petition itself and it is then displayed in the signature list? If not, can you please clarify what you mean by “comment”

    RE: CSV Comment Field length

    3. How do I enter how much copy can be transferred from the Custom Field to the CSV?

    I understand this to mean that if there was 3000 characters in custom field, you might only want 1000. You can’t do that as part of the export. But you can do it once you have the CSV by importing it into a spreadsheet programme and then formatting that column to have the specific length that you are after.

    Word of warning. If you have made the custom field 3000 characters long like in your code above, be sure to adjust the size of the database field dk_speakout_signatures.custom_field or you are only going to save the first 400 characters.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Field integrated customization, signature list comment field, CSV comment’ is closed to new replies.