iftechfoundation / ifdb-suggestion-tracker

Bugs and feature requests for a future IFDB update
10 stars 0 forks source link

size or maxlength attribute for review titles? #394

Open andrewschultz opened 11 months ago

andrewschultz commented 11 months ago

The following code seems to flag if we type in a title over 80 letters long.

   <b>2. Give your review a title:</b><br>
        <input type="text" size=80 name="summary" id="summary" value="<?php
            echo htmlspecialcharx($summary) ?>">

But I've seen text boxes that don't let you go over 80 letters, period.

A quick google indicates maxlength=80 may make it so we can't go over 80 characters.

I don't know how to build the IFDB website even though I have the repo locally, so I can't check this.

But it might be nice to have, because I've gone over 80 letters before, and I didn't find out until I hit the "preview" button. And it would be a nice convenience to know right away.