This topic is locked
[SOLVED]

 register.php

5/31/2005 3:35:55 PM
PHPRunner General questions
pplaut author

Hi,

I am trying to create a self registration page in which the user can fill in all the blanks for the database.
The problem I have is there is no PHPRunner way I can see to modify the field labels and to have the email sent to the end user reflect those changes.
The other problem is there is no way to inform the user which fields are required to fill in.
Besides, with the raw field titles, it just looks ugly. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1480&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />
It looks like I could do this by hand, but before I start, I was just wondering if this is going to be a feature in PHPRunner in the NEAR future.
Thanks

Peer

Sergey Kornilov admin 6/1/2005

Peer,
thank you for sharing your ideas!

We'll improve registration functionality in one of the following versions of PHPRunner.

pplaut author 6/2/2005

Is this where I modify the lable for the register.php script?
I think this is for the "email" to the end user

snippet below....
$label = "address_city";

$message.=$label.": ".$userinfo[$ind++]."\r\n";
Would then become????

$label = "City";

$message.=$label.": ".$userinfo[$ind++]."\r\n";
and this is for the form??
<td align=right width="50%">

<div align="left"><?php echo "member_last_name"; ?>:</div>

</td>

<td width="50%">

<input type=text name="userinfo<?php echo $ind;?>" value="<?php if(isset($userinfo[$ind])) echo htmlspecialchars($userinfo[$ind]);?>" >

</td>
would then become?
<td align=right width="50%">

<div align="left"><?php echo "Last Name"; ?>:</div>

</td>

<td width="50%">

<input type=text name="userinfo<?php echo $ind;?>" value="<?php if(isset($userinfo[$ind])) echo htmlspecialchars($userinfo[$ind]);?>" >

</td>
Thanks for your ideas.

Peer

Sergey Kornilov admin 6/3/2005

Peer,
yes, these code snippets are used for for email and display form.