WebSite X5Help Center

 
I. Ramshaw
I. Ramshaw
User

Need help with email object  en

Autor: I. Ramshaw
Visitado 2309, Followers 1, Compartido 0  

I am using Website X5 Version12.

Is there a way to set default values for field values in the email form ? I have a form with several multi-choice and single choice options and text inputs. I do not really want to make them all mandatory but if the user makes no selecttion the page generates email php errors for every field with no value when user submits the form.

Errors like this...

Notice: Undefined index: imObjectForm_1_1 in /clientdata/apache-www/b/o/bodyguardsafety.com.au/www/imemail/imEmailForm.php on line 5

Notice: Undefined index: imObjectForm_1_2 in /clientdata/apache-www/b/o/bodyguardsafety.com.au/www/imemail/imEmailForm.php on line 6

Notice: Undefined index: imObjectForm_1_3 in /clientdata/apache-www/b/o/bodyguardsafety.com.au/www/imemail/imEmailForm.php on line 7

Notice: Undefined index: imObjectForm_1_6 in /clientdata/apache-www/b/o/bodyguardsafety.com.au/www/imemail/imEmailForm.php on line 10

Notice: Undefined index: imObjectForm_1_7 in /clientdata/apache-www/b/o/bodyguardsafety.com.au/www/imemail/imEmailForm.php on line 11

Another issue is that when I change the "Label" colour in the style Tab, ALL labels AND text change to the colour, I cannot just change attributes of the Field Label only.

Publicado en
3 RESPUESTAS
Paul M.
Paul M.
Moderator

Hello David,

Strictly speaking those are not PHP errors: they are notices, or warnings if you like.  They won't stop the form from operating correctly, although they will of course interfere with the display of your web page.  You can suppress them by asking your webhost to change (i.e. reduce) the level of PHP error reporting on your server.  Otherwise you would have to remove some non-critical fields, else set all fields as mandatory.

There is no way to set default field values for the Email Form in WebSite X5, nor customise the form colours to the extent you specify.

I would encourage you to open an 'Idea' post so that the developers can take your requests into consideration for future releases of the software.

Kind regards,

Paul

Leer más
Publicado en de Paul M.
I. Ramshaw
I. Ramshaw
User
Autor

Thanks for the response.

Why does the editor for email field styles have colour options for the field LABEL and the field CONTEN. If they cannot be changed indepedndantly, why not have simple Colour option for "Field". Having the 2 independent controls is confusing when they BOTH change the Label AND content.

Leer más
Publicado en de I. Ramshaw
Paul M.
Paul M.
Moderator

You should be able to change label and field text content colour independently, and have differing colours for both.  I don't experience the issue you describe in version 12.0.8.29

My earlier comment regarding customisation of the colours was intended to highlight the fact that the changes are global, and will affect all labels and fields, rather than individual labels and individual fields.

However, the label colour setting should not influence the field text colour setting, and vice-versa.

If this is happening on your own machine then we may need to ask Incomedia to investigate.

Leer más
Publicado en de Paul M.