Image properties dialog giving "IDs can contain only letters and numbers..." error

Last post 11-02-2011, 11:48 AM by ivanb. 2 replies.
Sort Posts: Previous Next
  •  11-01-2011, 4:09 PM 70800

    Image properties dialog giving "IDs can contain only letters and numbers..." error

    My image IDs look like these: image_sales, image_support, etc.  Whenever I popup image's properties dialog and try to edit any of the fields it gives me "IDs can contain only letters and numbers, and must not contain spaces." error. According to:
    http://www.w3.org/TR/html4/types.html#type-id
    underscore is a valid  ID character.
    Is there a way  to customize the validation of the inputs or at least make it ignore this error?
     
    Thanks.
  •  11-02-2011, 7:47 AM 70880 in reply to 70800

    Re: Image properties dialog giving "IDs can contain only letters and numbers..." error

    Hi ivanb,
     
    Please try the way below.
     
    1. Open file "CuteSoft_Client\CuteEditor\Scripts\Dialog\Dialog_Tag_Image.js "
     
    2. Find section below and delete it
     
    if(Ox375.test(inp_id.value)){alert(OxO4e06[47]);return ;} ;
     
    Regards,
     
    Ken
  •  11-02-2011, 11:48 AM 70921 in reply to 70880

    Re: Image properties dialog giving "IDs can contain only letters and numbers..." error

    Hi Ken,
    this fixed the problem.
     
     Thank you.
View as RSS news feed in XML